gadget Posted June 22, 2006 Share Posted June 22, 2006 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.... Link to comment Share on other sites More sharing options...
wrecklesswun Posted July 13, 2006 Share Posted July 13, 2006 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 Link to comment Share on other sites More sharing options...
gadget Posted July 15, 2006 Author Share Posted July 15, 2006 Thats not it, found out last night the code is failing at some of the first wmi queries, gonna rewrite the program in .net.... Link to comment Share on other sites More sharing options...
wrecklesswun Posted July 19, 2006 Share Posted July 19, 2006 >net does not work in PE...try enabling WMI and trap errors... Link to comment Share on other sites More sharing options...
gadget Posted August 3, 2006 Author Share Posted August 3, 2006 >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... Link to comment Share on other sites More sharing options...
Br4tt3 Posted August 7, 2006 Share Posted August 7, 2006 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). Link to comment Share on other sites More sharing options...
gadget Posted August 11, 2006 Author Share Posted August 11, 2006 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..... Link to comment Share on other sites More sharing options...
wrecklesswun Posted December 27, 2006 Share Posted December 27, 2006 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. 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