Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

runtime error -2147467259(80004005)

Status
Not open for further replies.

kamskate

Programmer
Mar 8, 2010
1
0
0
IN
my front end id vb6 and back end is ms access. i have project and .mdb on d:\ drive subdirectory. i have coplied this subdirectory on c:\drive and start running my project.vbp and have runtime error -2147467259(80004005)invalid path file not found. i have connectivity with App.path + "\filename.mdb" . so the application should search the .mdb in application path itself but it is serarching path of file on d:\ drive and firing runtime error as above becoz it is not getting .mdb on d: drive


please i nedd help so i can copy my project on any drive and run smoothly

 
First off, it should be App.Path & "filename.mdb". As for your problem, I'm betting that somewhere you have it hard coded but it is kind of hard to tell without seeing your actual code...



Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top