Author Message

I have migrate my work to .net but i have one error i
can't understand:In vb 6.0 this code is ok and open and
close a word session.

        Dim apps As New Excel.Application()

In .net the same code don't let me to execute and give me
the error in the (apps.quit()) line:

'Quit' is ambiguous across the inherited
interfaces 'Word._Application'
and 'Word.ApplicationEvents3_Event'.

I use the Microsoft Word 10.0 Object model
with excel is all ok (this happen on all the pc with
visual studio .net). How can i close the word i another
way. Thank

Fri, 30 Jul 2004 23:27:05 GMT  
Please see the following KB article for a description of this problem and
how to resolve it.

Q315981 - BUG: VB .NET "'[Method]' is ambiguous" Err Msg When Automating

Joel Alley

Of course, this posting wouldnt be complete without a nice, juicy
disclaimer from our lawyers:  This posting is provided AS IS with no
warranties, and confers no rights. You assume all risk for your use. ? 2001
Microsoft Corporation. All rights reserved.

Mon, 06 Sep 2004 00:01:25 GMT  
 [ 2 post ] 

 Relevant Pages 

1. Word.Application.8 and Word.Application.9

2. Word Application Not opening from VB application

3. Using Word.Application without installing Word

4. HELP!: using Word.Application to copy content FROM WORD to HTML Web Page

5. VB, Word.Basic and Word.Application

6. Creating a Word.Application object using Word 2000

7. Word Application Insertion Point

8. Word Application

9. Dim oappWD as Word.Application: User defined type not defined

10. OLE Automation error when creating WORD.APPLICATION

11. Word.Application Object - Redist

12. How to abort closing of Word application


Powered by phpBB® Forum Software