How do I automate opening a document with a datasource attached

G

g8rda

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.
 
C

Cindy M -WordMVP-

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 :)
 
G

g8rda

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top