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, 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.
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.
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
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..
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.
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!!!
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
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.
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.