Jump to content

VB Program will not work in Windows PE


Recommended Posts

Hi all, I have created an application in VB 2008 Express which works fine under Windows 2000,XP and Vista but will not work under Windows PE 2.x. When the EXE file is called nothing happens. Is this due to an issue with the lack of .NET support in PE? Do I need to code the application in an older version of VB? Any help would be great.

Link to comment
Share on other sites

Coded a really simple program in VB 6 just a few forms, this runs great under Windows XP and Vista but still does not seem to run under Windows PE 2.0 or 2.1. It has been published as an .EXE. The copies of Windows PE also have WSH installed, I think I must be missing something? Is there something else that must be done to the PE build to enable VB code to run?

Link to comment
Share on other sites

you have to register the vb6 dll's before running the app.

Here is the list that I used to register before I switched to something better.

regsvr32 %SystemRoot%\System32\asycfilt.dll /S
regsvr32 %SystemRoot%\System32\comcat.dll /S
regsvr32 %SystemRoot%\System32\msvbvm60.dll /S
regsvr32 %SystemRoot%\System32\msvcrt.dll /S
regsvr32 %SystemRoot%\System32\oleaut32.dll /S
regsvr32 %SystemRoot%\System32\olepro32.dll /S
regsvr32 %SystemRoot%\System32\scrrun.dll /S
regsvr32 %SystemRoot%\System32\VB6STKIT.DLL /S
regsvr32 %SystemRoot%\System32\msinet.ocx /S

Link to comment
Share on other sites

Dear Friends,

i want to know one thing that,

what other platforms ( besides VB 6.0 ) can be used to develop applications for WinPE

Personally, I use Autoit v3+ to write my applications for WinPE use. You can also use HTA, although it is a major PIA for anything other than small apps.

If you have done any application development work on the Windows platform, you'll be able to pick up Autoit quickly. You need the main app and the scite editor from the downloads page here:


The Autoit forums are very helpful, and you can find most things you need just using the search feature.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...