|
-
Sep 2nd, 2002, 05:49 PM
#1
Thread Starter
Hyperactive Member
Closing an application from within an OCX
Hi,
I have a a VB exe that calls an OCX project. Since you can't use the command "end" inside an OCX, how do you completely unload all projects within the application?
I currently unload all the open objects in the OCX but that still leave the Exe project active in memory.
I hope the question makes sense.
Thanks
"The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.
Windows & Web Developer
Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
Sutherland Shire, Sydney Australia
www.stingrae.com.au
Developer of Arnold - Gym & Martial Arts Database Management System
www.gymdatabase.com.au
-
Sep 3rd, 2002, 09:36 AM
#2
KING BODWAD XXI
If You Can Get the Handle On The Exe Then You Can Use The
Public Declare Function CloseHandle Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Long) As Long
API Call
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
|