Click here to Skip to main content
15,922,696 members
Home / Discussions / C#
   

C#

 
GeneralRe: Lock the mouse to my application Pin
osto1-May-04 13:50
osto1-May-04 13:50 
GeneralRe: Lock the mouse to my application Pin
Heath Stewart2-May-04 6:11
protectorHeath Stewart2-May-04 6:11 
GeneralWindows Messag handling in C# Pin
Vini Deep1-May-04 0:21
Vini Deep1-May-04 0:21 
GeneralRe: Windows Messag handling in C# Pin
scadaguy1-May-04 8:33
scadaguy1-May-04 8:33 
GeneralWeb Service from Java Pin
Member 1697730-Apr-04 19:35
Member 1697730-Apr-04 19:35 
GeneralRe: Web Service from Java Pin
Mazdak30-Apr-04 19:57
Mazdak30-Apr-04 19:57 
GeneralRe: Web Service from Java Pin
Heath Stewart2-May-04 6:09
protectorHeath Stewart2-May-04 6:09 
GeneralCapturing mouse movement while transparent Pin
bennyrascal30-Apr-04 19:18
bennyrascal30-Apr-04 19:18 
GeneralRe: Capturing mouse movement while transparent Pin
Heath Stewart2-May-04 6:05
protectorHeath Stewart2-May-04 6:05 
GeneralRe: Capturing mouse movement while transparent Pin
bennyrascal2-May-04 19:39
bennyrascal2-May-04 19:39 
GeneralDocking Dilemma Pin
gUrM33T30-Apr-04 15:48
gUrM33T30-Apr-04 15:48 
GeneralRe: Docking Dilemma Pin
Mazdak30-Apr-04 18:47
Mazdak30-Apr-04 18:47 
GeneralRe: Docking Dilemma Pin
gUrM33T30-Apr-04 19:46
gUrM33T30-Apr-04 19:46 
GeneralRe: Docking Dilemma Pin
Mazdak30-Apr-04 19:55
Mazdak30-Apr-04 19:55 
GeneralRe: Docking Dilemma Pin
Heath Stewart2-May-04 6:00
protectorHeath Stewart2-May-04 6:00 
GeneralRe: Docking Dilemma Pin
gUrM33T2-May-04 7:27
gUrM33T2-May-04 7:27 
GeneralRe: Docking Dilemma Pin
Heath Stewart2-May-04 7:47
protectorHeath Stewart2-May-04 7:47 
GeneralMultimedia Keys Pin
Member 87406830-Apr-04 14:31
Member 87406830-Apr-04 14:31 
GeneralRe: Multimedia Keys Pin
Mazdak30-Apr-04 19:02
Mazdak30-Apr-04 19:02 
GeneralRe: Multimedia Keys Pin
Heath Stewart2-May-04 5:57
protectorHeath Stewart2-May-04 5:57 
GeneralRe: Multimedia Keys Pin
Member 8740682-May-04 21:09
Member 8740682-May-04 21:09 
Questionremoting : object reference not set to an instance of an object ??? Pin
youssef30-Apr-04 13:45
youssef30-Apr-04 13:45 
AnswerRe: remoting : object reference not set to an instance of an object ??? Pin
Heath Stewart30-Apr-04 13:54
protectorHeath Stewart30-Apr-04 13:54 
GeneralRe: remoting : object reference not set to an instance of an object ??? Pin
youssef30-Apr-04 14:06
youssef30-Apr-04 14:06 
GeneralRe: remoting : object reference not set to an instance of an object ??? Pin
Heath Stewart30-Apr-04 14:13
protectorHeath Stewart30-Apr-04 14:13 
If you're file doesn't exist, then either you hap-hazardly hard-coded the file path (never a good idea) or it doesn't exist in the directory you think it should.

Typically, in .NET Remoting you just use the application's .config file (in the same directory as the application with the same name + .config appended, like an app called MyApp.exe would have a file called MyApp.exe.config in the same directory) and then you'd call RemotingConfiguration.Configure passing the AppDomain.CurrentDomain.SetupInformation.ConfigurationFile so that you can keep everything in the same .config file. This is true for both the client and server. If you don't want to do it this way, then you need to code your app so that it can find the file no matter where it is, like using Application.StartupPath in the client application to use the directory where the .exe is located, and then use Path.Combine to combine that with file.config using the platform-dependent directory separator character.

To debug your application, just click the Debug->Start menu. There is more information in the Visual Studio help.

 

Microsoft MVP, Visual C#
My Articles

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.