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

.NET (Core and Framework)

 
Questionhow to import a dll in Windows Service Pin
ramyasangeet15-Jan-07 19:39
ramyasangeet15-Jan-07 19:39 
AnswerRe: how to import a dll in Windows Service Pin
Phillip M. Hoff16-Jan-07 17:40
Phillip M. Hoff16-Jan-07 17:40 
Question.net assembly which in which I put an activeX control Pin
indian14315-Jan-07 19:26
indian14315-Jan-07 19:26 
QuestionWindows Form UI and Thread Safety on Controls Pin
Yadrif15-Jan-07 7:08
Yadrif15-Jan-07 7:08 
AnswerRe: Windows Form UI and Thread Safety on Controls Pin
Dustin Metzgar17-Jan-07 8:11
Dustin Metzgar17-Jan-07 8:11 
QuestionPlease Guide Me Pin
Ashish Porwal15-Jan-07 5:11
Ashish Porwal15-Jan-07 5:11 
AnswerRe: Please Guide Me Pin
Sachin Pimpale15-Jan-07 22:56
Sachin Pimpale15-Jan-07 22:56 
QuestionHow to hide a property at runtime... Pin
Ray Cassick14-Jan-07 6:56
Ray Cassick14-Jan-07 6:56 
I am designing a control that will be manipulated BOTH at run time and design time through a property grid. I have some properties that I would like to hide form the run time property grid as they are not part of my run time interface so to speak (IE: Have no bearing on the run time user experience).

I see this happening already because at run time, when I attach the property grid I am not seeing any of the properties that are in the native 'Design' property category so I know it can be done.

I have tried the simple thing of just putting my properties that I want hidden in that same category but no dice.

I found an attribute called 'DesignOnly' that seemed promising but it does not do what it sounds like it does. MS docs say that it can be used to make a property read only at design or run time, not make it invisible. I found an article in Visual Studio Magazine that seems to indicate different however and have written the author asking him. His article says the following:

"The convenient design-time–only DisplayImageIndex property lets control users pick which image to show. You can apply two attributes to this method's declaration: <category ("design")=""> tells the Visual Studio Properties browser where to list the property, and <designonly(true)> hides it at run time."

Are there any takers out there?

Before you reply here, I already now that you can use the 'Browsable' attribute and hide the property, but this hides is from BOTH design time and run time property grids.




AnswerRe: How to hide a property at runtime... Pin
Scott Dorman14-Jan-07 16:48
professionalScott Dorman14-Jan-07 16:48 
QuestionNavigate to an html file included as a resources Pin
Allad13-Jan-07 21:01
Allad13-Jan-07 21:01 
AnswerRe: Navigate to an html file included as a resources Pin
Luc Pattyn13-Jan-07 22:45
sitebuilderLuc Pattyn13-Jan-07 22:45 
AnswerRe: Navigate to an html file included as a resources Pin
Scott Dorman14-Jan-07 3:42
professionalScott Dorman14-Jan-07 3:42 
QuestionSettings file write error Pin
Allad13-Jan-07 10:18
Allad13-Jan-07 10:18 
AnswerRe: Settings file write error Pin
Nader Elshehabi13-Jan-07 11:25
Nader Elshehabi13-Jan-07 11:25 
GeneralRe: Settings file write error Pin
Allad13-Jan-07 12:56
Allad13-Jan-07 12:56 
AnswerRe: Settings file write error Pin
Luc Pattyn13-Jan-07 19:50
sitebuilderLuc Pattyn13-Jan-07 19:50 
Question[Message Deleted] Pin
code_wiz13-Jan-07 2:59
code_wiz13-Jan-07 2:59 
AnswerRe: .NET 3.0 install in production machine aong with VS 2005 (.NET 2) Pin
Kevin McFarlane13-Jan-07 9:18
Kevin McFarlane13-Jan-07 9:18 
GeneralRe: .NET 3.0 install in production machine aong with VS 2005 (.NET 2) Pin
code_wiz13-Jan-07 9:22
code_wiz13-Jan-07 9:22 
GeneralRe: .NET 3.0 install in production machine aong with VS 2005 (.NET 2) Pin
Kevin McFarlane13-Jan-07 11:15
Kevin McFarlane13-Jan-07 11:15 
Questioni Want to create a virtual network for testing a Network monitoring system Pin
Junaid Kazi12-Jan-07 20:33
Junaid Kazi12-Jan-07 20:33 
AnswerRe: i Want to create a virtual network for testing a Network monitoring system Pin
Dave Kreskowiak13-Jan-07 5:38
mveDave Kreskowiak13-Jan-07 5:38 
QuestionProblem in WSDL Webservice????? Pin
Nithin Krishna12-Jan-07 18:26
Nithin Krishna12-Jan-07 18:26 
AnswerRe: Problem in WSDL Webservice????? Pin
Junaid Kazi12-Jan-07 20:35
Junaid Kazi12-Jan-07 20:35 
GeneralRe: Problem in WSDL Webservice????? Pin
Nithin Krishna12-Jan-07 22:35
Nithin Krishna12-Jan-07 22:35 

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.