Results 1 to 8 of 8

Thread: VB6 QUESTION: VB6 IDE running from USB

  1. #1

    Thread Starter
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,235

    VB6 QUESTION: VB6 IDE running from USB

    So, Assuming this question must have been asked before or someone must have attempted it.

    To get the VB6 IDE running from USB (to allow a developer on the run to code using VB6 on any machine in order to evade his captors), has anyone investigated what changes have to be made to the registry and what other elements need to added to Windows in order to make the VB6 IDE run from USB assuming an installation to the USB was initially successful?

  2. #2
    Fanatic Member Episcopal's Avatar
    Join Date
    Mar 2019
    Location
    Brazil
    Posts
    547

    Re: VB6 QUESTION: VB6 IDE running from USB

    Sorry ... Wouldn't it be better to use a portable vb6? There are programs that do this.

  3. #3
    Fanatic Member TTn's Avatar
    Join Date
    Jul 2004
    Posts
    685

    Re: VB6 QUESTION: VB6 IDE running from USB

    Quote Originally Posted by yereverluvinuncleber View Post
    So, Assuming this question must have been asked before or someone must have attempted it.

    To get the VB6 IDE running from USB (to allow a developer on the run to code using VB6 on any machine in order to evade his captors), has anyone investigated what changes have to be made to the registry and what other elements need to added to Windows in order to make the VB6 IDE run from USB assuming an installation to the USB was initially successful?
    The last time I checked, NanoVB6 worked.
    NanoVB6 file list from Planet source code.
    VB6.OLB
    VB6EXT.OLB
    DAO350.DLL
    MRT7ENU.DLL
    MSO97RT.DLL
    MSPDB60.DLL
    VB6IDE.DLL
    VBA6.DLL
    C2.EXE
    LINK.EXE
    VB6.EXE
    VBAEXE6.LIB
    And finally a registry file ("VB6.REG") which contains keys needed for licensing:
    Learning edition: (without these keys)
    Code:
    ============================================================================
    Windows Registry Editor Version 5.00
    [-HKEY_CLASSES_ROOT\Licenses\74872840-703A-11d1-A3AF-00A0C90F26FA]
    [-HKEY_CLASSES_ROOT\Licenses\74872841-703A-11d1-A3AF-00A0C90F26FA]
    ============================================================================
    Professional
    Code:
    ============================================================================
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\Licenses\74872840-703A-11d1-A3AF-00A0C90F26FA]
    @="mninuglgknogtgjnthmnggjgsmrmgniglish"
    
    [-HKEY_CLASSES_ROOT\Licenses\74872841-703A-11d1-A3AF-00A0C90F26FA]
    ============================================================================
    Enterprise:
    Code:
    ============================================================================
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\Licenses\74872840-703A-11d1-A3AF-00A0C90F26FA]
    @="mninuglgknogtgjnthmnggjgsmrmgniglish"
    
    [HKEY_CLASSES_ROOT\Licenses\74872841-703A-11d1-A3AF-00A0C90F26FA]
    @="klglsejeilmereglrfkleeheqkpkelgejgqf"
    ============================================================================

    EDIT: I just tested nanovb6, seems to work with compatibility settings xp/sp2 and RUN AS ADMIN.

  4. #4
    Fanatic Member TTn's Avatar
    Join Date
    Jul 2004
    Posts
    685

    Re: VB6 QUESTION: VB6 IDE running from USB

    Ah, I see. So, you just find and replace the license file entries with your own to be portable. Change these keys back to where they were afterwards. I checked the planet source files are identical, except for blank lines. Use can use your installation files. Without license, it will run as learning edition. The two keys together represent Enterprise edition, while the first key represents just Professional edition. Nice, totally legal. According to the license, the developer can install on other machines, so this isn't any different. If you don't own a license on paper or by subscription, you can use the learning edition.

  5. #5

    Thread Starter
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,235

    Re: VB6 QUESTION: VB6 IDE running from USB

    Very good, will investigate NanoVB6.

  6. #6
    Fanatic Member TTn's Avatar
    Join Date
    Jul 2004
    Posts
    685

    Re: VB6 QUESTION: VB6 IDE running from USB

    Quote Originally Posted by yereverluvinuncleber View Post
    Very good, will investigate NanoVB6.
    You can use your own files, instead of downloading.

  7. #7

    Thread Starter
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,235

    Re: VB6 QUESTION: VB6 IDE running from USB

    Might be worth me creating something that does it all for me, unless that is what Nano does?

  8. #8
    Fanatic Member TTn's Avatar
    Join Date
    Jul 2004
    Posts
    685

    Re: VB6 QUESTION: VB6 IDE running from USB

    Nano isn't a program from what I can see. Just a base set of files in a folder, the most important was understanding the registry key settings. Now, I understand how to switch the license key correctly, for learning edition, pro, and enterprise. This is consistent with the EULA terms, it is ok to make your copy of VB6 portable if you own it. Otherwise, use the learning edition, and leave no registry trace for your captors, lol.

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