index > Visual Studio Tools for Office > Stablish cursor position in Word

Stablish cursor position in Word

Hi:

I'm using a WebBrowser control to display a word document. But I have to open it ready to start typing. Right now the cursor is not abailable until you click inside the control and appears at the beggining of the document. And a toolbar appears too, I need to hide all toolbars.

I hope you can help me. Thanx. NMB

Nicol?s

I presume you are loading a word document inside IE as a host of Word?

You have to have the document activated and as such dont think there is a way around this. This is not the best forum for this answer as it is more of an IE Hosting scenario.

You can try and control the Host Object and cast this to a WordApplication and then set the Toolbars to be visible.

I am also concious as to why are you hosting this in a WebBrowser control ? Not advised.

Regards




Mike Walker MVP - Visual Developer VSTO - Please mark the best replies as Answers !
Mike Walker

Hi:

I found the solution for the toolbar problem. It was the "Reviewing" toolbar and the solution is in this site (http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=221)

However, I steel need help to active the WebBrowser control and send the cursor to the end of the document.

Thanx.

P.S.: I like to know if it's possible to attach images to the posts to make it easer to understand.

Nicol?s
reply 3

You can use google to search for other answers

 

More Articles

• How can we add a userdefined chart type to xlgallery, progrmatica...
• Determining where I am in ThisDocument_SelectionChange
• Access 2003 Developer Extensions with VSTO
• Still Unable to Show/Hide NamedRange object from the ActionPane!!...
• Manipulate Bookmarks @ Server Side
• formulae in Excel
• VSTO2005 Outlook
• Retrieve cell value
• Drag and drop data item on to MS Word
• MS Excel Automation - firing macros
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Error with Excel 12 Workbook
• No SetSecurity Project in german VSTO
• [SOS] Why I can't create a new sheet via
• VSTO Installation
• Customizing a Smart Tag menu?
• "send email" button in MS word
• Range.InsertParagraphBefore avoiding the
• We shipped!!!!!
• Word sub-menus not visible in VSTO 2005
• Columns into generated ListObject's column
• Action Pane & Print View
• Custom Numbering
• VSTO Deployment
• Issue Adding User Control at Run time to
• How to use Office commandbar objects in

Hot Articles

• Word document Page count, word count, pa
• Customizing the Word 2007 Ribbon UI
• Populate pivot table with pre selected i
• how to deploy local/network vsto-excel
• Selection.PasteExcelTable
• We shipped!!!!!
• How to program add-in for Outlook withou
• Can't install Visio 2005 after installin
• Outlook, custom action, and recurring ap
• Serialization of XmlNode: get_XML(true)
• VSTO 2005 Beta2 Publish
• VSTO 'V3' Outlook Add-In Questions
• How to create a hyper link to insert int
• Dynamically installing/loading and unins
• Restriction of movement/copying/cutting/

Recommend Articles

• Outllook Addin Deployement Issue
• Outlook Deployment ala ClickOnce
• Problems with deployment at end user
• want to use Shapes::AddLine funtion t
• Insert ListObject Dynamically Failed - M
• Capture "AutoDial" event in Ou
• Action Pane in SmartTag without VSTO
• How to get a reference to Word.BuildingB
• VSTO crash :)
• Excel Capacities
• Can I get the text Range in smart tag Re
• Is connected to exchange
• IBF Smart Tag won't activate in Word
• Outlook 2003?
• Project server error