C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 09-19-2008, 12:49 AM   #1
Registered User
 
Join Date: Nov 2003
Posts: 109
calling one program from another program

hello.
I am new to using classes in C#.
I use visual studio 2005 and I have written 2 very simple program.
the frist one nameSpace=test1 and the nameSpace of the second one is test2.
I want to call the second one from the first program.I think I have to have both of them as 2 classes in the first program,am I right?
if yes
how can I have both of them as 2 classes in the first program(test1).
will you plz tell me what I should do?

thank you
Arian
arian is offline   Reply With Quote
Old 09-19-2008, 04:04 AM   #2
Confused
 
Magos's Avatar
 
Join Date: Sep 2001
Location: Sweden
Posts: 3,125
Go to projects -> add reference and add the second exe/dll. You can call classes directly.
__________________
MagosX.com

Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Magos is offline   Reply With Quote
Old 09-19-2008, 08:25 AM   #3
Registered User
 
Join Date: Nov 2003
Posts: 109
thank you
arian is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
insufficient memory for tsr manmohan C Programming 8 01-02-2004 09:48 AM
Date program starts DOS's date jrahhali C++ Programming 1 11-24-2003 05:23 PM
calling constructor crashes program? ichijoji C++ Programming 6 07-04-2003 11:17 AM
calling programs from a c++ program md4u C++ Programming 0 05-04-2003 07:39 AM
calling c++ program from a webpage Unregistered C++ Programming 1 10-04-2001 09:41 AM


All times are GMT -6. The time now is 12:12 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22