Click here to Skip to main content
15,913,152 members
Home / Discussions / C#
   

C#

 
QuestionWebservice in C# - please help Pin
jhinze1-May-07 13:19
jhinze1-May-07 13:19 
AnswerRe: Webservice in C# - please help Pin
coolestCoder1-May-07 18:33
coolestCoder1-May-07 18:33 
QuestionWhat is this Control's name? Pin
freshonlineMax1-May-07 12:19
freshonlineMax1-May-07 12:19 
AnswerRe: What is this Control's name? Pin
Christian Graus1-May-07 12:58
protectorChristian Graus1-May-07 12:58 
AnswerRe: What is this Control's name? Pin
sharmit1-May-07 17:05
sharmit1-May-07 17:05 
GeneralRe: What is this Control's name? Pin
freshonlineMax1-May-07 19:35
freshonlineMax1-May-07 19:35 
GeneralRe: What is this Control's name? Pin
sharmit2-May-07 16:33
sharmit2-May-07 16:33 
QuestionGetting the bin directory location for a service??!! Pin
LongRange.Shooter1-May-07 11:54
LongRange.Shooter1-May-07 11:54 
AnswerRe: Getting the bin directory location for a service??!! Pin
PIEBALDconsult1-May-07 18:01
mvePIEBALDconsult1-May-07 18:01 
GeneralRe: Getting the bin directory location for a service??!! Pin
LongRange.Shooter2-May-07 5:30
LongRange.Shooter2-May-07 5:30 
GeneralRe: Getting the bin directory location for a service??!! [modified] Pin
PIEBALDconsult2-May-07 13:35
mvePIEBALDconsult2-May-07 13:35 
GeneralRe: Getting the bin directory location for a service??!! Pin
PIEBALDconsult2-May-07 15:02
mvePIEBALDconsult2-May-07 15:02 
GeneralRe: Getting the bin directory location for a service??!! Pin
LongRange.Shooter10-May-07 10:22
LongRange.Shooter10-May-07 10:22 
AnswerRe: Getting the bin directory location for a service??!! Pin
justintimberlake1-May-07 18:01
justintimberlake1-May-07 18:01 
AnswerRe: Getting the bin directory location for a service??!! Pin
PIEBALDconsult2-May-07 15:10
mvePIEBALDconsult2-May-07 15:10 
GeneralRe: Getting the bin directory location for a service??!! Pin
LongRange.Shooter2-May-07 5:21
LongRange.Shooter2-May-07 5:21 
GeneralRe: Getting the bin directory location for a service??!! Pin
justintimberlake2-May-07 18:57
justintimberlake2-May-07 18:57 
GeneralRe: Getting the bin directory location for a service??!! Pin
LongRange.Shooter2-May-07 5:30
LongRange.Shooter2-May-07 5:30 
GeneralRe: Getting the bin directory location for a service??!! Pin
justintimberlake2-May-07 19:05
justintimberlake2-May-07 19:05 
AnswerThe only thing that works with a service in the 2.0 framework Pin
LongRange.Shooter3-May-07 1:43
LongRange.Shooter3-May-07 1:43 
AnswerRe: Getting the bin directory location for a service??!! Pin
PIEBALDconsult3-May-07 15:31
mvePIEBALDconsult3-May-07 15:31 
GeneralRe: Getting the bin directory location for a service??!! Pin
LongRange.Shooter4-May-07 3:01
LongRange.Shooter4-May-07 3:01 
It may be due to looking for this at the OnStart implementation (in which I'm an event handler of a different process) but I really don't know. When I got tired of blowing up with each individual attempt, I finally did this:

In my OnStart event handler, I commented out all code and had a sequence of Debug.Trace messages that displayed the results of each item as follows:

Assembly.GetExecutingAssembly()==null?" GetExecutingAssembly null ":Assembly.GetExecutingAssembly();
AppDomain.CurrentDomain.BaseLocation == null?" CurrentDomain.BaseLocation null": ....

This way I got the results of everyone of the items that people suggested or that I had attempted. In that example everything came up null except for the AppDomain approach.
GeneralRe: Getting the bin directory location for a service??!! Pin
PIEBALDconsult4-May-07 16:47
mvePIEBALDconsult4-May-07 16:47 
GeneralRe: Getting the bin directory location for a service??!! Pin
PIEBALDconsult6-May-07 14:14
mvePIEBALDconsult6-May-07 14:14 
QuestionThread creation using reflection for the target? Pin
LongRange.Shooter1-May-07 9:55
LongRange.Shooter1-May-07 9:55 

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.