News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

msword+objasm32

Started by s0rg, January 10, 2008, 07:25:55 PM

Previous topic - Next topic

s0rg

I'm fully noob in com/object programming, but i need this code to work, please help me.

[attachment deleted by admin]

Biterider

Hi sOrg
this is really an advanced topic. What you are missing is the interface definition files for MSWord. Until you just have them, I recommend to use Japheth's COMView to generate and manually adjust the synthax to use them for OA32.

It will be a long road, so check first if really want to use asm/COM for it.

Regards,

Biterider

s0rg

Thanks for your answer, i already have them (Word.inc + Wordc.inc + Office.inc includes). Can you show me the rigth way?
What i want: Start hidden MS Word (it works) +  Open .doc file (but it doesnt) + Whith power of Find.Exec interface change some stings in it+
Save this file under a diferrent name (doesnt work too) + Close MS Word (it works). Can anybody help me now? In Masm i trust :)

P.S. If someone have examples how to do this without objasm32, (using COMCALL or other way) please post them too :)

Biterider

Hi s0rg
Check your PM's. I'll try to help.

Regards,

Biterider

Draakie

I came across a COM implementation written by our very own JAPHETH. Ca'nt remember if he
posted it here..... but anyway here's the link. This one's for Excel, but the basics should be the
same for WORD, or so I imagine.

http://www.japheth.de/Download/ExcelHost.zip
Does this code make me look bloated ? (wink)

s0rg

With great help of Biterider, i finally did it!

[attachment deleted by admin]