I am trying to create a word document that integrates the MSWord Rule Bar. I have looked everywhere and I do not see where this can be added to the rulebar or the form itself. I am using the basic version that was given away at the .net meeting. Could that have something to do with it Please email me.

Visual Basic 2005 and MSWord Rule Bar
rosswashere
Abulafia
Yes, this level of detail does make a difference...
This is a VSTO forum - VSTO is a special sub-set of the .NET Framework. Your question is definitely not VSTO-related, so you're less likely to get a good answer, here.
You should try asking in a group that specializes in Windows Forms questions. There are a couple of controls available that can be embedded in a Windows form to display a Word document (act as an OLE container); I've seen it discussed, but have never attempted it, personally.
Stefan Barthel
I believe this helps, but mabye I am not giving enough information.
I am working with visual basic 2005. I select a basic windows form and add a text box to it. I want the text box to automatically have the rulebar and crosshairs show up. The only other thing that I can think of would to have a MDI form and call MSword to open inside of it.
Thomas Lai
Eldad Hertz
lx_aka_alex
btobin0,
Could you please elaborate on your scenario Are you trying to accomplish this from within a VSTO customization or a Winforms application
martinig
Hi btobin0
"Your know the ruler on the side of a microsoft word document It has the rulerand the cross hairs on it. I want to create a a text document that calls the rulebar."
You mean, when the VSTO document is opened, it should make sure the vertical ruler is displayed Roughly, like this:
Word.Window win = this.ActiveWindow;
//Vertical ruler can only be displayed in Print View
win.View.Type = Microsoft.Office.Interop.Word.WdViewType.wdPrintView;
win.DisplayVerticalRuler = true;
m_m1234567
Hi
I am not sure whether you are meaning the Ruler Bar There is no programming layer for this accept for adding tabs. Can you elaborate a little more on your question.
Regards
andrewh007
btobin0,
I am assuming that you have resolved the issue. I will be closing this issue now. Please repost if you are still experiencing the issue.
Thanks.
Chameleon
Note that I'm not certain about the context you're going to be in, but, no the code line I gave you does not load the horizontal ruler, only the vertical ruler. To force display of the horizontal ruler you need, in addition
win.DisplayRulers = True