Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending a VFP report to a word processor
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00361024
Message ID:
00362449
Views:
16
>Terry:
>
>I just went tried some other options and found something interesting: Instead of using the CURDIR() call in specifying a SaveFolder ("oF2W.SaveFolder=CURDIR()" in the example in the documentation) (I was using it just to test the class), I used a literal string ("D:\PROJECTS\TESTFILES") and it worked fine. Maybe there is a wrong macrosubstition in the SaveFolder() code...I haven't looked. In any event, it worked with that change, eliminating the CURDIR(). Go figure.
>

It makes sense - Word doesn't know about CURDIR(). Try:

SaveFolder ("oF2W.SaveFolder="+CURDIR())


>Of course, I am at a different location now, so I can't eliminate all the possible co-factors. FWIW the earlier workstation was Win 2000 and this one is NT 4.0. I ran them both from the same VFP 6.) in Visual Studio 6.
>
>Thanks for your interest.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform