[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Not a valid Win32 application

Posted on 2006-04-08
3
Medium Priority
?
651 Views
Last Modified: 2013-11-14
Hi experts,

i created a very small program, with no extra components, created an exe
and some people now downloaded it.
Some of them (not many) get the error message when they try to run it: not a valid Win32 application.

This exe is only 88 KB in size.
If i use Installshield to create an installation package it grows to over 5 MB in size, which is pretty much unacceptable for such a small program.
(in redistributables in Installshield:
- Microsoft component category manager library <--> can not be unchecked)
- Microsoft OLE 2.40 for windows NT and Windows 95 <--> can not be unchecked)
- Microsoft Visual basic Virtual Machine 6.0 <--> can be unchecked)

Components that are checked in Visual Basic: None...
References:
- Visual basic for applications
- Visual basic runtime obects and procedures
- Visual basic objects and procedures
- OLE Automation

Pretty much lost here....

Thanx,
Ricky
0
Comment
Question by:Paurths
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 16408584
did they download the app with binary mode?
which platform are you on (Alpha, Intel)?

>If i use Installshield to create an installation package it grows to over 5 MB in size,
the problem is that VB's runtime dll is over 3 MB and actually contains all the things that are NOT in the .exe.

if you want a smaller exe without runtime dll's, vb is the wrong product, C/C++ etc will be better suited.


0
 
LVL 12

Author Comment

by:Paurths
ID: 16408627
thanx for the respons, angelIII,
i'm using intel-platform

this makes me wonder why it is that some people get the error (a minority) and others don't...

These are in fact about 2 exe files, different ones.
program 1: a few people got the error (filesize was OK --> some even got the error when installing the setup-file created with installshield...)
program 2: everyone got the error, but it now seems that the exe-file was truncated. Its size was 15KB smaller than the original after downloading it.
0
 

Assisted Solution

by:benrios
benrios earned 500 total points
ID: 16409999
I had a similar problem when posting an EXE for a vb app I wrote on my website. Some people it worked for and others it got corrupted when they downloaded. Zipping the file and letting them download the zip instead solved the problem for me.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question