Carls233 Posted August 31, 2008 Share Posted August 31, 2008 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 More sharing options...
kyor Posted August 31, 2008 Share Posted August 31, 2008 .NET Support is not supported in WinPE 2 Link to comment Share on other sites More sharing options...
Carls233 Posted August 31, 2008 Author Share Posted August 31, 2008 What is the best way to get a VB program to run under Windows PE? Does it need to be coded in a legacy version of VB? Link to comment Share on other sites More sharing options...
Jazkal Posted August 31, 2008 Share Posted August 31, 2008 Yes, you would need VB6 or earlier. Link to comment Share on other sites More sharing options...
Carls233 Posted September 1, 2008 Author Share Posted September 1, 2008 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 More sharing options...
Jazkal Posted September 1, 2008 Share Posted September 1, 2008 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 /Sregsvr32 %SystemRoot%\System32\comcat.dll /Sregsvr32 %SystemRoot%\System32\msvbvm60.dll /Sregsvr32 %SystemRoot%\System32\msvcrt.dll /Sregsvr32 %SystemRoot%\System32\oleaut32.dll /Sregsvr32 %SystemRoot%\System32\olepro32.dll /Sregsvr32 %SystemRoot%\System32\scrrun.dll /Sregsvr32 %SystemRoot%\System32\VB6STKIT.DLL /Sregsvr32 %SystemRoot%\System32\msinet.ocx /S Link to comment Share on other sites More sharing options...
Carls233 Posted September 1, 2008 Author Share Posted September 1, 2008 Thanks Jazkal for that very good information it has worked. It seems like a great deal of changes are needed to the base PE build to make the most of its potential. Link to comment Share on other sites More sharing options...
sutrala.balu Posted September 9, 2008 Share Posted September 9, 2008 (edited) Dear Friends,i want to know one thing that,what other platforms ( besides VB 6.0 ) can be used to develop applications for WinPE Edited September 9, 2008 by sutrala.balu Link to comment Share on other sites More sharing options...
Jazkal Posted September 9, 2008 Share Posted September 9, 2008 Dear Friends,i want to know one thing that,what other platforms ( besides VB 6.0 ) can be used to develop applications for WinPEPersonally, 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:http://www.autoitscript.com/autoit3/downloads.shtmlThe 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now