Click here to Skip to main content
13,006,195 members (78,895 online)
Rate this:
Please Sign up or sign in to vote.
I'm using KSO (KingSoft Office) spreadsheet in my winforms application. In some machines Microsoft excel has been installed and in some KSO. I'm able to identify what is installed. And if Microsoft excel is installed I create and excel application through code and get the window handle like

Dim oa = New Microsoft.Office.Interop.Excel.Application
ExcelWnd = oa.Hwnd

Like this I need to get the handle to KSO spreadsheet application. I've created KSO as

Dim oaKSO = New ET.Application

But osKSO.Hwnd or similar property is not available.
How to get that?

As a workaround...
I'm able to create ET.Application.
Is it possible to get the handle through looping the process list or some thing related to processes like getProcessByID etc..?

Or any other win32 functions..

Posted 12-Jun-13 0:50am
Updated 7-Jul-13 19:18pm
ThePhantomUpvoter 12-Jun-13 6:55am
The Kingsoft support people likely know....
thams 14-Jun-13 2:06am
Already posted in their forums, but no luck.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170628.1 | Last Updated 8 Jul 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100