Results 1 to 7 of 7

Thread: Two small problems in .NET

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2002
    Posts
    16

    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...

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    hellswraith
    Guest
    To get the underline, just push alt when the program is running.

    This is a "feature" of .net....

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jun 2002
    Posts
    16
    That's a FEATURE????

    Man, now i know why i've stuck with UNIX programming for so many years...

  5. #5
    Tygur
    Guest
    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.

  6. #6
    hellswraith
    Guest
    That is cool to know. I never noticed it till I was using .Net, just thought it was something new they threw in there.

  7. #7
    Thithimos
    Guest
    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
  •  



Click Here to Expand Forum to Full Width