Wrox Programmer Forums
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 21st, 2007, 02:07 AM
Authorized User
 
Join Date: Jun 2007
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ivanlaw Send a message via Yahoo to ivanlaw
Default Urgent :VB

Hi all Pros,
Why still got error after I make a program to become a .exe file?

The error as below:
Run-time error '-2147467259(80004005)':
Could not find file 'C:\Program Files\Project 1\data.mdb'.

I use Microsoft visual basic 6.0 to do it.Please teach me...

Thank you.

 
Old August 21st, 2007, 07:25 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Did that file exist???

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old August 21st, 2007, 01:46 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Ivan,

You should select topics that relate to the actual problem you want help iwth. “Urgent :VB” (syntax ntwithstanding) is not really a problem, it is a domain.
 
Old August 22nd, 2007, 01:55 AM
Authorized User
 
Join Date: Jun 2007
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ivanlaw Send a message via Yahoo to ivanlaw
Default

After I install the .exe file the database not in the program file.
Why it will happen???I do not know please tell me,because I never face it before.

Thank you.

 
Old August 22nd, 2007, 08:33 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

no database is inside the exe you compile.. you have to make an installation program that send the database as well as any other related file...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old August 22nd, 2007, 08:41 PM
Authorized User
 
Join Date: Jun 2007
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ivanlaw Send a message via Yahoo to ivanlaw
Default

I already link up the database and try the program already can run.And all the thing I put in a folder already.After that I just compile and install it , but the result is can not find the database.Why it will happened???Please teach me...
Got any method to solve it???

Thank you.

 
Old August 22nd, 2007, 08:54 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

is the database where is supossed to be??

are you using the file exe path to search for the database or you just write the path yourself??

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old August 23rd, 2007, 01:56 AM
Authorized User
 
Join Date: Jun 2007
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ivanlaw Send a message via Yahoo to ivanlaw
Default

I using the "App.Path" to link up ones.So is that will occur the problems???

Thank you.

 
Old August 23rd, 2007, 07:34 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

can you define install?? what are you installing?? are you using a third party setup program, using the P&D or something else??? or just copying the files?



HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old August 24th, 2007, 03:45 AM
Authorized User
 
Join Date: Jun 2007
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ivanlaw Send a message via Yahoo to ivanlaw
Default

Actually the error is not same, but come the end become same.So I post the error I face on both topic sometime.Sorry about that.
I used the package & deployment wizard of the visual studio 6.0 to build my program to become a .exe file.But I still meet the error which is "53" the file not found after I install the .exe file into my computer.Or you got another software which is freeware ,can let me solve the problem and make my visual basic program to become a .exe file,please let me know...

Waiting for your advice.Thank you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent: Excel and Vb 6.0 ivanlaw Pro VB 6 5 October 22nd, 2007 03:34 AM
Urgent:VB coding ivanlaw Pro VB Databases 9 September 7th, 2007 07:06 AM
Urgent :VB 6 and Database ivanlaw Pro VB Databases 10 August 23rd, 2007 07:35 AM
New to VB/Database (Urgent) FrancisEnem VB Databases Basics 3 December 11th, 2006 03:11 PM
urgent (in vb.net) renjininair_2000 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 12 March 31st, 2006 11:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.