| | |
"please enter ms jet ole db initialization information"
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Hi,
I have created a project using MS Access db its working fine except one. A dialogue box opens up when running its exe, saying "Please enter MS JET OLE DB initialization information."
But I have provided all the DB connection information and other related information at runtime during initialization of the first form itself.
What am i supposed to do to correct it?
Please help.
I have created a project using MS Access db its working fine except one. A dialogue box opens up when running its exe, saying "Please enter MS JET OLE DB initialization information."
But I have provided all the DB connection information and other related information at runtime during initialization of the first form itself.
What am i supposed to do to correct it?
Please help.
•
•
Join Date: Mar 2009
Posts: 907
Reputation:
Solved Threads: 167
What are you supposed to do to correct it...
Step through the code with F8 to find out where the dialog box is being spawned from. Then check that connection string with the rest of your connection strings (if you have more than one connection string) to see if there is a difference. Check the help files and see what it says and if necessary check www.connectionstrings.com.
I'm betting that the offending connection string has a true value where there should be a false value or the adPrompt(spelling) value set when it should be adNoPrompt(spelling).
NOTE: (Spelling) off the top of my head may be other constants but I hope that you get what I'm trying to say.
Good Luck
Step through the code with F8 to find out where the dialog box is being spawned from. Then check that connection string with the rest of your connection strings (if you have more than one connection string) to see if there is a difference. Check the help files and see what it says and if necessary check www.connectionstrings.com.
I'm betting that the offending connection string has a true value where there should be a false value or the adPrompt(spelling) value set when it should be adNoPrompt(spelling).
NOTE: (Spelling) off the top of my head may be other constants but I hope that you get what I'm trying to say.
Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.
Thanks
Thanks
![]() |
Similar Threads
- Capturing "Enter" key event in C# windows application (C#)
- Replacing "Enter" in textBox (ASP.NET)
- How To Set Path In Visual Basic 6 (Visual Basic 4 / 5 / 6)
- Trojan Horse - HELP PLEASE (Viruses, Spyware and other Nasties)
- reading a char from keyboard without pressing "Enter"??? (C)
- "enter" event (C#)
- why i have to press "enter" twice before getline can read the string... (C++)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Noob needs help with "if"
- Next Thread: Find out the open applications.
Views: 792 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





