Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture (BMP?) in general field on form for sig capture
Message
From
14/12/2001 04:07:04
 
 
To
12/12/2001 08:49:26
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00593197
Message ID:
00594291
Views:
28
Hi!

1. Yes, it supports it. At least I can do following:

CREATE CURSOR aa (aaa G)
append blank
browse

Then open the generalf ield for editing (CTRL+HOME). Select "Edit->Insert Object" and select bitmap image as a new object. You will have an area for editing bitmap by MS Paint.

Programmatically you can use APPEN GENERAL command to insert BMP file into the general field. However, beware - MS Pain should be default OLE Server application for BMP files.

2. If you meant displaying/editing bitmap on the form - use OLEBoundControl. This control displays the content of teh general field from the table using ControlSource (as in case of usual field). If you meant capturing image into the clipborad and then inserting it into the general field - let me know, this require a separate approach, though users can easy go to the bitmap editing and just insert the picture from clipboard using the MS Paint...

HTH.

>I wonder if anybody can offer me an guidance about what a good (and available on default Windows install) OLE application for in-place editing of a BMP on a form could be.
>
>I am doing a front desk application and the client wishes to have the signature of the person picking up an item captured and stored with the invoice.
>
>I am trying to use MS Paint as the automation server, but it doesn't appear to support in-place editing.
>
>So, the questions;
>
>1. Does MS Paint offer in-place editing? If not, do you have another suggested program for this?
>2. How do I display the captured BMP on the form.
>
>Thanks in advance for any pointers!
>
>Andrew
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform