Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and Word
Message
From
04/12/1999 09:47:17
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00255062
Message ID:
00298642
Views:
20
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform