This is my first post, so first I'd like to say hello. Hello! Ok, on to the question:
At work, we use a web based program that has an ActiveX control that, when a user clicks the "Sign" button, the Active-X control launches word and transfers the data from the web server to microsoft word located on the users computer. The ActiveX control uses two functions to start and check that word is running: StartWord and IsWordRunning.
Example of IsWordRunning
I don't have an example of the StartWord function, unfortunately.Code:Private Function IsWordRunning() As Boolean Dim pWord As System.Diagnostics.Process() = System.Diagnostics.Process.GetProcessesByName("winword") If pWord.Length >= 1 Then Return True Else Return False End If End Function
My question is: Is there any known way to trick the ActiveX control into thinking that winword.exe is running, for instance by running Abiword (free word processor program, but renaming the abiword executable file to winword.exe. I know that the when data is sent from the web server to microsoft word, it comes as a formatted RTF document, which is saved in a temp file. Obviously, Abiword will open RTF files. The only problem is, when I click the button to begin the transfer, I get an error saying "cannot start word."
Also, I have already tried renaming abiword.exe I've also placed both those files and their associated dll files in the Microsoft/Office directory, and it didn't help.
Any ideas?


LinkBack URL
About LinkBacks




Reply With Quote



Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum