hi,
i agree w wat u said, there is a type mismatch, but to use setpixel, i need to provide the hdc where the pixels are to be set. So in this case, i wan to draw it on the form, and since i cannot use Me.hDC, wat do u suggest i do?
regards,
FT :)
hi,
when i execute the above codes in MS access, why does it give me a "variable not defined" error referring to the hDC variable?? i tot its already declared on top?
wat i have in Visual basic is as shown below.. however, i wan to know how i can get it done in VBA... if i am correct, VBA doesnt recognise hDC, does tat mean i cant use SetPixelV?? so how can i create a control to use hdc? thks
Option Explicit
Private Declare Function SetPixelV Lib "gdi32"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.