Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 244,305 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 771 people online right now. Registration is fast and FREE... Join Now!




open MS word template from Ribben - VB 2008

 
Reply to this topicStart new topic

open MS word template from Ribben - VB 2008

MKinan
18 Nov, 2008 - 03:25 AM
Post #1

New D.I.C Head
*

Joined: 18 Nov, 2008
Posts: 1

i am creating special menu on the MS word, i am trying to open new word page by clicking the button in the menu i created

the following is the code which is not working and its giving me error, ThisDocument is the name of the word form which need to be opened

CODE

   Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs) Handles Button1.Click

        Dim frm As New ThisDocument

        frm.Show()

    End Sub


please advice

User is offlineProfile CardPM
+Quote Post


Jayman
RE: Open MS Word Template From Ribben - VB 2008
18 Nov, 2008 - 09:51 AM
Post #2

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 8,063



Thanked: 159 times
Dream Kudos: 500
Expert In: Everything

My Contributions
Moved to VB.NET.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 06:10PM

Live VB.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month