Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2005

Tip: Looking for answers? Try searching our database.

more information ....

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe - 25 Jan 2005 10:55 GMT
Sorry but I should have said that I want to run the VB.NET application with
Option Explicit turned ON.

(I can get it to work with Option Explicit OFF using:
                          oWordApp.WordBasic.DisableAutoMacros(1)

  where oWordApp is of type Word.ApplicationClass )

I think I need to do something like:
     oWordApp.WordBasic.GetType().InvokeMember _  
              ("DisableAutoMacros",Reflection.BindingFlags.InvokeMethod , _
                 Nothing, oWordApp.WordBasic, Nothing)
... but can't get it to work.
Word Heretic - 29 Jan 2005 02:42 GMT
G'day Joe <Joe@discussions.microsoft.com>,

Huh? Declare all your variables...

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

Joe reckoned:

>Sorry but I should have said that I want to run the VB.NET application with
>Option Explicit turned ON.
[quoted text clipped - 9 lines]
>                  Nothing, oWordApp.WordBasic, Nothing)
>... but can't get it to work.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.