Hi Cetin,
I realize this is bringing up an OLD thread <G>, but in it you mention a file named wdconst.h. Where did you get that file? This is an area I have struggle with in OLE development. Where to get the header files? I can use the VB Object Browser to create individual #DEFINEs, but it becomes a REAL pain. I downloaded GetConstants from WestWind, but got an error running it. Perhaps it doesn't support OLBs. I have posted a query on WestWind's support board concerning that.
>Hope the code below helps.
>WAIT window nowait "Creating Word Document.Please wait..."
>* Word constants header file
>#include "wdconst.h"
>#DEFINE NL chr(13)
>#DEFINE TABULATE chr(9)
TIA for ANY help/direction you can give me!
Bill Armbrecht
VFP MCP