Programatically uncheck a property in desktop/properties/display/

G

Guest

I just discovered that if I set an accelerator letter on a button it won't
display the accelerator underline unless the

"Desktop/Properties/Display/Effects/Hide Keyboard Navigation Indicators
Until Use the Alt Key"

property has been unchecked. This property is checked by default. All of
the workstations at my place that would use a vb.net app I create are using
Windows 2000. When I deploy a vb.net app to a workstation is there a way for
the app to programactically uncheck this property?

While I'm at it, is there a way to deploy a vb.net app and have it install
the .Net Framework if the framework is not already loaded on that
workstation? Or do I have to do that manually?

Thanks,
Rich
 
A

alantolan

I really wouldn't do this.

The hide/not-hide setting is a user preference and not really related
to your application. It would be the equivalent to changing the Windows
Explorer settings to 'show all file extensions' when people have 'Hide
Extensions for known file types' checked.

The newer versions of windows offer this 'Hide Keyboard...' option (I
believe that it is by default, on) and we're stuck with it.

If one has a UI Standards doc that says that Keyboard Accelerators need
to be provided - well they have been provided. Pressing ALT, displays
them. This is different than it used to be, but things have changed.

Really, if you can in any way avoid having to to do this I would.

Alan.
 
G

Guest

Rich said:
the workstations at my place that would use a vb.net app I create are using
Windows 2000. When I deploy a vb.net app to a workstation is there a way for
the app to programactically uncheck this property?

What's so special about your app that you feel it's necessary to override
the user's desktop preferences? Bad idea. I get pissed that the Citrix ICA
client turns off my "Show Window Contents While Dragging" option and doesn't
restore it when it's done.

Five seconds of Googling found this link for your problem:
http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/1c6f5d78eb342a10
 
G

Guest

Thanks all for your replies and suggestions. I guess I will leave it to the
users if they want to see the accelerator underscores or not.

Thanks again,
Rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top