home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,311 of 10,840   
   Dean Earley to Wog George   
   Re: Standalone EXE in VB6   
   20 Dec 06 13:50:38   
   
   From: dean.earley@icode.co.uk   
      
   Wog George wrote:   
   > I need to create an EXE that is truly "standalone".  By that, I mean the   
   > executable file is all that's required for the application to run.  My app   
   > has a button that fires up a common control (to select a file), and this   
   > seems to be my stumbling block.  When I try to run my program on another   
   > machine, it complains that comdlg32.ocx is not registered properly.   
   >   
   > Short of creating my own form and writing my own code to browse for a file,   
   > can VB6 create a fully self-contained EXE that uses a common control and can   
   > simply be run without the need for the program to be installed?  It was   
   > suggested to me that VB6 was what I needed (was using VB5 prior to now), so   
   > I bought an old copy of VB6 Enterprise especially for the occasion.  Have I   
   > been misled?   
      
   Common Controls is NOT the same as Common Dialogs.   
   The file browse dialog is one of the latter and a LOT easier to create   
   without the OCX than a common Control is.   
      
   There are plenty of examples that use the Common Dialog API directly:   
   http://www.google.com/search?hl=en&q=vb6+common+dialog+api   
      
   Please note that any EXE created in VB6 still has a dependency on the   
   VB6 runtimes, but they exist on pretty much every computer now anyway   
   (and are included by default on XP and above)   
      
   --   
   Dean Earley (dean.earley@icode.co.uk)   
   i-Catcher Development Team   
      
   iCode Systems   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca