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