If you want to get around the 16 color icon limitation in VFP6 and use 256 colors instead, Resource Hacker (freeware) can do the job. It's been working for us for years:
http://www.softpedia.com/progDownload/Resource-Hacker-Download-1520.html
We create our VFP6 exe using the original 16 color...
We updated the video driver and the C5 errors disappeared. Not that this is a universal fix, but it did the trick for us - but we did NOT have memo file corruption as part of the mix.
Why not use the _screen object that is available even if the VFP screen is off (not visible)?
_screen.addproperty("cUser","Steve") will create the cUser property and store the user name. This property is then universally available at any point in the application and won't go out of scope.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.