Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Paste a pic
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01094417
Message ID:
01095425
Views:
30
This message has been marked as the solution to the initial question of the thread.
You are still going to have to save the image somewhere. You can drop an image on the report and instead of entering a path/file name, enter the name of a field in a cursor, e.g. cPicture. Make sure you still indicate "File" as the picture source.

Save the picture to a file .. and place the path/file name in the cPicture field in the cursor. When the report prints, it will evaluate the field, and find the file indicated.

Cathy

>Run time - The user would create the screen shot and when the user ran the report, the screen shot would automatically be pasted into the report and printed.
>
>>I'm a little unclear on whether you want to paste the image at design-time or paste an image at runtime.
>>
>>In any event .. the best thing is to save the picture as a BMP, JPG, or other graphic type. On the report designer, bind to the saved image.
>>
>>Cathy
>>
>>
>>>I have a report. On that report I want to have an olebound image. I want to automatically paste the clipboard contents (a screenshot) into the olebound image.
>>>
>>>Is that do-able?
>>>
>>>
>>>this.PictureVal = STRCONV(this.PictureVal,14)
>>>
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform