Microsoft Visual C#, opening my program on another computer?

This is a discussion on Microsoft Visual C#, opening my program on another computer? within the C# Programming forums, part of the General Programming Boards category; When i e-mail my visual C# program to my friend, it doesnt open, which packages should i attach in order ...

  1. #1
    Registered User darketernal's Avatar
    Join Date
    Sep 2001
    Posts
    40

    Microsoft Visual C#, opening my program on another computer?

    When i e-mail my visual C# program to my friend, it doesnt open, which packages should i attach in order for my friend to open it, how do i do that?

    Also i am using Japanese version and sending it to an english computer, so ehm does that matter or should i include something else extra?

    Any feedback on this is very much appreciated.

  2. #2
    Ex scientia vera
    Join Date
    Sep 2007
    Posts
    478
    You might need to either make him install the visual studio redistributable, or create an installer that makes him install it automatically.

    In visual studio there's a project type called an installer project. In there, some dependencies your program uses such as DLLs and similar are automatically detected, and if I recall correctly, there's an option to include the redist.
    "What's up, Doc?"
    "'Up' is a relative concept. It has no intrinsic value."

  3. #3
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,185
    Install the dotnet framework on the target machine.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.
    For information on how to enable C++11 on your compiler, look here.
    よく聞くがいい!私は天才だからね! ^_^

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    Your friend will also need to copy it to a local disk, opening a .NET application from a network drive will result in security exceptions in a default environment.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 04:45 PM
  2. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 09:43 AM
  3. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 07:13 PM
  4. clrscr() in microsoft visual c++
    By canliceset in forum C++ Programming
    Replies: 7
    Last Post: 11-18-2004, 01:40 AM
  5. Help with Visual C++ program
    By /\/\y 2 cents in forum C++ Programming
    Replies: 1
    Last Post: 04-23-2003, 11:51 AM

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