Re: Launching ActiveX applications from .Net
Matthew Wills <[email protected]> Thu, 1 Feb 2007 09:46:46 +1100
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <OF75C3002C.8CADB682-ONCA257274.007D5171-CA257274.007D5D53@nab.com.au> |
Simon, >> Well kind of destroyed, the GUI terminates, but the process lingers on according to Task Manager. Which process lingers? The .NET or the VB6? Seeya Matthew Wills | Senior Analyst Programmer | Adviser Tools and Services| Financial Planning and Third Party | NAB Technology | Wealth Management Australia |---------+----------------------------> | | Simon Cansick | | | <[email protected]| | | MSON.CO.UK> | | | | | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: [email protected] | | cc: | | Subject: [DOTNET-CX] Launching ActiveX applications from .Net | >--------------------------------------------------------------------------------------------------------------| Chaps, I'm working on a project that requires me to launch legacy ActiveX Exe (VB6) applications from .Net (I'm using C#) I've created a console application that successfully launches my ActiveX applications, but these applications are destroyed when that console application terminates. Well kind of destroyed, the GUI terminates, but the process lingers on according to Task Manager. So I've been trying to find a way of creating a thread, launching my ActiveX, then destroying the 'parent' thread (I believe this is called an orphaned thread), because I don't want the console app to continue. But I've not had much luck. Has anyone got experience in this area? Simon James The contents of this email are confidential to the intended recipient and may not be disclosed. Although it is believed that this email and any attachments are virus free, it is the responsibility of the recipient to confirm this. Smith & Williamson Corporate Finance Limited - A member of the London Stock Exchange. A member of M&A International Inc. http://www.mergers.net Registered in England No. 4533970. Authorised and regulated by the Financial Services Authority Smith & Williamson Investment Management Limited, Registered No. 976145. Authorised and regulated by the Financial Services Authority. Smith & Williamson Pension Consultancy Limited - Independent Intermediary. Registered No. 3133226. Authorised and regulated by the Financial Services Authority. Smith & Williamson Fund Administration Limited, Registered No. 1934644. Authorised and regulated by the Financial Services Authority. Smith & Williamson Limited - A member of Nexia International. Registered in England No. 4534022. Regulated by the Institute of Chartered Accountants in England & Wales for a range of investment business activities. NCL Investments Limited, Registered No. 1913794. Member of the London Stock Exchange authorised and regulated by the Financial Services Authority. Registered Office: 25 Moorgate, London EC2R 6AY Telephone: 020 7131 4000 http://www.smith.williamson.co.uk Nexia Smith & Williamson Audit Limited - A member of Nexia International. Registered in England No. 4469576. Nexia Smith & Williamson Audit Limited is a company registered to carry out audit work and is regulated for a range of investment activities by the Institute of Chartered Accountants in England and Wales. Smith & Williamson Limited is a separate company that provides professional resources and certain services to Nexia Smith & Williamson Audit Limited under the terms of a formal agreement on an armās length basis. Registered Office: 25 Moorgate, London EC2R 6AY Telephone: 020 7131 4000 http://www.nexiasmith.williamson.co.uk All telephone calls are recorded for business purposes. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ This e-mail is sent by or on behalf of the named sender identified above. If: (a) you do not wish to receive any e-mail marketing material from this person in the future, please forward the contents of this email to [email protected] with the word "unsubscribe" in the subject box. (b) you wish to unsubscribe from all central e-mail marketing lists used by our business, please forward the contents of this e-mail to [email protected] with the message "unsubscribe from all central e-mail marketing lists" in the subject box. If you do not forward the contents of this e-mail with your unsubscription then it may not be able to be implemented. The information contained in this e-mail communication may be confidential. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. If you are not the intended recipient of this e-mail communication, please immediately notify us by e-mail to [email protected], or reply by e-mail direct to the sender and then destroy any electronic and paper copy of this message. Any views expressed in this e-mail communication are those of the individual sender, except where the sender specifically states them to be the views of a member of the National Australia Bank Group of companies. Any advice contained in this e-mail has been prepared without taking into account your objectives, financial situation or needs. Before acting on any advice in this e-mail, National Australia Bank Limited recommends that you consider whether it is appropriate for your circumstances. If this e-mail contains reference to any financial products, the National recommends you consider the Product Disclosure Statement (PDS) or other disclosure document before making any decisions regarding any products. The National Australia Bank Group of companies does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus or interference. =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com