word.application 
Author Message
 word.application

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()
        apps.Quit()

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:21:04 GMT  
 
 [ 1 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