kreeper32bit
Dec 1 2004, 08:53 AM
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
Dec 1 2004, 07:26 PM
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
Dec 8 2004, 12:49 PM
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
Dec 1 2005, 07:31 AM
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
Dec 28 2005, 10:20 AM
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
Dec 28 2005, 12:53 PM
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
Jan 1 2006, 12:06 PM
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.)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.