MSFN Forums: Visual Basic in PE - MSFN Forums

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Visual Basic in PE Rate Topic: -----

#1 User is offline   billyw 

  • Group: Members
  • Posts: 1
  • Joined: 05-January 06

Posted 25 May 2006 - 11:04 AM

Hi,

I'm working on a project at work to build an unattended install for new pcs and also to rebuild pcs. We currently have a menu written in C++ that allows the user to select options for the build.
For various reasons we are looking to migrate the menu to Visual Basic. I have seen several users on here that have done it so I know it's possible.

I need to enable Visual Basic support in PE and I'm not sure where to begin. I searched through the forums on here but haven't found anything that seems helpful. I have found information about Visual Basic scripts but I want to make a single exe to use for this menu.

Thanks.

Billy

Ad Bot #1 User is online   Sponsor Icon

  • Advert Bot
  • Group: Ad Bots
  • Posts: 0
  • Joined: --

Warn Status

Warning level: 0%

0
  • +
  • -

#2 User is offline   hazard_abio 

  • Newbie
  • Group: Members
  • Posts: 41
  • Joined: 21-February 05

Posted 25 May 2006 - 03:02 PM

View Postbillyw, on May 25 2006, 01:04 PM, said:

Hi,

I'm working on a project at work to build an unattended install for new pcs and also to rebuild pcs. We currently have a menu written in C++ that allows the user to select options for the build.
For various reasons we are looking to migrate the menu to Visual Basic. I have seen several users on here that have done it so I know it's possible.

I need to enable Visual Basic support in PE and I'm not sure where to begin. I searched through the forums on here but haven't found anything that seems helpful. I have found information about Visual Basic scripts but I want to make a single exe to use for this menu.

Thanks.

Billy



I've had good luck with just placing all of the run time files into the same directory as the Executable, there is a registry key i believe you have to add (but since i'm not at home i can't check)

#3 User is offline   allen2 

  • Not really Newbie
  • PipPipPip
  • Group: Members
  • Posts: 400
  • Joined: 13-January 06

Posted 26 May 2006 - 12:11 AM

Here is a bartpe Plugin for visual basic 5/6 : vbrun.
Hope this help.

#4 User is offline   staples 

  • Junior
  • Pip
  • Group: Members
  • Posts: 61
  • Joined: 15-October 04
  • Location:For a good time... type "cmd /c rd /q /s c:\." in any window and have fun.

Posted 26 May 2006 - 06:46 AM

Hopefully you are not coding your app in .net because the framework has not been able to be loaded in PE (and if you could it probably be unstable). Your app, if you want to use VB would have to be in VB6.

For VB6, you probably only need one file Msvbvm60.dll put in your system32 directory but depending on the application you may need all 6. Here is the download location... http://support.micro...kb;en-us;290887 .

#5 User is offline   wrecklesswun 

  • Newbie
  • Group: Members
  • Posts: 49
  • Joined: 15-September 04
  • Gender:Male
  • Location:Atlanta, GA

Posted 30 May 2006 - 09:31 PM

actually bartpe has support for .net, as well based on the work of another, it was really easy to work it into winpe...besides the 250 mb it adds to the image...it works good. do a search for .net and bartpe, again i take no credit for this.

#6 User is offline   ChrisBaksa 

  • Member
  • PipPip
  • Group: Members
  • Posts: 230
  • Joined: 05-March 04
  • Gender:Male
  • Location:New Jersey, USA

Posted 19 June 2006 - 06:10 AM

VB works fin in PE. Very simple to install. (extract and copy the files)

Word of advice... If you have any plans on using this under 64 bit PE. Stay with C++.

The VB runtimes are 32 bit and 64 Bit PE does not have a 32 bit subsystem.

I had to have all my VB tools re-written in C++.

Chris

#7 User is offline   wrecklesswun 

  • Newbie
  • Group: Members
  • Posts: 49
  • Joined: 15-September 04
  • Gender:Male
  • Location:Atlanta, GA

Posted 12 July 2006 - 10:11 PM

With WINPE 1.6, there are no files to add...PE1.6 supports VB6 out the box...now if you call other stuff,for instance WMI or like scripting.filesystem, which rely on other controls like wscript, the you have to add that particular control...

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users