Results 1 to 3 of 3

Thread: Compiling Problem? Cannot use VB6 program on other Terminal

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2008
    Posts
    20

    Compiling Problem? Cannot use VB6 program on other Terminal

    Hi there…
    I’m using vb6 for an Access Database. I put my access database in one terminal that will act as my server. I compiled my vb6 program and tried it on the server and it works flawlessly. However, when I tried it on other terminal, revised the path of my database on the program and compile so that I can use it remotely on other computers and allow my vb6 program to connect to my database. I think it can connect but there is a problem when I do the querying. It’s searching for some ocx files which I think I used on my program.

    My question is, how can I compile my vb6 program with the ocx files included so everytime I run it on other computers, it will work. Or are there any other ways/ suggestions to do this? Please help. Thanks!

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Compiling Problem? Cannot use VB6 program on other Terminal

    you need to create a setup, using package and deployment wizard ot some 3rd party packaging tool, there is a specific forum for this
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Compiling Problem? Cannot use VB6 program on other Terminal

    Thread moved to Application Deployment forum, which is for questions about installing/distributing your software

    There is an FAQ thread at the top of this forum which contains advice/documentation/etc.

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