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,320 of 10,840   
   J French to wog-NotThisBit-george@amd-p.com   
   Re: Standalone EXE in VB6   
   21 Dec 06 08:20:34   
   
   From: erewhon@nowhere.uk   
      
   On Wed, 20 Dec 2006 11:32:18 GMT, "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?   
      
   You have been misled.   
      
   VB5 is fine for what you are doing   
   - VB6 is VB5 with a few more bells and whistles   
      
   As others have pointed out, you can use the API   
   - I ran into exactly the same problem, as I refuse to use OCXes   
      
   Get the downloadable API Guide (packed with examples) from   
   http://www.mentalis.org/agnet/   
      
   You'll probably find an OpenFile API implementation on Rany's site   
   http://vbnet.mvps.org/   
      
   --- 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