Results 1 to 8 of 8

Thread: Question on Installing VB Application

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    Chicago
    Posts
    97
    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
    Anil

  2. #2
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    Post

    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    Chicago
    Posts
    97

    Thanks OneSource....

    Hi OneSource,
    Thank you very much for your solution.It worked..That's what i need.

    Thanks alot!!!
    Anil

  4. #4
    Guest

    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

  5. #5
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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

  6. #6
    Guest

    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

  7. #7
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    Post

    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.

  8. #8
    Guest
    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
  •  



Click Here to Expand Forum to Full Width