Excutable VB application on another PC

  • Thread starter Thread starter Amjad
  • Start date Start date
A

Amjad

I have created a Visual Basic .NET solution, built it, and
run the resulted executable file on my computer and it
worked just fine.

Now I copied the executable file that was generated under
the BIN folder of my solution folder to my friend's
computer and it didn't work!

What could be the problem?

note: I've used MS Excel 9.0 reference in my application.
 
probably the .net framework is not installed on the target pc. lookup the
numerous documents on deploying your application either on
msdn.microsoft.com or in your help files for a good start.

hth,

steve
 
That's right, the .NET Framework is not installed on the
target PC.
Do you know a more specific link on how to run a .NET
application on another PC that doesn't have it?

Amjad
 
Hello,

Amjad said:
I have created a Visual Basic .NET solution, built it, and
run the resulted executable file on my computer and it
worked just fine.

Now I copied the executable file that was generated under
the BIN folder of my solution folder to my friend's
computer and it didn't work!

What could be the problem?

Are you sure, the .NET Framework is installed on the computer?

http://www.microsoft.com/netframework

Try compiling the application in Release mode instead of Debug mode.
note: I've used MS Excel 9.0 reference in my application.

Is it installed on the machine?
 
Amjad,
That link does not exist.
Your VB.net program is in an Intermidiate Language, it needs the framework
to run.
(A kind of runtimer).
I hope this helps
Cor
 
Amjad said:
That's right, the .NET Framework is not installed on the
target PC.
Do you know a more specific link on how to run a .NET
application on another PC that doesn't have it?

There are no links how to run a .NET application without the framework. You
need the framework.
 
Cor said:
Amjad,
That link does not exist.
Your VB.net program is in an Intermidiate Language, it needs the
framework to run.
(A kind of runtimer).
I hope this helps
Cor

Sorry that I gave nearly the same answer but it's one of the current server
problems that some messages appear many hours later, so I didn't see yours.
 
Armin,
No problem at all, I understand that and so what now Amjad know that he has
not to doubt.
:-)
Cor
 
That's right, the .NET Framework is not installed on the
target PC.
Do you know a more specific link on how to run a .NET
application on another PC that doesn't have it?

All .Net apps REQUIRE the .Net Framework. They cannot run without it.

Chris
 
Thank you all. I didn't expect to force my friends to
install a 23MB .NET Framework on their computers, just to
run a little tool I developed in Visual Basic for them!

Anyway, I did download the .NET Framework on the target PC
and it worked. Thanks again..

Amjad
 
Back
Top