![]() |
| | #1 |
| Registered User Join Date: Nov 2003
Posts: 109
| calling one program from another program 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 | |
| | #2 |
| Confused 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 | |
| | #3 |
| Registered User Join Date: Nov 2003
Posts: 109
| thank you |
| arian is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
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 |