B
Boblemar
Hi all!
I've been looking for a simple way to edit my app.config file through my
application to let the users edit their user settings.
The simpliest way is to add a PropertyGrid into a form and then set
SelectedObject to My.Settings (in VB.NET). This works well, but one of
by settings is a printer name... so I want to provide a list of
installed printers to the user.
I read this could be done by create a StringConvertor class and then
assign it to the property. But my problem is that I am not working with
a class of mines, but with app.config. So I don't think it is a good
idea to modify VS generated code...
Any idea?
Thanks,
Bob
I've been looking for a simple way to edit my app.config file through my
application to let the users edit their user settings.
The simpliest way is to add a PropertyGrid into a form and then set
SelectedObject to My.Settings (in VB.NET). This works well, but one of
by settings is a printer name... so I want to provide a list of
installed printers to the user.
I read this could be done by create a StringConvertor class and then
assign it to the property. But my problem is that I am not working with
a class of mines, but with app.config. So I don't think it is a good
idea to modify VS generated code...
Any idea?
Thanks,
Bob