|
-
Nov 13th, 2000, 11:24 AM
#1
Thread Starter
Lively Member
Hi,
I want to know one thing as
Suppose that i have developed a VB Application which is working with Access Database ie,suppose that my application and database are in c:\Test and my database name is "db1.mdb".Now when i make Package & Deployment Wizard and install the same on some other machine will the database with which iam working("db1.mdb") will be installed in that machine or we have to copy the database to the particular location (ie,c:\Test) manually.???
If anyone can explain me about this,i will be very much thankful
Regards
-
Nov 13th, 2000, 11:38 AM
#2
Fanatic Member
Hi anilgoje,
When you are using the P&D Wizard to create the Setup for your application, there is an option to include additional files. I don't remember exactly what step it is, but at this point, you can specifiy your Access DB and it will be included in the setup of your program. Once your application is installed, the Access DB should be in its proper location (i.e. "c:\test").
If you don't specify the Access DB in the P&D Wizard, you will have to manually include your Access DB in the "test" directory.
The best thing to do is to test out the installation on your own PC after creating the Setup with the P&D Wizard to make sure that everything is as you want it.
All the best.
-
Nov 13th, 2000, 11:56 AM
#3
Thread Starter
Lively Member
Thanks OneSource....
Hi OneSource,
Thank you very much for your solution.It worked..That's what i need.
Thanks alot!!!
-
Nov 13th, 2000, 02:33 PM
#4
what if i want users to choose database...
In the case i want users to choose database.....
i create common dialog box and let users to choose database.
but when i set up my VB application (which was made with Application Set up Wizard) in another computer, i am getting error "Active X component can't create object" when i tried to open database.
i spent 1 week, but still i haven't figured it out.
Do you have any thought?
Thank you very much in advance!
KAZ
-
Nov 13th, 2000, 03:45 PM
#5
Black Cat
From my experience, the "Active X component can't create object" error is from the computer missing an ActiveX .dll. If the path to the file changed, I would guess you would get a "file not found" or similar error.
Josh
-
Nov 13th, 2000, 04:59 PM
#6
do i have to install .dll manually ???
Hi, Josh!
so, i have to install missing .dll manually???
one simple question came up with me.
do i have to have Visual Basic and Access ( I am using Access database for my project) in the computer which i try to install?
Thanks!
Kaz
-
Nov 13th, 2000, 05:07 PM
#7
Fanatic Member
Kaz,
If you use VB's Package and Deployment Wizard, the Setup.exe that's created will have all of the necessary DLL files needed to run your app on someone else's PC. They don't need to have VB or Access installed. But you will have to include the Access DB itself when you're creating the Setup for your application with the P&D Wizard (please see my reply to anilgoje earlier in this same post for further instructions).
All the best.
-
Nov 13th, 2000, 05:16 PM
#8
Hi!
OneSource!
Ok, i don't have to install VB and Access. but...
My project is letting users to select database, therefore i can't add Access DB to my setup file.
I used Setup Application Wizard (shipped with VB5) to create setup file.
then when i try to run it in other computer, i am getting error. "Active X component can't create object"
do you have any idea?
Thank you,
KAZ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|