Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
I'm using KSO (KingSoft Office) spreadsheet in my vb.net 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..
 
Thanks,
Thams
Posted 12-Jun-13 1:50am
thams1.3K
Edited 7-Jul-13 20:18pm
v2
Comments
ThePhantomUpvoter at 12-Jun-13 6:55am
   
The Kingsoft support people likely know....
thams at 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
0 OriginalGriff 200
1 PIEBALDconsult 150
2 BillWoodruff 148
3 Jochen Arndt 135
4 DamithSL 130
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 8 Jul 2013
Copyright © CodeProject, 1999-2014
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