|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB.NET - Automation - DLLsCan 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? 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. 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. Show quoteHide quote "Crouchie1998" <crouchie1***@discussions.microsoft.com> wrote in message news:O6lN4dgNFHA.3328@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. > >
activeX doesn't dispose
Controlling MDI toolbars when child forms close Conversion ImageList issue delete a record from datagrid unbounded array of objects gets error when instantiating elements how to submit a form when enter is pressed Adding the same file to multiple projects. Using Word 2000 Creating ASP.NET Controls |
|||||||||||||||||||||||