Hi Dragan,
That seems to be the best solution. I have tried it from several sources and it works a treat.
As far as the Copy and Paste modes are concerned, should I turn the option off? It seems a bit backward to do so, as the user does have to get the browse and my application along side each other to perform the drag and drop.
Lisa Nicholls also suggested checking for certain characters [smart quotes - CHR(147) and CHR(148)], which I may also incorporate.
Regards...Rex
>>Hi Dragan,
>>
>>The NOCPTRANS seems to be a worthwhile option after reading the VFP help; I will give it a go.
>>
>>The users have a browser window open and select the text to copy using Ctrl-C. They then go to the record in my application with an edit box and paste using Ctrl-V.
>
>Then you can also set OLEDropMode of the editbox to 1 (enabled). They should be able to drag and drop the selection from the browser window into the editbox, and the recognized mode there is text-only, that should give you just text.
Rex Toomey
ISD Port Macquarie NSW
Australia
'Inside every older person is a younger person wondering what happened.'