Answer the question
In order to leave comments, you need to log in
The data required to complete this operation is not yet available. (Exception from HRESULT: 0x8000000A), how to fix?
I create an empty CLR project, add WindowsForms, but I see the following error.
I've searched the forums and haven't been able to find a definitive answer.
How do I switch to the visual editor?
Answer the question
In order to leave comments, you need to log in
Solution:
Create an empty CLR project.
Adding a form.
Open the tab
Write this in the form_name.cpp file
#include "имя_формы.h"
#include <Windows.h>
using namespace Имя_Вашего_Проекта;
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
Application::Run(gcnew MyForm);
return 0;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question