Click here to Skip to main content
15,896,201 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionHow do I change the icon on the dialog? Pin
adonisv29-Jan-04 20:15
adonisv29-Jan-04 20:15 
AnswerRe: How do I change the icon on the dialog? Pin
Mike Ellison30-Jan-04 5:50
Mike Ellison30-Jan-04 5:50 
GeneralRe: How do I change the icon on the dialog? Pin
Dan Broomall30-Jan-04 9:30
Dan Broomall30-Jan-04 9:30 
GeneralRe: How do I change the icon on the dialog? Pin
adonisv5-Feb-04 9:19
adonisv5-Feb-04 9:19 
GeneralRe: How do I change the icon on the dialog? Pin
Dan Broomall5-Feb-04 9:45
Dan Broomall5-Feb-04 9:45 
GeneralPossible memory leak in System.Windows.Forms (Icon property) Pin
Palladino29-Jan-04 8:47
Palladino29-Jan-04 8:47 
QuestionHow to tell if I have SP1 or SP2 installed on th box? Pin
Anonymous29-Jan-04 8:35
Anonymous29-Jan-04 8:35 
GeneralGetting a custom components' parent Pin
2sky29-Jan-04 4:55
2sky29-Jan-04 4:55 
Can anyone help me with this one, I'm all out of ideas Sigh | :sigh:

I have a custom Component deriving from Component. This component also implements the IListSource interface.

The most important method I have to implement for this is GetList();

In the GetList method I need to obtain the parents type where my component is placed on. In this case a standard form derived from System.Windows.Forms.Form.

I tried to do the following:

IDesignerHost host = Site.Container as System.ComponentModel.Design.IDesignerHost;

With the host I have now, I can get the RootComponent, BUT, and now comes the problem, the RootComponent is at that time the baseclass of the actual parent object. So I get System.Windows.Forms.Form instead of my derived parent class' type.

I've discovered that this is because the designerhost is at that moment still in the loading state. The problem is that the GetList() is called before the loading state finishes and by the time the host is fully loaded, it it already too late, GetList isn't called again.

Can anyone help me with this ?
I'll be worshipping you until the end of my days Wink | ;)
Questionhow to Include Dotnet Framework in my project msi Pin
payal sheth29-Jan-04 1:46
payal sheth29-Jan-04 1:46 
AnswerRe: how to Include Dotnet Framework in my project msi Pin
devvvy29-Jan-04 1:56
devvvy29-Jan-04 1:56 
GeneralRe: how to Include Dotnet Framework in my project msi Pin
devvvy29-Jan-04 1:57
devvvy29-Jan-04 1:57 
GeneralRe: how to Include Dotnet Framework in my project msi Pin
Anonymous1-Feb-04 21:12
Anonymous1-Feb-04 21:12 
GeneralRe: how to Include Dotnet Framework in my project msi Pin
Terrence J. Joubert1-Feb-04 23:51
Terrence J. Joubert1-Feb-04 23:51 
GeneralRe: how to Include Dotnet Framework in my project msi Pin
Norman Fung2-Feb-04 0:02
Norman Fung2-Feb-04 0:02 
AnswerRe: how to Include Dotnet Framework in my project msi Pin
godzooky2-Feb-04 4:53
godzooky2-Feb-04 4:53 
GeneralCOM extended - Excel Pin
Praveen Nayak28-Jan-04 17:42
Praveen Nayak28-Jan-04 17:42 
GeneralDrawImage blurs when resizing image Pin
Michael Menne28-Jan-04 10:18
Michael Menne28-Jan-04 10:18 
GeneralSetting HWND handle to a .NET Windows form Pin
MrBean27-Jan-04 22:04
MrBean27-Jan-04 22:04 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
Serge Lobko-Lobanovsky27-Jan-04 22:35
Serge Lobko-Lobanovsky27-Jan-04 22:35 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
MrBean27-Jan-04 22:39
MrBean27-Jan-04 22:39 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
Serge Lobko-Lobanovsky27-Jan-04 23:10
Serge Lobko-Lobanovsky27-Jan-04 23:10 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
MrBean27-Jan-04 23:45
MrBean27-Jan-04 23:45 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
Serge Lobko-Lobanovsky28-Jan-04 0:13
Serge Lobko-Lobanovsky28-Jan-04 0:13 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
MrBean28-Jan-04 0:41
MrBean28-Jan-04 0:41 
GeneralRe: Setting HWND handle to a .NET Windows form Pin
Duncan Edwards Jones28-Jan-04 2:40
professionalDuncan Edwards Jones28-Jan-04 2:40 

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.