开发者

.net application to paste data on word document

I have created windows application in c#.net from where user will be able to add text and save in database. Now I want functionality like that user will be able to drag the displayed text on th开发者_JS百科e screen(Already saved in database) to word application and the text will paste on the ms-word document.

If some one has idea to do this then please give me suggestion to do the same.

Thanks,

Munish


If you really want to do it with Drag&Drop I think you should handle the Drag&Drop events, like BeginDrag, DragEnter and Drop... in case the .NET events are not enough there are also certain Windows APIs designed for that. I have seen an example long time ago of an application which was creating a file on the desktop if there was some content dropped in there from the application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜