Jump to content

VB6 and booting from Ramdrive via RIS


Recommended Posts

Posted

Some of my VB6 programs fail to run when I boot winpe to a ramdrive (pe1.6) and the same seems to be for winpe2. both booting from RIS or WDS.

Any known reason why? Straight RIS or CD boot works fine....

  • 3 weeks later...

Posted

if you use a ramdrive,somethings to note are the use of a temp/tmp folder on a writable partition such as a ramdrive. these need to be defined as environment variables. Also make sure the drive letters aren't being remapped

Posted

Thats not it, found out last night the code is failing at some of the first wmi queries, gonna rewrite the program in .net....

  • 2 weeks later...
Posted
>net does not work in PE...try enabling WMI and trap errors...

You can get a wrapper for .net that will run in pe. Found out what it was, a small jpg on my form was stopping it run, strange...

Posted

Well, I dunno why ur are having problems when running the appz from RAM of the RIS box, cause i am using two vb applications in my WinPE build that works just great and just like u said, it is the same as any CD/DVD WinPE boot (in regards to the runtime).

Posted

Found out what it was. I had a very small JPG image on a form which was making the code bomb out when run from ramdisk.

You could not make this up.....

  • 4 months later...
Posted

try converting the jpg to png...sometimes depending on the version of the vb runtimes, it has a problem with jpg. Also a problem with the build scripts from ms with the winpe batch files was discovered where the err code or inverse of the wmi install happened.

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...