Computer Forum Forum Index
Register  FAQ Profile Log in to check your private messages Log in Register 

Content controls

 
Post new topic   Reply to topic    Computer Forum Forum Index -> microsoft word programming
View previous topic :: View next topic  
Author Message
jo
Guest





PostPosted: Wed Dec 05, 2007 9:17 pm    Post subject: Content controls Reply with quote

What is the difference between these two ways creating a content
control in visual studio 2008?

Imports WordTools = Microsoft.office.tools.word
Dim RichTextControl1 as WordTools .RichTextContentControl
RichTextControl1 =
me.controls.AddRichTextContentControl("ControlName")

Dim RichTextControl1 As Word.ContentControl =
Me.ContentControls.Add(Word.WdContentControlType.wdContentControlText)

Is there any advantages to using one way over the other?
Back to top
Google
Sponsor





PostPosted: Wed Dec 05, 2007 9:17 pm    Post subject: Advertisement

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Computer Forum Forum Index -> microsoft word programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Computer Forum