Click to See Complete Forum and Search --> : Trouble using Api call from Sub Main()?
amitabh
Dec 21st, 2000, 07:49 AM
I am having trouble in calling StrechBlt from Sub Main(). It produces no effect, while the same code in a command button on the form executes the code perfectly. I am calling StretchBlt just after showing the form in my sub main.
YoungBuck
Dec 21st, 2000, 09:16 AM
The Sleep function is completely different from DoEvents. Sleep completely halts your app until the requested time is up. DoEvents allows other processes to complete their code and then runs the code directly following it.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.