473,799 Members | 2,936 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Programatically uncheck a property in desktop/properties/display/

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 programacticall y 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
Nov 21 '05 #1
3 1481
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.

Nov 21 '05 #2
"Rich" wrote:
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 programacticall y 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/micros...6f5d78eb342a10

Nov 21 '05 #3
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

"Rich" wrote:
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 programacticall y 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

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
12607
by: deko | last post by:
I have two subforms within a particular form. The one on top is a datasheet of transactions; the one on the bottom is a summary of totals. I would like to have the datasheet fill the entire parent form until a command button is clicked, then have the datasheet form shrunk to half it's original height and have the totals summary form appear below it. The totals summary sheet, then, would not be visible until the command button is clicked,...
10
16157
by: PC Datasheet | last post by:
How can I programatically set the startup form when the database opens? Thanks! Steve
5
9863
by: Ram [MSFT] | last post by:
Hi All, I'm trying to programatically (using c#) read the file properties (Title, Summary, Author, Comments etc.... The stuff that shows up on the Summary tab when you see the properties of a file). FileInfo and FileSystemInfo classes expose only the standard properties (create time, mod time etc..). Any pointers would be greatly appreciated. Thanks, Ram Thiru
10
7191
by: Ding Dang | last post by:
I have been using Delphi for a few years, now using Delphi8 and VC#. I just had a preview on VC# 2.0. I was wondering why there is no array property? While there is in VB.net, Delphi.net and IL. For example, in Delphi, I could have tStringsObject.strings; tStringsObject.values;
2
2050
by: John | last post by:
Hi, heres a brief description of what I'm trying to do. I have a sql table named colors that looks like this: color_id color_name 1 blue 2 red 3......... and so on
3
1627
by: Eranga | last post by:
Hi! I want to change and setup Properties of the Indexing service catalogs programatically. Generation property, abstraction property and any other property of catalogs should b ealtered from my code. I use C#.net . Could any one of m etell how I can achieve this. I am OK with programinatically create catalogs add scopes and queries etc.. I would b every gratefull if some one of you could please show me the way. Thanks in Advance.
4
1599
by: stb | last post by:
I have an empty asp:table on a form. Rows and cells in the rows are added programatically. At the end of each row, there is a cell with a button inside it. How do I catch the button's click event? dim dr as sqlDataReader Dim tempCell As TableCell dr=........
2
4687
by: letibal | last post by:
Hello, I have written a windows service and created an installer for it. The service runs under the system accounts. When started, it launches a GUI. By default, the InteractiveProcess property of the service is not set (this can be checked by right-clicking on the service in the Services window (Admin tools>Services), choosing Properties, LogOn tab). In order to enable my service to launch a GUI at startup, I added the following lines...
5
1880
by: GH | last post by:
Is it possible to display images on the desktop itself, like the bacground but not as a background? And not as icons either. Anything you put in the \Desktop folder shows up as an icon on the desktop, but i want to display images directly on the desktop surface. XP / VB.Net --GH
0
9540
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10475
Oralloy
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...
0
10250
jinu1996
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...
1
10222
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,...
1
7564
isladogs
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...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4139
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.