By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,694 Members | 1,327 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,694 IT Pros & Developers. It's quick & easy.

VB.NET - Automation - DLLs

P: n/a
Can somebody please help?

I've installed those PIA's from Microsoft so that I can use Word 2000 etc.
with the new VB.NET. However, now in VB6 all my stuff, such as Word, Outlook
etc., are not registered anymore. Does anybody know how to remedy this
problem?
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I am not sure if I totally usderstand what you mean. If I don't then please
elaborate.

The PIA's are mean't for Office XP.

If you are using Office 2000 then just add the specific object model; MS
Word for example to your project.
Nov 21 '05 #2

P: n/a
I have old tried-and-true VB6 applications that have been running good for
quite sometime. For these VB6 applications, I "drive" MSWord, MSAccess,
Excel, and Outlook through the COM interface, so, naturally, I have these
object models added to my projects. Now, For my VB.NET projects, I also
"drive" MSWord and so on, so I have these object models added to the VB.NET
projects as well. Everything runs fine from the Visual Studio IDE. However,
when I compile the .NET program into an EXE I would recieve these wierd
automation errors. So, it was indicated through various web sites that I
should perhaps install the PIA's from Microsoft to eliminate the problem. In
a way, it did. But, now I recieve "Query Interface" error. I can allocate a
"Word.Appication" variable using new, but as soon as I use the variable I
recieve the "Query Interface" error. Finally, to top everything off, all the
components in my VB6 applications have been mysteriously "unregistered" as a
result of installing those PIA's.

"Crouchie1998" <cr**********@discussions.microsoft.com> wrote in message
news:O6**************@TK2MSFTNGP14.phx.gbl...
I am not sure if I totally usderstand what you mean. If I don't then please
elaborate.

The PIA's are mean't for Office XP.

If you are using Office 2000 then just add the specific object model; MS
Word for example to your project.

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.