CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2004
    Posts
    4

    Lightbulb How to make standalone vb6 program?

    Hi there!

    Normally it seems that every vb 6 compiled exe file requires atleast MSVBVM60.DLL in Windows system folder, but what if i need to make exe file which can run without requiring this dll file.

    i'll be highly thankful in this regards.

    thanx


  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726
    Vb6 exes require virtual machine and even more components to
    be correctly registered on target machine.
    If the target machine already has components and virtual
    machine, you can simply move your exe there and it will work. If
    the target does not have, you have to use a setup program to
    not simply copying files there, but also to register them correctly.
    If you can not, better you switch to C

    Once there was a software called "Fusion" that was able to
    join all required component inside your exe, so that it could work
    without a setup. But, if I am not mistaking, the MSVBVM60 was still required.
    In any case, the resulting exe was as big as all the needed file joined together
    '*********
    Fusion can be found here. It is not free, though!
    '*********
    Last edited by Cimperiali; May 10th, 2005 at 10:28 AM. Reason: found fusion link
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  3. #3
    Join Date
    Jul 2004
    Posts
    4

    Post

    is there any linker and compiler for vb6, through which we can link all required files and then compile in a single standalone exe manually? or any utility can solve this problem? or at least any alternate?


  4. #4
    Join Date
    Jan 2004
    Location
    TX, USA
    Posts
    347
    As you know, I am a newbie to VB6 plus VB.net. You say C is the lanuage that doesn't require all these dlls and it would be a standalone. That's what I want. Is it Just "C" and where might I get it.
    Cathy
    Jan 2004 - NEWBIE to VB6
    Any and all help appreciated

  5. #5
    Join Date
    Sep 2002
    Location
    England
    Posts
    530
    You can achieve this using Delphi, I think.

  6. #6
    Join Date
    Dec 2002
    Location
    NC
    Posts
    125
    Something else to think about. There is another program called RealBasic. It is not a M$ product and is like a poor mans VB6. You can download it at www.realbasic.com

    the program language is almost identical to VB. If you go with C or C++ you are looking at a huge learning curve. Oh,,,, Real basic compiles its .exe with all supporting DLL's and what not. no need for anything but the exe after its compiled.
    R.L.T.W. A+, NET+, CCNA

    doin' my best

  7. #7
    Join Date
    Jul 2004
    Posts
    1

    Re: How to make standalone vb6 program?

    Originally posted by yaardilbar
    Hi there!

    Normally it seems that every vb 6 compiled exe file requires atleast MSVBVM60.DLL in Windows system folder, but what if i need to make exe file which can run without requiring this dll file.

    i'll be highly thankful in this regards.

    thanx

    Yes you can make standalone applications in Vb6. The outcome is a large compressed exe file. You will need to download Stand Alone Xpress. What it does is look at your program and determine what librarys your program needs to run and binds them to the exe. Look at the website above for more details on how it works.

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

Featured