|
-
Jul 16th, 2009, 10:09 AM
#1
Thread Starter
PowerPoster
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.
-
Jul 16th, 2009, 10:16 AM
#2
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).
-
Jul 16th, 2009, 10:24 AM
#3
Thread Starter
PowerPoster
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|