index > Visual Studio Tools for Office > Adding control at Current Cursor Position

Adding control at Current Cursor Position


Hi all,

I'm trying to add a Control like a TextBox or a ComboBox at the current cursor position, but I'm not able to find any properties or method of Globals.ThisDocument
Marasma
I think you're looking for ThisApplication.Selection.Range


-- Cindy Meister (Word MVP)
Cindy Meister
reply 2

You can use google to search for other answers

 

More Articles

Word VSTO 2005, assembly Link property
add text to anywhere in MS word document
Outlook Addin On Windows 2000 Terminal Server
Delete a range in VSO
Overriding the methods of the Document class in the Word Object M...
Overriding Word Intrensic Menus & Toolbars is a Non Macro sol...
Formatting columns in tables
add sheet
Opening worksheet in VS 2005 RTM crashes IDE
VSTO2005 samples
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Email Address of the Current User
VSTO 2005 Application can NOT run in Off…
Disappearing Document ActionTask Panes w…
Project server error
Registration
Background Thread Causing Flicker and Gr…
Access 2003 Developer Extensions with VSTO
Try this a different way... which VS ver…
pivot table Line Graph.
Office SP1 & SP2
Newbie to VSTO
If an Add-In won't load, then what?
Preventing Folder Sync in Outlook
Deactivating cursor in excel ?
Odd behavior of UserControl

Hot Articles

Beta Samples don't work with the RC? can…
excelsheet without listobject
Dynamically installing/loading and unins…
Binding Keys
How can i refer DLL created in .NET in V…
Double-click on Windows Form control ope…
SQL 2005 With Project 2003
Intercept events from custom controls
Office 2003 SP2 Patch fails against Acce…
EXCEL
MS-office and automation unreliability
Addin(with VSTO 2005 developed) doesn't …
Excel UDF Description
COMException, when I try to add controls…
Need Help: Suggest an approach!!

Recommend Articles

PowerPoint 2007 ribbon addin
Excel precision issues with float/single
Cuctom excel Functions
Can you get an excel range object from t…
DataBindings with Outlook Item UserPrope…
??his XML element cannot be applied here…
vb.net vs2005 excel 2003 chart
Treeview webpart in Sharepoint 2003
Manipulating Excel
Export / Save Workbook without Customiza…
saving documents
Insert HTML text in a Word document
OUTLOOK CONTACTS ??
Excel wrapper missing members/functions
Submenus with VSTO 2005?