Click here to Skip to main content
15,899,126 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to implement SHFileOperation api call in c# Pin
James T. Johnson16-Sep-02 2:37
James T. Johnson16-Sep-02 2:37 
AnswerRe: how to implement SHFileOperation api call in c# Pin
Richard Deeming16-Sep-02 7:50
mveRichard Deeming16-Sep-02 7:50 
Questionunable to upload file,WebClient.UploadFile() doesn't work??? Pin
fftongzhi15-Sep-02 22:37
fftongzhi15-Sep-02 22:37 
GeneralIdentifying DesignTime Mode for Forms Pin
Firoz15-Sep-02 19:54
Firoz15-Sep-02 19:54 
GeneralRe: Identifying DesignTime Mode for Forms Pin
leppie15-Sep-02 21:49
leppie15-Sep-02 21:49 
GeneralRe: Identifying DesignTime Mode for Forms Pin
Firoz16-Sep-02 0:03
Firoz16-Sep-02 0:03 
GeneralRe: Identifying DesignTime Mode for Forms Pin
leppie16-Sep-02 5:44
leppie16-Sep-02 5:44 
GeneralRe: Identifying DesignTime Mode for Forms Pin
James T. Johnson16-Sep-02 9:30
James T. Johnson16-Sep-02 9:30 
leppie wrote:
so this does not work?

Nope, that doesn't work... Why? Think about it this way; the DesignMode mode property uses the ISite property to do its work. But at that point of your code no properties have been set so ISite is still null which is why DesignMode will always return false.

Shortly after code execution has left the constructor for your object, then ISite will be set and DesignMode will return its proper value.

James
"And we are all men; apart from the females." - Colin Davies
GeneralRe: Identifying DesignTime Mode for Forms Pin
leppie16-Sep-02 9:46
leppie16-Sep-02 9:46 
GeneralRe: Identifying DesignTime Mode for Forms Pin
James T. Johnson16-Sep-02 15:23
James T. Johnson16-Sep-02 15:23 
GeneralRe: Identifying DesignTime Mode for Forms Pin
Paul Riley16-Sep-02 23:01
Paul Riley16-Sep-02 23:01 
GeneralRe: Identifying DesignTime Mode for Forms Pin
leppie16-Sep-02 23:07
leppie16-Sep-02 23:07 
GeneralRe: Identifying DesignTime Mode for Forms Pin
Paul Riley16-Sep-02 23:28
Paul Riley16-Sep-02 23:28 
GeneralRe: Identifying DesignTime Mode for Forms Pin
leppie17-Sep-02 0:32
leppie17-Sep-02 0:32 
Question.NET on other platforms? Pin
Zinj15-Sep-02 19:32
sussZinj15-Sep-02 19:32 
AnswerRe: .NET on other platforms? Pin
James T. Johnson15-Sep-02 21:24
James T. Johnson15-Sep-02 21:24 
GeneralRe: .NET on other platforms? Pin
Elf16-Sep-02 16:26
Elf16-Sep-02 16:26 
GeneralRe: .NET on other platforms? Pin
James T. Johnson17-Sep-02 0:52
James T. Johnson17-Sep-02 0:52 
GeneralRe: .NET on other platforms? Pin
David Stone17-Sep-02 4:22
sitebuilderDavid Stone17-Sep-02 4:22 
GeneralRe: .NET on other platforms? Pin
leppie17-Sep-02 4:49
leppie17-Sep-02 4:49 
AnswerRe: .NET on other platforms? Pin
Stephane Rodriguez.16-Sep-02 2:50
Stephane Rodriguez.16-Sep-02 2:50 
Questionole container in dotnet? Pin
novachen15-Sep-02 18:28
novachen15-Sep-02 18:28 
AnswerRe: ole container in dotnet? Pin
Elf15-Sep-02 18:35
Elf15-Sep-02 18:35 
AnswerRe: ole container in dotnet? Pin
James T. Johnson15-Sep-02 19:30
James T. Johnson15-Sep-02 19:30 
GeneralRe: ole container in dotnet? Pin
Anonymous15-Sep-02 21:36
Anonymous15-Sep-02 21:36 

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.