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
machine. |
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?
http://msdn.microsoft.com/netframework/technologyinfo/howtoget/default.aspx
2) Did you just copy over the .exe or use the deployment wizard?
http://www.vbdotnetheaven.com/Code/Jun2003/2005.asp
Let me know if this works for you.
|
Clarification of Question by
surge-ga
on
24 Mar 2004 16:30 PST
Hello
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 vb.net?
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.
http://searchvb.techtarget.com/vsnetATEAnswers/0,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:
http://www.geocities.com/doomwizard/
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:
://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=vb+to+java+converter
I will close out the question then.
|