Google Answers Logo
View Question
Q: VB.NET Newbie, App crashes in client, works great for me ( Answered 4 out of 5 stars,   0 Comments )
Subject: VB.NET Newbie, App crashes in client, works great for me
Category: Computers > Programming
Asked by: surge-ga
List Price: $22.00
Posted: 24 Mar 2004 12:04 PST
Expires: 23 Apr 2004 13:04 PDT
Question ID: 320062
I've been teaching myself VB.NET and have made a simple application to
calculate and display some math used to calculate water weight lost.

No errors displayed in IDE, or on compile, runs fine for me.  EVERY
computer other than mine that I test it on, fails to load. doesn't
even display a window.

I wanted this app to be freeware and would like to add an option to
print the results but, I don't know how to do that.  Also there is a
small bug in the message window that I'm not sure how to resolve. 
When the user clicks on calculate, having made an error, it displays a
message letting them know.  However it sometimes just appends the list
of errors.

I would like to have some of the bugs fixed and have it either
recomplied or whatever to allow it to run properly on every windows

Request for Question Clarification by studboy-ga on 24 Mar 2004 12:48 PST
Hi surge-ga

1) Is the ,NET runtime/framewrok installed on your other computers?

2) Did you just copy over the .exe or use the deployment wizard?

Let me know if this works for you.

Clarification of Question by surge-ga on 24 Mar 2004 16:30 PST

1) No the framework is not installed on the other computers, and I
don't expect that it will be.

2) Yes I just copied the exe over, I didn't know there was such a
thing as a deployment wizard.

Is it not possible to make a stand-alone exe from

Also I am no longer able to use the IDE, I had to return the software
to its owner and it was uninstalled per licence agreement.
I do however have the source and project files.

Request for Question Clarification by studboy-ga on 26 Mar 2004 15:32 PST
Yes, that appears to be the problem then.  Since you don't have the
IDE, try installing the framework on the other computer(s) and rerun. 
The framework is required for runtime (unlike assembly/binaries,
Visual Studio exe's are more or less intermediate assembles--very much
like Java bytecodes--that require a runtime to execute).

Request for Question Clarification by studboy-ga on 26 Mar 2004 15:34 PST
And even for previous versions of VB--say VB 6, you still need to VB6
runtime support installed.  It's just that in the past VB6 runtime
comes with the OS.  BTW, in Windows 2003 and above Microsoft package
the framework with the OS, I believe.

Let me know if I solve your problem (after you try installing the
framework)--if so I can post a formal answer to receive credit for my
answer.  Thanks.

Request for Question Clarification by studboy-ga on 26 Mar 2004 15:37 PST
And regarding a "standalone" .exe, the answer is no at this time.,293820,sid8_gci927467_tax293674,00.html

Perhaps in the future companies like Borland and Excelsior will build
a compiler for a standalone .exe, but Microsoft is not going to do it
(they want their framework installed on *every* single PC in this
world--it's part of their fight against Java).

Clarification of Question by surge-ga on 26 Mar 2004 20:59 PST
Very well, since it is not possible to resolve my problem as it
stands, and you have proven it to be so, claim your prize.

I do, however, think that some better resolution exists.  I do not
own, nor admin the "other" computers. Installing what many users
despise on them would surely be the end of me.  Can the code and form
be converted to something else?  Perhaps an office/vba app?  Are there
any alternative compilers/editors that can read and covert my code?  I
will be more careful in wording my question next time to be sure.

Request for Question Clarification by studboy-ga on 28 Mar 2004 10:59 PST
Hi surga-ga

Yes, converting to other forms/languages is certainly possible.  At
this time, this has to be done manually--I'll be happy to do it for
you right here if you post/send me your VB.NET source and tell me to
which language you want it converted to.  I'll wait for your post.

Clarification of Question by surge-ga on 28 Mar 2004 23:37 PST
I'm not sure where i can post it... lets try:
can it be converted to c, which could then be compiled by a free compiler?
or java, so the java vm can JIT compile it?

Request for Question Clarification by studboy-ga on 29 Mar 2004 07:26 PST
Looks like you have GUI interface--it's best convert to Java.  Working on it.

Request for Question Clarification by studboy-ga on 29 Mar 2004 15:23 PST
HI surga-ga

While working on it I found some tools out there that will actually
convert VB to Java--
this will save us both some works--please give them a try:


I will close out the question then.
Subject: Re: VB.NET Newbie, App crashes in client, works great for me
Answered By: studboy-ga on 29 Mar 2004 15:27 PST
Rated:4 out of 5 stars
The answer to this question consists of two parts:

1) In order for VB.NET executables to run, the .NET framework must
exists and/or installed:,293820,sid8_gci927467_tax293674,00.html

However, in cases where it's inconvenient or not desirable to have the
framework installed, the VB code can be converted to other languages
that can be compiled into executables supported onthe target machines.
 Conversion to Java, for example, can be done via the following tools:

surge-ga rated this answer:4 out of 5 stars
Studboy provided me with the answer I asked for in very short order,
gave me links to supporting information and links, and upon
clairification provided an alternative to the problem the question was
based on.  Very helpful.

There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy