calling one program from another program

This is a discussion on calling one program from another program within the C# Programming forums, part of the General Programming Boards category; hello. I am new to using classes in C#. I use visual studio 2005 and I have written 2 very ...

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    177

    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

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    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.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    177
    thank you

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. insufficient memory for tsr
    By manmohan in forum C Programming
    Replies: 8
    Last Post: 01-02-2004, 09:48 AM
  2. Date program starts DOS's date
    By jrahhali in forum C++ Programming
    Replies: 1
    Last Post: 11-24-2003, 05:23 PM
  3. calling constructor crashes program?
    By ichijoji in forum C++ Programming
    Replies: 6
    Last Post: 07-04-2003, 12:17 PM
  4. calling programs from a c++ program
    By md4u in forum C++ Programming
    Replies: 0
    Last Post: 05-04-2003, 08:39 AM
  5. calling c++ program from a webpage
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 10-04-2001, 10:41 AM

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