Hex Numbers in FileNameOptions.

If you are a VFP developer and have any questions about using our products from VFP here is the place to post them.
Post Reply
cr
Posts: 2
Joined: Thu Dec 05 2002

Hex Numbers in FileNameOptions.

Post by cr »

I always get a "OLE Error: 0x8002000a out of present range " error when using .FileNameOptions that have a large hex value from Foxpro 6.0 (such as the "EmbedLicensedFonts" option 0x400000)

How should I pass these. I get errors when using both Hex and Decimal

(In Hex)
oPDF.FontEmbedding = .T.
oPDF.FileNameOptions = 0x1 + 0x2 + 0x10 + 0x80 + 0x200 + 0x400000

(In Dec)
oPDF.FontEmbedding = .T.
oPDF.FileNameOptions = 1 + 2 + 16 + 128 + 512 + 4194304

I'm assuming this should do the following:
-Font Embedding enabled
-NO Prompt
-Use FileName
-Embed Fonts (is this already take care of with Font Embedding Property?)
-Use Multilingual
-FullEmbed
-EmbedLicensedFonts


Thanks for the help
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Try to use FileNameOptionsEx instead of FileNameOptions, this will help.

have a nice day.
Post Reply