Results 1 to 3 of 3

Thread: Vista scare

  1. #1

    Thread Starter
    PowerPoster make me rain's Avatar
    Join Date
    Sep 2008
    Location
    india/Hubli
    Posts
    2,208

    Question Vista scare

    my first ever project
    with vb6 + access03;

    i recently red the article on this forum " modifications required to install application on vista" thanks for cautions
    but kindly advise.

    (1) i am using this function to search in list box.

    Private Declare Function SendMessage Lib "User32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Integer, ByVal wParam As String, lParam As Any) As Long

    Const LB_FINDSTRING = &H18F

    (2) i am using sendkeys to trap tab key with enter key
    (3) i am using ADO 2.7 i don't have ADO 2.8
    (4) i am using data grids and combo , list box controls
    (5) i am using some images (.gif and .bmp files)

    is my application is going to work error free
    please advise any if any alternative code's / controls that i should use instead please.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Vista scare

    Most of what you listed is fine, but not this:
    (2) i am using sendkeys to trap tab key with enter key
    As shown at the top of the FAQ article, that is a problem - and was a bad idea in the first place, as it is unreliable (you can't be certain where the keys are being sent to).

    Depending on the circumstances, you may be able to replace it with something simpler, or you may need to use the API equivalent of SendKeys (which you can find in the CodeBank).

  3. #3

    Thread Starter
    PowerPoster make me rain's Avatar
    Join Date
    Sep 2008
    Location
    india/Hubli
    Posts
    2,208

    Question Re: Vista scare

    sir thank you.
    i will try it in code bank for send keys

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