Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel object model
Message
From
05/10/2001 07:55:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00563338
Message ID:
00564682
Views:
17
Della,

Well, I did get the numeric constant eventually. I don't remember whether it was with the object browser (Excel). I just meant to say that this part is a little more tricky, or more detailed work, than the rest of the conversion.

The comments about the .h files look very interesting. Thank you.

Hilmar.

>There are several places to get these. First is opening an Object Browser (either in Excel '95 or later, or in VFP7). Type in the name of the constant and it shows you the constant's value.
>
>Another way is to get a product that reads the type library. Rick Strahl has a nice one called GetConstants at www.west-wind.com. It finds all the constants, and creates a loooooong VFP .h file. You'll want to keep this file on your disk somewhere, but the one you actually attach should be a short version using only the groups of constants you need, unless you like your source code to take very long to save and compile.
>
>Lastly, search the UT and I'm sure there are .h files out there listing all the constants.
>
>HTH,
>
> - della
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform