Results 1 to 3 of 3

Thread: Please help with VB6 program install problem.

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    1

    Exclamation

    I recently made a program in VB6, everything compiled fine and works as exe on my machine. But when packaged and then attempted to be installed on any computer it gives an error (sometimes three in a row, entailing a “warning” description) and then asks the system to restart before installing my program. After the restart the program will install and works fine.

    My program consists of only one ocx. which is a systems tray ocx. it is only one form with one webbrowser. And within the code I have ping, and a write to start up menu" code.

    My question is, how do I eliminate the restart, I feel that this would deter most people from using my program....I have tried to search deja.com and all of Microsoft and I have not been able to find anything that could be of assistance. If anyone knows what I could try or has had a similar problem please let me know.

    Thank you,
    Tom

  2. #2
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386
    You need to reboot because of the VB ruintime dll and the OLE dll's. Since they are in use by Windooz, you have to reboot in order to let windows replace those dll's.
    Hope this helps

    Crazy D

  3. #3
    New Member
    Join Date
    Apr 1999
    Posts
    13
    You shouldn't get this problem on Windows 98 or NT4. I have had the same problems with installing on Win95.

    The problem is to do with one of the OLExxx.Dlls as it is always in use by windows.98 and NT have the later versions I believe.

    The only way round it is to go back to VB 5 as this installs ok.

    This will only happen the first time someone installs a VB6 app, but some of the new apps from Microsoft contain the new Dlls also. ( I think IE5 does!) so you could be lucky.

    Besides that, Just explain to the users that they may be required to reboot during install, and that will keep them happy. A Lot of programs now require this anyway, so it will make your program look professional!!!

    HTH

    Ell

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