Oct 25, 2008 #1 beautieee Programmer Joined Oct 4, 2008 Messages 46 Location MY Is that possible to create 2 connection at the same time? Tried but failed. Seeking for help and advise. Thank you very much. Regards, Beautieee
Is that possible to create 2 connection at the same time? Tried but failed. Seeking for help and advise. Thank you very much. Regards, Beautieee
Oct 25, 2008 #2 Andrzejek Programmer Joined Jan 10, 2006 Messages 8,581 Location US Are you talking about 2 connections to the same database (if so, why?) or connections to, let's say Oracle and SQL? Have fun. ---- Andy Upvote 0 Downvote
Are you talking about 2 connections to the same database (if so, why?) or connections to, let's say Oracle and SQL? Have fun. ---- Andy
Oct 25, 2008 #3 JoeAtWork Programmer Joined Jul 31, 2005 Messages 2,285 Location CA Connection to what? Database, serial port, USB port, printer, network, etc...? Post your code. Tell us exactly what error message you got, and on what line. Joe Schwarz Custom Software Developer http://www.plandev.net Upvote 0 Downvote
Connection to what? Database, serial port, USB port, printer, network, etc...? Post your code. Tell us exactly what error message you got, and on what line. Joe Schwarz Custom Software Developer http://www.plandev.net
Oct 25, 2008 Thread starter #4 beautieee Programmer Joined Oct 4, 2008 Messages 46 Location MY Thank you for your reply. Im trying to create 2 database connection from 2 different database or server. I had another test and it worked. Regards, Beautieee. Upvote 0 Downvote
Thank you for your reply. Im trying to create 2 database connection from 2 different database or server. I had another test and it worked. Regards, Beautieee.
Oct 27, 2008 #5 pungy Instructor Joined Aug 5, 2007 Messages 71 Location US Problem Resolved: In the Form_Load event of the first form I put this code: Code: If App.PrevInstance = True Then MsgBox "This program is already running!", vbCritical, "All Ready Loaded Error" End End If Thanks to everone for their help. Upvote 0 Downvote
Problem Resolved: In the Form_Load event of the first form I put this code: Code: If App.PrevInstance = True Then MsgBox "This program is already running!", vbCritical, "All Ready Loaded Error" End End If Thanks to everone for their help.
Oct 27, 2008 #6 pungy Instructor Joined Aug 5, 2007 Messages 71 Location US Sorry, I posted the above under the wrong thread. Upvote 0 Downvote