Click here to Skip to main content
15,912,082 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Security check fails when it should not??!! Pin
Heath Stewart10-Nov-03 5:32
protectorHeath Stewart10-Nov-03 5:32 
GeneralRe: Windows Security check fails when it should not??!! Pin
LongRange.Shooter10-Nov-03 6:25
LongRange.Shooter10-Nov-03 6:25 
GeneralAbsolute beginner Pin
-=LoKi=-10-Nov-03 2:03
-=LoKi=-10-Nov-03 2:03 
GeneralRe: Absolute beginner Pin
Heath Stewart10-Nov-03 3:37
protectorHeath Stewart10-Nov-03 3:37 
GeneralRe: Absolute beginner Pin
-=LoKi=-11-Nov-03 2:37
-=LoKi=-11-Nov-03 2:37 
GeneralRe: Absolute beginner Pin
Heath Stewart11-Nov-03 3:04
protectorHeath Stewart11-Nov-03 3:04 
GeneralRe: Absolute beginner Pin
Husein22-Nov-03 0:19
Husein22-Nov-03 0:19 
GeneralIIsWebServer method calling problem Pin
itismydick9-Nov-03 18:51
itismydick9-Nov-03 18:51 
Below is my code
try
{
DirectoryEntry m_de = new DirectoryEntry("IIS://localhost/w3svc/1");
int i=0;
object o=i;
o=m_de.Invoke("Status",new object[0]);
m_de.CommitChanges();
this.txt.Text=i.ToString();
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);

}
when excuting the line m_de.Invoke("Status",new object[0]);
the application throws a TargeInvocationException
it seems the mothed IIsWebServer.Status can not be found
but I can use "Start"&"Stop" methods
Please help me
GeneralRe: IIsWebServer method calling problem Pin
Heath Stewart10-Nov-03 3:47
protectorHeath Stewart10-Nov-03 3:47 
GeneralRe: IIsWebServer method calling problem Pin
itismydick10-Nov-03 21:07
itismydick10-Nov-03 21:07 
GeneralRe: IIsWebServer method calling problem Pin
itismydick10-Nov-03 21:20
itismydick10-Nov-03 21:20 
GeneralRe: IIsWebServer method calling problem Pin
itismydick10-Nov-03 21:47
itismydick10-Nov-03 21:47 
GeneralData Link Property Pin
Inam9-Nov-03 13:57
Inam9-Nov-03 13:57 
GeneralRe: Data Link Property Pin
BinhTran9-Nov-03 17:57
BinhTran9-Nov-03 17:57 
GeneralRe: Data Link Property Pin
BinhTran9-Nov-03 17:58
BinhTran9-Nov-03 17:58 
GeneralRe: Data Link Property Pin
Husein22-Nov-03 0:21
Husein22-Nov-03 0:21 
QuestionHow can I overdraw the titlebar? Pin
icysky9-Nov-03 13:44
icysky9-Nov-03 13:44 
QuestionWhen exactly should a StringBuilder be used? Pin
gicio9-Nov-03 10:48
gicio9-Nov-03 10:48 
AnswerRe: When exactly should a StringBuilder be used? Pin
J. Dunlap9-Nov-03 11:11
J. Dunlap9-Nov-03 11:11 
AnswerRe: When exactly should a StringBuilder be used? Pin
Nick Parker9-Nov-03 11:17
protectorNick Parker9-Nov-03 11:17 
AnswerRe: When exactly should a StringBuilder be used? Pin
Colin Angus Mackay9-Nov-03 13:59
Colin Angus Mackay9-Nov-03 13:59 
Generalone simple way to look at it Pin
CillyMe10-Nov-03 5:49
CillyMe10-Nov-03 5:49 
AnswerRe: When exactly should a StringBuilder be used? Pin
LongRange.Shooter10-Nov-03 6:17
LongRange.Shooter10-Nov-03 6:17 
Generaltemp monitor from motherboard Pin
Rob Tomson9-Nov-03 9:38
Rob Tomson9-Nov-03 9:38 
GeneralRe: temp monitor from motherboard Pin
Nick Parker9-Nov-03 10:21
protectorNick Parker9-Nov-03 10:21 

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.