Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
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
GeneralRe: remoting : object reference not set to an instance of an object ??? Pin
youssef30-Apr-04 15:06
youssef30-Apr-04 15:06 
GeneralForms Pin
mookeroo30-Apr-04 12:47
mookeroo30-Apr-04 12:47 
GeneralRe: Forms Pin
Heath Stewart30-Apr-04 14:08
protectorHeath Stewart30-Apr-04 14:08 
GeneralRe: Forms Pin
mookeroo30-Apr-04 15:52
mookeroo30-Apr-04 15:52 
GeneralRe: Forms Pin
Nick Parker1-May-04 9:49
protectorNick Parker1-May-04 9:49 
GeneralChanging tab appearance on mouse enter Pin
Flack30-Apr-04 9:03
Flack30-Apr-04 9:03 
GeneralRe: Changing tab appearance on mouse enter Pin
gUrM33T30-Apr-04 15:25
gUrM33T30-Apr-04 15:25 
GeneralDotNetScriptEngine.exe Pin
Mike Hooper30-Apr-04 8:36
Mike Hooper30-Apr-04 8:36 
GeneralRe: DotNetScriptEngine.exe Pin
Nick Parker30-Apr-04 11:38
protectorNick Parker30-Apr-04 11:38 
GeneralRe: DotNetScriptEngine.exe Pin
CWIZO30-Apr-04 20:53
CWIZO30-Apr-04 20:53 
QuestionHow to enter array in windows form Pin
brugi8230-Apr-04 8:21
brugi8230-Apr-04 8:21 
AnswerRe: How to enter array in windows form Pin
Judah Gabriel Himango30-Apr-04 8:37
sponsorJudah Gabriel Himango30-Apr-04 8:37 
GeneralRe: How to enter array in windows form Pin
brugi8230-Apr-04 23:38
brugi8230-Apr-04 23:38 
GeneralHTTP Error 403 when connecting to ASP.NET Web Services more than 10 clients Pin
Crank Ninja30-Apr-04 7:50
Crank Ninja30-Apr-04 7:50 
GeneralRe: HTTP Error 403 when connecting to ASP.NET Web Services more than 10 clients Pin
Dave Kreskowiak30-Apr-04 8:38
mveDave Kreskowiak30-Apr-04 8:38 
GeneralRe: HTTP Error 403 when connecting to ASP.NET Web Services more than 10 clients Pin
Jeff Varszegi30-Apr-04 8:45
professionalJeff Varszegi30-Apr-04 8:45 
GeneralRe: HTTP Error 403 when connecting to ASP.NET Web Services more than 10 clients Pin
Dave Kreskowiak30-Apr-04 11:47
mveDave Kreskowiak30-Apr-04 11:47 

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.