>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!
Hi Bill,
The original file is wc0993.exe from MS site (unfortunately don't know the exact link). It contains all Office constants in .BAS files. I opened them and did a replace ("global constant" to "#define", "=" to " "), saved under filenames I choose (wdcons.h, xlconstants.h etc).
I think they're also here in files section. Currently I don't have acces to my emailer nor my own machine. If you cannot find inform me and I'll email them to you ASAP.
Cetin