Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API function for closing other applications
Message
 
To
04/05/2000 04:52:10
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00365986
Message ID:
00366031
Views:
15
>Pls. help me...
>I need a way to close mIRC sessions from VFP5. IF any API function can do this job, pls. show me the function declarations and an example of how to use it.
>
>The other day I was given the following from Ed Rauh:
>oShell = CREATEOBJ('Shell.Application')
>FOR Each oIEWin in oShell.Windows
> oIEWin.Quit()
>ENDFOR
>
>the above statements work nice for closing Internet Explorer but I also want to know how to close mIRC sessions.
>
>Thanks a lot & regards,

Clarisa,

You don't need to load Foxtools to access the Win32 API. Look at my FAQ in the UT KB under Win32 and Other APIs, titled, "How do I close another application" (FAQ#7773).
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform