Connecting Tech Pros Worldwide Help | Site Map

run c sharp(.exe) without . net enviornment

Newbie
 
Join Date: Oct 2009
Posts: 22
#1: 3 Weeks Ago
hi,
i want to run my c sharp program in other computer. but its giving an error asking for .net enviornment. is there any way to run it without .net.
tlhintoq's Avatar
Moderator
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 1,745
#2: 3 Weeks Ago

re: run c sharp(.exe) without . net enviornment


Does your program use .NET?
tlhintoq's Avatar
Moderator
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 1,745
#3: 3 Weeks Ago

re: run c sharp(.exe) without . net enviornment


Let me put it another way..

Situation: My car runs on gasoline.
Problem: The gauge and warning light say I don't have gasoline installed.
Question: Is there a way to run my car without installing gasoline?
Newbie
 
Join Date: Oct 2009
Posts: 22
#4: 3 Weeks Ago

re: run c sharp(.exe) without . net enviornment


thanx for the reply.
bt the problem is that my program is to communicate with other machine. and the drivers of the machine are not compatible with .net. Drivers support visual c++ etc.
So, is there any way to make it possible to communicate my program with the machine.
tlhintoq's Avatar
Moderator
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 1,745
#5: 3 Weeks Ago

re: run c sharp(.exe) without . net enviornment


Are you saying that if you install .NET on the other machines it was cause them to stop working?

What kind of "communication"? UDP, serial port, TCP/ip... How are the two PC's supposed to communicate?
Newbie
 
Join Date: Oct 2009
Posts: 22
#6: 3 Weeks Ago

re: run c sharp(.exe) without . net enviornment


sir,
communication between a pc and a device through pci1716 card. Actually i have to give some value to the machine which will return some value after its calculation.
But the driver of pci1716 is not compatible with c#. but it works with other program like VC++,VB
http://support.advantech.com.tw/supp...ource=Download
so, is there any way to communicate between these devices.
tlhintoq's Avatar
Moderator
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 1,745
#7: 3 Weeks Ago

re: run c sharp(.exe) without . net enviornment


Ok... So when you say your computer is communicating with another machine you didn't mean another computer. You meant some other device/accessory. I was confused and thought you meant two computers.

Without knowing anything about the device or the board or that driver I can't give you any advice about what it can or cannot do. Sorry.

Does anyone else here have experience with this thing?
Reply