|
||||||
| Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Getting ActiveX Control To Send to AbiWord not MSFT Word
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 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? |
|
||||
|
Re: Getting ActiveX Control To Send to AbiWord not MSFT Word
Renaming the executable is unlikely to change the process name the executable provides to the system.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Programming is a branch of mathematics. My CodeCall Blog | My Personal Blog |
|
|||
|
Re: Getting ActiveX Control To Send to AbiWord not MSFT Word
I was hoping that wasn't the case. But, is there any way to change the name the executable provides the system? Any work around here? My other plan is to just rewrite the ActiveX file (I've used PE explorer to find the TYPE library). Are there any reverse engineering programs that could perhaps provide the code for that Active X file? Since it seems that there are only a couple of functions that even call MSFT word, if I could just replace the calls to word with calls to abiword, or to openoffice, then everything else could be left as is.
Am i on the right path or no? |
|
||||
|
Re: Getting ActiveX Control To Send to AbiWord not MSFT Word
A hex editor may work.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Programming is a branch of mathematics. My CodeCall Blog | My Personal Blog |
|
|||
|
Re: Getting ActiveX Control To Send to AbiWord not MSFT Word
Ok, I downloaded a decent Hex Editor...but how does this help me find the actual source code? It is usefull for information, especially seeing what strings are in what memory locations...but Is there some way to find the actual programming code?
I'm pretty sure it's written in VB, since it's an activeX control. |
|
||||
|
Re: Getting ActiveX Control To Send to AbiWord not MSFT Word
The Hex Editor will not show you the programming code. You would need a decompiler for that. You can download the source code for AbiWord and modify it that way, or look for the identifier string with the Hex Editor and change it that way.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Programming is a branch of mathematics. My CodeCall Blog | My Personal Blog |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Guess The Word. | Paradox | Java Tutorials | 5 | 01-16-2009 10:48 AM |
| Windows Shortcut List - Saves Time | 2stamlers | The Lounge | 6 | 04-10-2008 07:58 AM |
| Disable ActiveX control with Javascript | gszauer | Javascript | 1 | 12-21-2007 02:21 PM |
| Dictonary Program | programmer 101 | Java Help | 9 | 07-01-2007 02:39 PM |
| NuCDR ActiveX Control | Kernel | Software Development Tools | 0 | 09-25-2006 06:41 PM |
All times are GMT -5. The time now is 08:16 AM.
Amrosama.cc
Arekbulski.cc
Debtboy.cc
Guest.cc
Jaan.cc
James.cc
Mathx.cc
Tsz.cc
Vswe.cc