Results 1 to 7 of 7

Thread: Recovering VB5 Entreprise

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2011
    Posts
    4

    Unhappy Recovering VB5 Entreprise

    I have VB5 Entreprise package (early 2000!)
    Moving from win XP to Win7, intallation works, but when loading existing (and working) old projects, many controls are no longuer available (mainly Common Dialog Box), and if called upon, show "access denied".
    And, of course, VB5 won't compile due to missing controls...
    The Install disk of my applications will not install on W7 either...
    I cannot find updates from MS, I cannot load the files on VB6 (not compatible).
    Suggestions? (I have a complex program like AutoCAD that tool me three years to develop!)

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Recovering VB5 Entreprise

    Your best bet for the right now is to go back to XP.

    Then, begin the rewrite process (and I don't mean to VB6...I mean to VB.NET)

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2011
    Posts
    4

    Re: Recovering VB5 Entreprise

    If that is the case, I'd better re-write it from scratch! Just two-three years work...
    Or buy Orcad Schematics ($3k) and Boardmaker (£2000 + £500 annual fee)
    If no-one offers me a better solution, I'll re-write it, probably in C/C++, providing the maker is NOT Microsoft.

  4. #4
    Fanatic Member DrUnicode's Avatar
    Join Date
    Mar 2008
    Location
    Natal, Brazil
    Posts
    631

    Re: Recovering VB5 Entreprise

    First I would suggest using Vb6 in lieu of Vb5 and install the latest service pack SP6.
    Upgrading a Vb5 project to Vb6 should be easy with very few (if any) mods.
    Missing Vb6 components on Windows 7 is a known issue but that only means that MS did not install them.
    Here is a list of components that are installed on Vista and Windows 7:
    http://msdn.microsoft.com/en-us/vbasic/ms788708
    That means that your installer must include dependencies like comctl32.ocx and comdlg32.ocx.
    If your installer does not work on Windows 7 then perhaps there is something wrong with your installer.
    We use "InstallMate" by www.tarma.com but you can also use InnoSetup.

    In summary, many of us are running Windows 7 + Vb6 with no problems at all.
    Our main development machine has been Windows 7 since 2009.
    Last edited by DrUnicode; Jul 25th, 2011 at 10:59 AM.

  5. #5

    Thread Starter
    New Member
    Join Date
    Jul 2011
    Posts
    4

    Re: Recovering VB5 Entreprise

    It does install (VB5), and the very two ocx you mentionned are the two missing files!
    I must have "had" them somewhere, sometimes, in the past!
    Even if I find them on some backup, how could I "intall them" on the existing VB5?
    I think that, at least, I should be able to compile the sources in VB5 before moving them to VB6 (Last time I tried, VB6 completely screwed up ALL the sources, replacing many things without asking, renaming controls and so-on).

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Recovering VB5 Entreprise

    If you find the physical OCX files, you can install them manually.

    1. Copy them to your hard drive
    2. Register them with the OS using Reg32svr.exe

  7. #7

    Thread Starter
    New Member
    Join Date
    Jul 2011
    Posts
    4

    Re: Recovering VB5 Entreprise

    I have these files! They are in windows/system32.
    I hate W7... Can't even find regedit...
    I hope yours is the solution!
    Cheers
    JR

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