|
Well, it can't be Prince, because he's past tense.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
BillWoodruff wrote: the movie, yes, was moved by that in spite of its abuse of women, and creepily narcissistic qualities.
And of course, the bit where it's a trail bike with a Harley engine sound dubbed over the top...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
MySqlConnection^ con =gcnew MySqlConnection("server=localhost;port=3306;userid=root;password=themohal123;database=myfirstdb");
try
{
con->Open();
MessageBox::Show("Connection Successful");
con->Close();
}
catch (Exception^ ex)
{
MessageBox::Show("Connection Not Successful"+ ex);
}
}
|
|
|
|
|
It informs Microsoft whether or not it has established control of your personal information.
If it hasn't, it moves on to try nastier methods.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
You posted your question in the wrong forum. See that hint in the forum header?: "Technical discussions are encouraged, but click here to ask your programming question."
The code basically only attempts to establish a connection to the MySQL-server using the address and credentials in the connection string and shows a MessageBox telling you whether it succeeded or not.
Next time, please click the big green button "Ask a Question" on the homepage, it will lead you to the correct place to post a programming question.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
i m starter ..thanks for the appreciative replies ..
|
|
|
|
|
You aren't using VB. That's C++ syntax. If you think that's VB , you need to pay more attention in class.
This space for rent
|
|
|
|
|
|
Now, that was funny.
|
|
|
|
|
It is example of harde coded strings and logins in SQL code. In other words very realistic code.
|
|
|
|
|
The fact that you think that's VB indicates that you're a freakin' retard.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
John Simmons / outlaw programmer wrote: The fact that you think that's VB indicates that you're a freakin' retard.
The fact that you think a fresher, 'a retard' just because he mistook a piece of snippet indicates you are a.. genius. :P
Okay take it easy. I haven't said anything wrong.
On the point:
People usually dont get to see managed C++, in particular the UI application code often. Since it's looking quite an event driven, Sql connecting, messagebox showing, and not looking like C# one, the innocent learner thought it's VB.
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
Freshers can be dumb enough to mistake language syntaxes, but shouldnt be up to the level of posting connection strings in public. You are just few steps away to get your machine hacked for free.
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
Hi All,
Odd things are happening...Win 10 did an update I think earlier this morning and it's managed to kill the start button... Time for a restart... Testing!
Glenn
Well restarted and all appears to be working, odd that is the first time I've had Ten tank on me!
|
|
|
|
|
glennPattonInThePUB wrote: did an update I think earlier this morning and it's managed to kill the start button
I thougt that update was called Win 8...
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Win 10 was supposed to Win 8 which works...
|
|
|
|
|
A Win xyz which works? Are you dreaming? No, no, Win is not that bad at all
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Happened to my wife's system the other day; fixed with a restart.
|
|
|
|
|
Oh good it's not just me then!
|
|
|
|
|
My dad had an update last week and it removed the username field when logging in...
He was unable to login as only his password wasn't enough.
He had to format and re-install his computer.
Good thing he had a backup.
Way to go Microsoft
No way in hell I'm switching to Win 10 anytime soon
|
|
|
|
|
Hmmm, I got Win 8 as no one would sell me a Win 7 box so I graded to Win10 as soon as I could. Generally impressed, but if you have 7 there is no real need to upgrade. As with all versions of Windows there are WTF moments...
|
|
|
|
|
glennPattonInThePUB wrote: As with all versions of Windows there are WTF moments Yeah, but no other version of Windows made me do a complete re-install after an update
|
|
|
|
|
glennPattonInThePUB wrote: if you have 7 there is no real need to upgrade But plenty enough reasons not to.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I've only had that happen once, when I updated an nVidia graphics driver without restarting. After a restart, everything was back to normal.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Most of the time it's fine...
|
|
|
|