Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VB Program will not work in Windows PE

Featured Replies

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.

.NET Support is not supported in WinPE 2

  • Author

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?

  • Author

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?

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

  • Author

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.

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 by sutrala.balu

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:

http://www.autoitscript.com/autoit3/downloads.shtml

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

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.