How do you choose best company for android app development?
Amyrivers - Oct 17 2017 01:24 AM
Include a specific error, task, problem, or question in your title
Kriss - Sep 27 2017 03:42 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
App.Path Error when Compiled
Posted 01 June 2006 - 07:59 AM
strDBPath = App.Path
If Right(strDBPath, 1) <> "\" Then
datAgents.DatabaseName = App.Path & ".\IPM-DB.mdb"
I use this to find my MS Access DB file. When I use the Package & Deployment wizzard and install the program on the same PC where my Visual Studio is installed I don't get any errors.
When I install it on another PC WITHOUT Visual Studio installed I get the error:
"Provide cannot be found. It may not be properly installed". I almost smacked my screen off the desk. I remember this error from 3 years ago when I use code in VB a lot.
Is this because I havn't installed DotNet SDK 1.1 on the other PC?
I know the piece of code I pasted above is the reason for the error, coz if I remove it and set the databasename/connectionstring to C:\Program Files\IPM\, i don't get no errors. This is not good coding so I don't wanna do it.
Posted 01 June 2006 - 10:38 AM
What version of Visual Basic are you using? It looks like 6.0.
Posted 06 September 2007 - 10:05 AM