Is there a way to pull up a windows registry editor within the propertygrid?
I only want to look at the keys and values, not change them.
--
Steve 2 1777
Steve,
If you have a control that does it, or want to create a tree view that
does it, then yes, you can do it. You will need to use the designer
services in order to do this. For more information, check out the article
on MSDN titled "Building Windows Forms Controls and Components with Rich
Design-Time Features", located at (watch for line wrap): http://msdn.microsoft.com/msdnmag/is...Dtimecontrols/
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Steve Teeples" <St**********@d iscussions.micr osoft.com> wrote in message
news:B1******** *************** ***********@mic rosoft.com... Is there a way to pull up a windows registry editor within the propertygrid? I only want to look at the keys and values, not change them. -- Steve
Thanks for responding. I'd like to use a TreeView to show the key values.
Is there some example of how to create such a custom control that can be used
in the PropertyGrid?
"Nicholas Paldino [.NET/C# MVP]" wrote: Steve,
If you have a control that does it, or want to create a tree view that does it, then yes, you can do it. You will need to use the designer services in order to do this. For more information, check out the article on MSDN titled "Building Windows Forms Controls and Components with Rich Design-Time Features", located at (watch for line wrap):
http://msdn.microsoft.com/msdnmag/is...Dtimecontrols/
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Steve Teeples" <St**********@d iscussions.micr osoft.com> wrote in message news:B1******** *************** ***********@mic rosoft.com... Is there a way to pull up a windows registry editor within the propertygrid? I only want to look at the keys and values, not change them. -- Steve This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chris Dunaway |
last post by:
I am using the PropertyGrid and I have set the SelectedObject property to
an instance of my custom class. One of the properties of the custom class
is a bitmap.
The PropertyGrid lets me assign a bitmap ok, but when I want to delete it,
I cannot do it.
For example, in Visual Studio when you set the background image for a form,
you can highlight it and press delete to clear the property. But for my
own class and the PropertyGrid, it...
|
by: Pol Bawin |
last post by:
Hi All,
One :
I have a property that get/set a array of an abstract class A
By default my array is null
In the propertygrid, It is not works correctly when my array is null. (when
my array is initialized with one element it works fine)
But I can not change the initial state of the array. It must be null.
what must I change.
|
by: Frank Rizzo |
last post by:
I added a PropertyGrid control to my form and set its SelectedObject
property to one of my objects which exposes a lot of properties of type
System.Drawing.Color. The System.Drawing.Color display fine, but they
don't have a dropdown where I can select a new color, like in the VS.NET.
How can I help the PropertyGrid display dropdowns for
System.Drawing.Color properties?
Thanks
|
by: Victoria |
last post by:
Setting the Editor attribute for a property which is to be displayed
in a PropertyGrid does not work. Instead of displaying a custom
editor the PropertyGrid field appears disabled. I have tried the
following code which is posted as a MSDN example and this does not
work either:
The full example code can be downloaded from :
|
by: ANDRES BECERRA |
last post by:
Herfried K. Wagner was kind enough to point me to the PropertyGrid control
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformspropertygridclasstopic.asp
I have found a few samples of how to use the PropertyGrid control and have gained a decent understanding of it. But of course, as it usually the case, my needs go far beyond the simple examples shown in online samples. All the online samples show how to take a class...
| |
by: Bernie Yaeger |
last post by:
How can I set the browsableattributes of the control that has been selected
(selectedobject) by the propertygrid?
Here's what I'm after - I want to open a form with a propertygrid in it.
The selectedobject will be the form itself. I want the user to change
certain properties, thus changing the form. This works fine, but what I
really want is to take the changes and lock them into a config file, such
that this pc will then display all...
|
by: Ron M. Newman |
last post by:
Hi,
Simple imaginary problem:
1) I have a class with three integers in it.
2) An object of this class is a member of a class I will submit to a
propertygrid
3) I want to have a custom dialog box to edit this structure
4) I want this dialog box to be launched from the "..." custom editor button
of a property grid.
|
by: Rohan |
last post by:
I need to use the Collection editor of the propertyGrid, but i can't
this to work, i looked around on the NET on collection and I am kinda
lost. i have this so far, i don't know what i should do next
Thank you
Public class frmColor
Dim xColors As New myColors
|
by: JerryShaw |
last post by:
Problem: create a new winform app in C# VS2008.
Drop a PropertyGrid component, Drop a DataSet (untyped)
Set the PropertyGrid.SelectedObject to the DataSet.
Run the application, and try to select the table editor.
Can not bring up the tables collection editor
Drop a DataGridView, set the PropertyGrid.SelectedObject to the DataGridView.
Can not access the Columns collection.
A little history, I am building a Form Designer. I want to...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |