Opening Word Document with KingSoft Office in VB6
Hi,
I have some doubts that need help from exeperts over here
a) Is KingSoft Word compatible with VB6
b) How to open a word document with KingSoft Word using VB6
I also need to know if MSWord installed in that machine.
This is my current code in which it opens with MS Word
If FileExists(string) Then
Set g_oWord = CreateObject("Word.Basic")
g_oWord.AppShow
g_oWord.FileOpen string
Thanks in Advance.
Re: Opening Word Document with KingSoft Office in VB6
Most 3rd party "office suite" apps do not provide an automation interface. Many of those that do either provide a small subset of those of Microsoft products or have their own proprietary object model.
So no, as far as I can tell KingSoft's Windows products do not provide this at all.
But maybe someone else has better information.
Re: Opening Word Document with KingSoft Office in VB6
word basic is pretty dated now in favour of VBA, so should be avoided
you should be able to open any compatible document in kingsoft Word, using Shell command, or shellexecute API, passing the filename as a parameter
but this will provide no automation of the opened document