Click here to Skip to main content
15,901,373 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI
I Have One Groupbox "groupbox1" Which Contains Some Sentence

How to copy that Content and Paste it to Word File


Please Tell me

Regards
Rakesh
Posted
Updated 19-Feb-13 3:39am
v2
Comments
Rumnha 18-Feb-13 4:12am    
As you must be aware, GroupBox has a title and content controls inside of it. So where is your sentence? In the title or in content controls like Label, TextBox etc.?
Shubh Agrahari 18-Feb-13 4:42am    
ya Rumnha is right...there must be a control inside your group box becouse don't forget that Group Box is container control that content set of controls.
[no name] 18-Feb-13 9:20am    
ya....Tell Me How to Copy Form Contents like lable etc and paste it on WORD FILE

1 solution

This is a way that you can write text to specific file:
http://msdn.microsoft.com/en-us/library/6ka1wd3w.aspx[^]

But the text needs to come out of a textbox/label/etc. and not a GroupBox.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900