Help - Search - Members - Calendar
Full Version: Using VB6 compiled applications in winPE
MSFN Forums > Unattended Windows Discussion & Support > Windows PE

   
Google Internet Forums Unattended CD/DVD Guide
kreeper32bit
Hey i'm new to this, i want to use a vb6 application to provide information for a winPE function. I tried just copying the msvb6 runtime dll into the \i386\system32 directory but when i run the application from the command prompt it just thinks for a few seconds and then drops back to the command prompt. What am i missing here (i'm new using winPE)
likuidkewl
Did you add all of these files?
QUOTE
asycfilt.dll=2
comcat.dll=2
msvbvm50.dll=2,,4
msvbvm60.dll=2
oleaut32.dll=2
olepro32.dll=2
stdole2.tlb=2


2 = System32
4 = system32\drivers
FastScan
If your VB programs have an icon on the forms then you will need to have a place to store temp files. VB will create a temp file for some reason because of the icons.

You have two options, remove the icons or add something like a ramdisk and set your temp variables to point to it.
gadget
Trying to acheive the same thing here.

I had it with just the:

msvbvm50.dll
msvbvm60.dll

files but I have lost the winpesys.inf entries required to register the dll's
wrecklesswun
It is possible, what i've done is to extract the vbr runtime dll's and then register them at boot time. if you need a sample ask.
mats
in winpe2004 and 2005 built from xpsp1 or better you dont need to register the vb6 dlls. Just have them in the same directory as your app and it will work. The easy way to do this is ofcourse to drop everything in system32
schneigu
You need also the runtime licenses for the VB controls. Export them on a system with Visual Studio 6 and add it to WinPE.

they are stored in HKLM\Software\Classes\Licenses (or also available in a reg file on the CD media you got with Visual Studio.)
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.