Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET General > Running .exe in pre execution environment


Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2008, 05:09 AM
JustinCase2 JustinCase2 is offline
Junior Contributor
 
Join Date: Apr 2006
Posts: 294
Default Running .exe in pre execution environment


I am trying to run a vb .net 2005 executable file in the Windows Pre Execution Environment.
Tha application is very simple, it will show a form with 2 buttons, one button is exit, the other runs a shell command.
When i try to run the exe, absolutely nothing happens. The form is not displayed at all. Anyone know why? The app works fine in a normal windows environment.

Please help!
Reply With Quote
  #2  
Old 12-01-2008, 11:42 PM
Targe Targe is offline
Contributor
 
Join Date: Nov 2006
Posts: 615
Default

A Pre-boot Execution Environment? Windows uses what is called the .NET framework to run your form. You cannot run a form which uses the .NET environment when it hasn't even been loaded up...someone correct me if I'm wrong, though.

It's my understanding those buttons you have on the form, and even the form itself, use the framework to know how to draw them and do all their methods. If you're not in Windows AND do not have the correct framework your form requires, the application will/cannot run.
Reply With Quote
  #3  
Old 12-04-2008, 04:58 AM
JustinCase2 JustinCase2 is offline
Junior Contributor
 
Join Date: Apr 2006
Posts: 294
Default You are indeed correct

Reprogramming to VB6 and registering the correct .dll's during boot made the program runnable.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->