Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language:
Expertise: Beginner
Aug 6, 1997

32-Bit GetModuleUsage Workaround

I have found a solution to the problem of GetModuleUsage not working in 32-bit VB4. The TaskID returned by Shell can be used by AppActivate like this:

 
        TaskID = Shell("DOSAPP.EXE", _
                vbNormalFocus)
        On Error GoTo finished
        While True
                DoEvents
                AppActivate TaskID
        Wend
finished:
        On Error GoTo 0



John Muir
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap