Help - Search - Members - Calendar
Full Version: Invalid picture
MSFN Forums > Unattended Windows Discussion & Support > Windows PE

   
Google Internet Forums Unattended CD/DVD Guide
n00b
I'm running some tools like Flash Renamer in WinPE and they all return an error saying "INVALID PICTURE".

Help?
likuidkewl
What are the file extensions?
n00b
I don't know ... I run the EXE and it says "invalid picture"
kwacky1
I know the cause, but am yet to find a suitable solution.

The "Invalid Picture" message is caused by the icon within the program.

We have a custom written vb6 application that we use within WinPe, after updating to WinPE 2005, we started getting this "Invalid Picture" error message. After hours of troubleshooting we removed the icon from all forms within the vb6 project and the problem went away.

I am yet to determine what warrants a 'valid' picture, or if there's something that can be added to the WinPE image to support vb6 applications with icons.
kwacky1
I found the solution on the following forum

http://www.911cd.net/forums//index.php?s=&...indpost&p=13789

In a nutshell, make sure your temp environment variable is pointing to a writeable area, ie ramdisk, hdd.

Next time you fire up a vb6 application have a look in your temp directory and you'll see a ~blah.tmp file in there, that exists for the duration of the application.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.