You may use Microsoft Web Browser control in your form. It has Navigate method, use it the same way as in the example.
>Thanks a lot.. it seems i was not too explicit.. let me explain again.
>The idea is droping an image into the form so it is assigned to the shown record on the form.. the images are already in the server; so i changed your code to
>
>>
>>oExplorer=CREATEOBJECT('InternetExplorer.Application')
>>oExplorer.navigate('x:\imagen',0,0,0,0)
>>oExplorer.Visible=.t.
>>
>
>This opens the image's folder but i still can´t drop the select image into the form..
>
>What kind of object should 'receive' the image?
>
>
>>>Hi y'all..
>>>Is it possible to drop an image into a form?
>>>I need to develope a program for assigning an url's image to each record in a table, so it would be good for the user having the windows' explorer window opened with the preview option enabled and drag the image into the form..
>>>
>>>Any help?
>>
>>You can open Internet Exporer from VFP, go to URL
>>
>>oExplorer=CREATEOBJECT('InternetExplorer.Application')
>>oExplorer.navigate('http://www.microsoft.com',0,0,0,0)
>>oExplorer.Visible=.t.
>>
>>and then user may copy/save image to a file, that will be picked up by your VFP form.
Edward Pikman
Independent Consultant