|
-
Aug 6th, 2003, 02:54 PM
#1
Thread Starter
Lively Member
problem with created exe
Hello. I am having problems with the exe created by my vb app...
I am getting the following error message:
The C:\blah\blah\blah.exe file appears to be corrupt. Reinstall the file, and then try again.
And another error message in a seperate box that says:
Windows cannot run this program because it is in an invalid format
The app is pretty large and it contains a large resource file as well.... any suggestions???
It compiles fine and creates the exe and runs fine in design mode.
i often feel i am parked diagonally in a parallel univers
-
Aug 6th, 2003, 03:16 PM
#2
Hyperactive Member
i dont think vb can contain resource files over 64kb...
-
Aug 6th, 2003, 03:17 PM
#3
Thread Starter
Lively Member
I've had resource files over 2 megs that worked fine
i often feel i am parked diagonally in a parallel univers
-
Aug 6th, 2003, 03:48 PM
#4
Hyperactive Member
What are you using to read the resource file? If you look up the function "LoadResData" ... In the Remarks section it states "The data that LoadResData loads from the resource file can be up to 64K."
-
Aug 7th, 2003, 07:06 AM
#5
Thread Starter
Lively Member
The program runs fine in design mode. I have other apps I've written with .Res files well over 64K that are being used by hundreds of people with no problems.
i often feel i am parked diagonally in a parallel univers
-
Aug 7th, 2003, 07:12 AM
#6
Originally posted by Eras3r
What are you using to read the resource file? If you look up the function "LoadResData" ... In the Remarks section it states "The data that LoadResData loads from the resource file can be up to 64K."
That means that the function can only return 64k of data. The whole file can contain much more.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Aug 7th, 2003, 07:13 AM
#7
Thread Starter
Lively Member
The program runs perfectly in design mode and fully compiles.
i often feel i am parked diagonally in a parallel univers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|