CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: ENTER key

  1. #1
    Join Date
    Nov 1999
    Posts
    15

    ENTER key

    i need the ascii code for the ENTER key
    or
    i need the command like "VBKeyE" just instead the "E" i need it for the "ENTER" key
    thanxxx


  2. #2
    Join Date
    Oct 1999
    Posts
    25

    Re: ENTER key

    The VB name is vbKeyReturn, the ascii code is 13. If you want to simulate a carriage return with code ... you need to add the linefeed code which is 10, for example, txtMyText = "Hello World" + Chr$(13)+ Chr$(10)

    Sky1000


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

Featured