Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to a PDF with wwPDF
Message
 
 
To
11/07/2001 16:59:35
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00529448
Message ID:
00529498
Views:
13
The constant HKEY_CURRENT_USER is defined in the include file WCONNECT.H. See the first line of wwPdf.prg
#INCLUDE WCONNECT.H
Make sure that the file WCONNECT.H is included in your project.

>I was using the wwPDF class to print to a PDF with Windows 98 and Acrobat Reader 4.0 and it worked beautifully. My code is:
>
> SET PROCEDURE TO WWAPI ADDITIVE
> SET PROCEDURE TO WWPDF ADDITIVE
> oPDF=CREATE("wwPDF40")
> oPDF.PrintReport("MyReport.frx","F:\TEMP\MYFILE.PDF","")
>
>Now I got a new computer with Windows 2000 and I'm getting an error. The error is "Variable HKEY_CURRENT_USER is not found" coming from the Init of wwPDF40. How can I get this to work with Windows 2000?
>
>Thanks,
>Elyse
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform