Results 1 to 6 of 6

Thread: Moving VB program to new PC (have ST6UNST)

Hybrid View

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

    Re: Moving VB program to new PC (have ST6UNST)

    Marty's suggestions are definitely the easiest ways to go, but you might be able to get it working if neither of those options are valid.


    Note that this is not guaranteed to work (it may even mess up other programs), and will probably take over an hour.

    The easy part is install the VB6 runtimes, which you can get here: http://support.microsoft.com/kb/290887

    The next step (which will take much longer) is to set up all of the dependencies for the program. To do that, ignore the text up to "NOTE: Now spawning the main Setup program 'Setup1.exe'....", and for each of the files after that (apart from MSVCRT.DLL which you should ignore), do the following:
    • Copy the file to a temporary folder on the new computer.
    • Check if the file already exists on the new computer - check the path shown in the log first, and if it isn't there do a search.
    • If the file does exist already, right-click on it and select Properties. Make a note of the Version number and compare it to the file you copied.
      • If the one you have copied has got a lower (or equal) version number, simply delete the copy - and stop here (the file is already fully set up).
      • If the one you copied has a higher version number, use RegSvr32 to unregister the existing one, and then delete the existing file
    • Move the copy to where the existing one was (or if it didn't exist, to the folder shown in the log).
    • Use RegSvr32 to register it.


    Note that this was just written into my web browser, and has not been tested - so I may have missed/forgotten something.

  2. #2

    Thread Starter
    New Member
    Join Date
    Jan 2009
    Posts
    4

    Re: Moving VB program to new PC (have ST6UNST)

    Quote Originally Posted by si_the_geek
    Note that this is not guaranteed to work (it may even mess up other programs), and will probably take over an hour.

    *snip*

    Note that this was just written into my web browser, and has not been tested - so I may have missed/forgotten something.
    Thanks alot for your suggestion, I will try this out tomorrow on a PC that I can reformat if it doesnt work (so if it does mess up some programs then it will be no harm). I wasn't sure how to register the DLL/OCX files so your instructions and mention of RegSvr32 are very helpful.

    I'll give this a try out and post back, thank you!!!!

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