I have not used ImageMan very much myself, but using it is more or less a matter of instantiating it via createobject(), setting the necessary properties and calling the necessary methods. Most samples are in VB, but when it comes to using ActiveX controls, VB and VFP is more or less the same. I just tried to search for "imageman" and "foxpro" on google, and I got 105 hits, so I think you can find many examples following some of those links.
>ok.
>suppose i choose the ImageMan solution,
>pls.tel me about documentation has several VFP examples,
>
>thank you very much.
>best regards.
>m.qasem
>>You're welcome. If you choose the ImageMan solution, I can tell you that the documentation has several VFP examples, so you will probably be able to get it to work without too much trouble.
>>
>>>yes it's clear now,
>>>thank you very much.
>>>m.qasem
>>>
>>>>If you read the message carefully, you will notice
procedure thisform.refresh. cwpicfile and cwemployee are local variables.
>>>>
>>>>>hi,
>>>>>thanks .
>>>>>ok. where i can put this code under at myform.
>>>>>cwpicfile,cwemployee? what's that mean.
>>>>>
>>>>>>>procedure thisform.refresh
>>>>>>>cwemployee = allt(thisform.text1.value)
>>>>>>>
>>>>>>>cwpicfile = forcepath(cwemployee + ".jpg", "d:\tal\images\")
>>>>>>>
>>>>>>>thisform.imgemployee.picture = iif(file(cwpicfile), cwpicfile, "")
>>>>>>>thisform.imgemployee.visible = file(cwpicfile)
>>>>>>>endproc
>>>>>>>
>>>>>
>>>>>
>>>>>m.qasem
>>>>>>Mohammed,
>>>>>>
>>>>>>Claudio told you how to SHOW the picture. To get the picture from your scanner into your PC is a totally different issue, to get this job done, you need to buy a scanning program which can be controlled by VFP. One of those program is ImageMan which you can read more about here:
http://www.hallogram.com/imageman/index.html. But be prepared for a lot of reading and testing. :-)
>>>>>>
>>>>>>>hi,
>>>>>>>sory but i don't understand,
>>>>>>>if i insert at myform via thisform.text1.value =8 (employee number.)
>>>>>>>and i complate all employee data as name ,age ,salary ...etc
>>>>>>>i put his picture at the scanner to save it as the same employee number,
>>>>>>>how,pls. if you can step by step.
>>>>>>>thanks alot.
>>>>>>>m.qasem
>>>>>>>
>>>>>>>
>>>>>>>procedure thisform.refresh
>>>>>>>cwemployee = allt(thisform.text1.value)
>>>>>>>
>>>>>>>cwpicfile = forcepath(cwemployee + ".jpg", "d:\tal\images\")
>>>>>>>
>>>>>>>thisform.imgemployee.picture = iif(file(cwpicfile), cwpicfile, "")
>>>>>>>thisform.imgemployee.visible = file(cwpicfile)
>>>>>>>endproc
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>thank you for reply,
>>>>>>>>>i get error message file d:\tal\images\55.jpj dose not exist
>>>>>>>>>
>>>>>>>>>but how i can link between employee number and his picture ,mean employee number is 8 ,at the same time with command button link with scanner to giv this picture the same number 8 ..
>>>>>>>>>thanks
>>>>>>>>>m.qasem
>>>>>>>>
>>>>>>>>
>>>>>>>>procedure thisform.refresh
>>>>>>>>cwemployee = allt(thisform.text1.value)
>>>>>>>>
>>>>>>>>cwpicfile = forcepath(cwemployee + ".jpg", "d:\tal\images\")
>>>>>>>>
>>>>>>>>thisform.imgemployee.picture = iif(file(cwpicfile), cwpicfile, "")
>>>>>>>>thisform.imgemployee.visible = file(cwpicfile)
>>>>>>>>endproc
>>>>>>>>
>>>>>>>>
>>>>>>>>Claudio