|
-
Jun 27th, 2002, 09:40 AM
#1
Thread Starter
Junior Member
Two small problems in .NET
1) When creating a menu, if i place a & before the letter, the underlined letter appears in the development environment but does not appear when I run the program. Is this a bug or some other problem?
2) How do you modify the major and minor version numbers in Environment.version object?
This code is not allowed since the Major and Minor elements are "read-only" according to the compiler
Environment.Version.Major = 0
Environment.Version.Minor = 1
Any help would be appreciated. Thanks.
I'm such a newb at this...
-
Jun 27th, 2002, 09:45 AM
#2
2)edit the assemblyinfo.vb file
look for
<Assembly: AssemblyVersion("1.0.*")>
just edit it accordingly. The * means it will auto generate the build and revision.
-
Jun 27th, 2002, 09:50 AM
#3
To get the underline, just push alt when the program is running.
This is a "feature" of .net....
-
Jun 27th, 2002, 09:56 AM
#4
Thread Starter
Junior Member
That's a FEATURE????
Man, now i know why i've stuck with UNIX programming for so many years...
-
Jun 27th, 2002, 02:23 PM
#5
I don't believe that's a feature of .NET.
It is a feature of Windows 2000 and Windows XP, and it can be disabled.
In WinXP, I disable it by going to the Display Properties window and clicking Appearance. Then I click the Effects button. There should be a checkbox in there for enabling or disabling "Hide underlined letters for keyboard navigation unless...".
I forgot how to disable it in Win2k. Try checking somewhere in either the Folder Options window or the Display Properties window.
-
Jun 27th, 2002, 03:41 PM
#6
That is cool to know. I never noticed it till I was using .Net, just thought it was something new they threw in there.
-
Jun 27th, 2002, 05:07 PM
#7
Win2k would be right-clicking desktop, properties, effects, last option on effects tab.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|