Click here to Skip to main content
16,015,077 members
Home / Discussions / C#
   

C#

 
JokeRe: .NET 1.1 Wrapper For 2.0 Class Pin
ednrgc12-Jan-07 4:12
ednrgc12-Jan-07 4:12 
QuestionHow to change the excell tab name in c# Pin
Member 322830911-Jan-07 7:23
Member 322830911-Jan-07 7:23 
QuestionNewbie Inheritance question Pin
Rapier50311-Jan-07 6:33
Rapier50311-Jan-07 6:33 
AnswerRe: Newbie Inheritance question Pin
ednrgc11-Jan-07 7:07
ednrgc11-Jan-07 7:07 
AnswerRe: Newbie Inheritance question Pin
Not Active11-Jan-07 7:45
mentorNot Active11-Jan-07 7:45 
GeneralRe: Newbie Inheritance question Pin
Not Active11-Jan-07 11:58
mentorNot Active11-Jan-07 11:58 
GeneralRe: Newbie Inheritance question Pin
Rahithi11-Jan-07 12:20
Rahithi11-Jan-07 12:20 
QuestionGetting the path of my Dll Pin
roto2311-Jan-07 6:07
roto2311-Jan-07 6:07 
Hello,

I created a compiled c# dll. I need to know the path where this dll resides. I use this code to do it...

mstrStartUpDirectory = System.IO.Directory.GetCurrentDirectory();


When I call this dll from a c# windows app i get the correct path that the dll is in (C:\roto\Practice\MyClass)

When I call this dll from a c# web service i get the WRONG path that the dll is in (C:\Windows\System32).

What do I need to do to get the correct path that the dll resides in regarless of wether I am calling the dll from a Windows app, web service or whatever.

Thanks in advance
-Roto-

AnswerRe: Getting the path of my Dll Pin
Abisodun11-Jan-07 6:25
Abisodun11-Jan-07 6:25 
GeneralRe: Getting the path of my Dll Pin
roto2311-Jan-07 7:10
roto2311-Jan-07 7:10 
GeneralRe: Getting the path of my Dll Pin
ednrgc11-Jan-07 7:12
ednrgc11-Jan-07 7:12 
GeneralRe: Getting the path of my Dll Pin
Abisodun11-Jan-07 7:22
Abisodun11-Jan-07 7:22 
GeneralRe: Getting the path of my Dll Pin
roto2311-Jan-07 7:36
roto2311-Jan-07 7:36 
QuestionSetting Debugger Mode Pin
Beringer11-Jan-07 5:57
Beringer11-Jan-07 5:57 
AnswerRe: Setting Debugger Mode Pin
Colin Angus Mackay11-Jan-07 6:12
Colin Angus Mackay11-Jan-07 6:12 
GeneralRe: Setting Debugger Mode Pin
Beringer11-Jan-07 8:30
Beringer11-Jan-07 8:30 
GeneralRe: Setting Debugger Mode Pin
Larantz11-Jan-07 10:31
Larantz11-Jan-07 10:31 
QuestionAbout insert record Pin
mwith11-Jan-07 5:41
mwith11-Jan-07 5:41 
AnswerRe: About insert record Pin
lost in transition 11-Jan-07 6:00
lost in transition 11-Jan-07 6:00 
QuestionHooking Windows Api Calls Pin
joejoeiscool11-Jan-07 5:36
joejoeiscool11-Jan-07 5:36 
AnswerRe: Hooking Windows Api Calls Pin
Dave Kreskowiak11-Jan-07 5:47
mveDave Kreskowiak11-Jan-07 5:47 
QuestionHandling array argument! Pin
C++NewBe11-Jan-07 4:30
C++NewBe11-Jan-07 4:30 
AnswerRe: Handling array argument! Pin
led mike11-Jan-07 6:06
led mike11-Jan-07 6:06 
GeneralRe: Handling array argument! Pin
C++NewBe11-Jan-07 7:23
C++NewBe11-Jan-07 7:23 
GeneralRe: Handling array argument! Pin
Not Active11-Jan-07 8:11
mentorNot Active11-Jan-07 8:11 

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.