473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Excutable VB application on another PC

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.
Nov 20 '05 #1
9 1875
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
"Amjad" <am*********@hotmail.com> wrote in message
news:0b****************************@phx.gbl...
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.

Nov 20 '05 #2
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
-----Original Message-----
probably the .net framework is not installed on the target pc. lookup thenumerous documents on deploying your application either on
msdn.microsoft.com or in your help files for a good start.

hth,

steve
"Amjad" <am*********@hotmail.com> wrote in message
news:0b****************************@phx.gbl...
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.

.

Nov 20 '05 #3
Hello,

"Amjad" <am*********@hotmail.com> schrieb:
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?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #4
Cor
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
Nov 20 '05 #5
"Amjad" <am*********@hotmail.com> schrieb
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.
--
Armin

Nov 20 '05 #6
"Cor" <no*@non.com> schrieb
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

Nov 20 '05 #7
Cor
Armin,
No problem at all, I understand that and so what now Amjad know that he has
not to doubt.
:-)
Cor
Nov 20 '05 #8
"Amjad" <am*********@hotmail.com> wrote in news:0ef801c383cb$a41e3a30
$a*******@phx.gbl:
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
Nov 20 '05 #9
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
-----Original Message-----
Armin,
No problem at all, I understand that and so what now Amjad know that he hasnot to doubt.
:-)
Cor

Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: David Hughes | last post by:
For example, in Python in a Nutshell, Alex Martelli shows how you can run a Windows (notepad.exe) or Unix-like (/bin/vim) text editor using os.spawnv(os.P_WAIT, editor, ) But how would you call...
7
by: sigma1035 | last post by:
Hi All, I am not sure if this is the right group, but a have an executable (written in C++) and I am trying to pass arguments into it. i.e. \\server\simple.exe 10 will work in the...
11
by: Timothy Shih | last post by:
Hi, I am having a freezing issue with my application. My application serves several remotable objects, all of which must be initialized before their use. Furthermore, some of them depend on each...
6
by: Dmitry Karneyev | last post by:
Hi! I guess this question have been asked a lot of times, but please be tolerant and if you have any ideas share it. The question is: how to make availibale only one instance of application and...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
0
by: Jared Baszler | last post by:
I'm having a problem with my crystal report functioning correctly in the ..exe I've built. Mainly the line where I'm setting the printer name doesn't seem to be taking effect. I'm not getting an...
3
by: Michael Glaesemann | last post by:
Hello all, Recently I've been thinking about different methods of managing users that log into a PostgreSQL-backed application. The users I'm thinking of are not necessarily DBAs: they're...
1
by: xcelmind | last post by:
Hello Dev. Guru, I want to at this time introduce myself. I am Stanley Ojadovwa by name. I’m a freelance and a newbie in web application development. I’m currently using ASP as my application...
4
by: Dave | last post by:
I have a global.asax file with Application_Start defined and create some static data there and in another module used in the asp.net application and I realize that static data is shared amongst...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.