Hi everyone, You can try this if you encounter the same issue as me. = LNK2001 unresolved external symbol Main, add this to the cpp file of your ui form and try that. using namespace System; using namespace System::Windows::Forms; [STAThreadAttribute] void Main(array^ args) { Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); ProjectName::FormName form; Application::Run(% form); } then save and restart visual studio or close and reopen the form. I hope this works. It worked for me.
Overall, great video but you should really think about displaying the entire code, this made it extremely follow along and took a lot longer. Me being a new coder, looking to use practical application as way of learning, really struggled.
Hey, how do I connect to a MySQL server that is not located on my local machine? I need to connect to a MySQL server located on an ubuntu server. Please help, you do great tutorials.
Sir . I copied your code in ms visual studio but it all process run but when i enter data (any) it print only "failed to connect database" ... Plz guiede ...
Hey there, Kudos to your great efforts. I have a general enquiry as i am a totally sql noob. I want to design a form that would be connected to a database server. Where shall this form template be designed? Visual studio, sql management studio.. Is their any form builder tool that you would recommend me to use.. Thanks a lot..
in standard c++, you create a pointer like this: Person *p1 in dotnet c++, we have managed types in addition to standard c++ types. we create a pointer to a managed type using ^: Person ^p1 So if you want to create a pointer to a standard C++ type, you use *. But if you want to create a pointer to a managed C++ type, you use ^ instead.
Hello, I installed MySQL Server 8.0 I followed all of us steps but I can not create a new Data bank, i can not find the local and instance name. I tried services.msc but i get"SQL Server VSS Writter" without ( ), I really don´t know, can U please help me? I´m like stucked
I followed the video exactly but after running it I got the message: ''Unable to start program 'C:\User\TCP\source epos\Project1\x64\Debug\Project1.exe' The system cannot find the file specified'' Please guide me!!!
Thanks for sharing a useful video. And I have a question. When I add a MessageBox::Show() then I got an error "no instance of overloaded function System::Windows::Forms::MessageBox::Show" matches the argument list.
This means you did not provide the required parameters to MessageBox::Show() - either you have a missing parameter or an extra parameter or you provided different parameters than those required.
Hey, so I encountered a problem with the "try" part. It seems as if the "command" doesn't get data from email and password AND the try ends at line 183 where reader doesn't get data from command. Did you add any libraries or something like that? I really need your help, because my project is due in 2 days.
I think your application did not succeed to connect to the database. Please check if your server is running and that the connection string is correct. You can modify the source code of the catch and show a message using ex->Message
I am new to C++ and VS, so this video is immensely helpful...Thanks!
This man is very clear
youre tutorial really help me a lot
Thanks man, you are a great man! Super video and help me to learn C++....
Hi everyone, You can try this if you encounter the same issue as me. = LNK2001 unresolved external symbol Main, add this to the cpp file of your ui form and try that.
using namespace System;
using namespace System::Windows::Forms;
[STAThreadAttribute]
void Main(array^ args)
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
ProjectName::FormName form;
Application::Run(% form);
}
then save and restart visual studio or close and reopen the form.
I hope this works. It worked for me.
SO GOOD THANKS ALOT
Thanks, Man
Overall, great video but you should really think about displaying the entire code, this made it extremely follow along and took a lot longer. Me being a new coder, looking to use practical application as way of learning, really struggled.
Hey, how do I connect to a MySQL server that is not located on my local machine? I need to connect to a MySQL server located on an ubuntu server. Please help, you do great tutorials.
thank u, how can i see the list of users or the ppl?
Sir . I copied your code in ms visual studio but it all process run but when i enter data (any) it print only "failed to connect database" ...
Plz guiede ...
If you are using SQL Server it might be for the connString, try to only copy the path until "Integrated Security=True;", that worked for me
I have error at loginform 'system.windows.forms.form' could not loaded please help
Hey there,
Kudos to your great efforts.
I have a general enquiry as i am a totally sql noob.
I want to design a form that would be connected to a database server.
Where shall this form template be designed? Visual studio, sql management studio..
Is their any form builder tool that you would recommend me to use..
Thanks a lot..
When i press the OK button, the program terminates. Even though i did everything right. What should i do?
bro. why does you use this symbol ^ after the data type ???
also in the main (array^ args) ...what is the meaning of this symbol ??
in standard c++, you create a pointer like this: Person *p1
in dotnet c++, we have managed types in addition to standard c++ types. we create a pointer to a managed type using ^: Person ^p1
So if you want to create a pointer to a standard C++ type, you use *. But if you want to create a pointer to a managed C++ type, you use ^ instead.
@@BoostMyTool thank you bro
Hello, I installed MySQL Server 8.0 I followed all of us steps but I can not create a new Data bank, i can not find the local and instance name. I tried services.msc but i get"SQL Server VSS Writter" without ( ), I really don´t know, can U please help me? I´m like stucked
Hello, in this video I used Microsoft SQL Server (not MySQL). You can install SQL Server express. The example of this video does not work with MySQL
Thank you for sharing. Can I convert my existing website using html, css & Javascript into Create CLREmpty c++ project?
I don't think so
I followed the video exactly but after running it I got the message: ''Unable to start program 'C:\User\TCP\source
epos\Project1\x64\Debug\Project1.exe'
The system cannot find the file specified''
Please guide me!!!
found solution ?
good job....
All the items in my toolbox are greyed out
Thank you
Done Alham Dulli Allah
I get the error "Internal compiler error C1001." can anyone tell me how to fix it, thanks
Thanks for sharing a useful video. And I have a question.
When I add a MessageBox::Show() then I got an error "no instance of overloaded function System::Windows::Forms::MessageBox::Show" matches the argument list.
This means you did not provide the required parameters to MessageBox::Show() - either you have a missing parameter or an extra parameter or you provided different parameters than those required.
@@BoostMyTool Yeah! I found it. I missed the Caption para.
Thanks a lot
Hey, so I encountered a problem with the "try" part.
It seems as if the "command" doesn't get data from email and password AND the try ends at line 183 where reader doesn't get data from command.
Did you add any libraries or something like that? I really need your help, because my project is due in 2 days.
I think your application did not succeed to connect to the database. Please check if your server is running and that the connection string is correct.
You can modify the source code of the catch and show a message using ex->Message
@@BoostMyTool Thank you very much. This helped me a lot. I had some type in my "select" part.
How do you know what server name you are on?
Cant follow.all code please show all the code when showing us.
Hi Team,
How can I convert all this into a link so that when I search on bar it will direct me to website?
you cant
tounsi ?
how to know my server name
you can see this video ruclips.net/video/As94gLorayE/видео.html
When I provide the correct email and password, The code in catch (Exception^ e) was executed. How can I solve this???
i have the same problem now
I am running into the same issue. Any response to this?
Any solution to this problem.
i am facing the same issues i know im late but please please can you tell me if you were able to solve it please