Jump to content

Invalid picture


n00b

Recommended Posts


  • 1 year later...

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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