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 / February 2006

Tip: Looking for answers? Try searching our database.

How do I automate opening a document with a datasource attached

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
g8rda - 02 Feb 2006 22:16 GMT
I trying to do automation in VB2005 and when I open the word document the
default is to drop the data source. I need to be able to change the default
or work around it so I don't lose my datasource.
Cindy M  -WordMVP- - 03 Feb 2006 17:52 GMT
Hi =?Utf-8?B?ZzhyZGE=?=,

> I trying to do automation in VB2005 and when I open the word document the
> default is to drop the data source. I need to be able to change the default
> or work around it so I don't lose my datasource.

have you read the KB article on this topic?

"Opening This Will Run the Following SQL Command" Message When You Open a Word
Document - 825765
http://support.microsoft.com?kbid=825765

I'm not famliar with a software named "VB2005". What are you really using?
VB.NET 2005? VSTO 2005? Is this going to be in-house, or a distributed
application?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
g8rda - 03 Feb 2006 18:10 GMT
Cindy,

Thank you for your response.  I did find the KB article a few hours after I
posted my question.  This was my first post so I apologize for the sloppy
grammer and incomplete information.  I'm using VB.NET 2005 for an in house
project.  The KB article contained the exact information I was looking for.

Thank you again.
Tony

> Hi =?Utf-8?B?ZzhyZGE=?=,
>
[quoted text clipped - 19 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
Cindy M  -WordMVP- - 04 Feb 2006 17:46 GMT
Hi =?Utf-8?B?ZzhyZGE=?=,

> The KB article contained the exact information I was looking for.

Great :-) Good luck with it!

   Cindy Meister
 
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.