|Office.Interop generates hidden Internet calls [message #782]
||Mon, 07 August 2006 05:03
Registered: August 2006
I have noticed that including the Microsoft Word 11.0 Object Library in a
Visual Studio 2005 project (using Visual Basic .NET) generates hidden
Internet communication from the compiled exe-program, if an Internet
connection is accessible.
It is very easy to verify this behavour (Using Windows XP Pro SP2, Office
2003 and Visual Studio 2005):
Open Project, Add Reference, Choose the COM tabpage, double click on
Microsoft Word 11.0 Object Library (version 8.3)
This will add 3 references to the project, which are shown in Project
Microsoft Office 11.0 Object Library (version
Microsoft Visual Basic for Applications Extensibility 5.3 (version
Microsoft Word 11.0 Object Library (version
This is the only code written by me:
Public Class Form1
Dim wdApp As New Word.Application
When I compile and execute the program, the firewall Zonealarm informs me
(if the Internet connection is up and running), that the program is trying to
connect to the Internet to a DNS. If the program can't get a response, it
will wait for approximately 15 seconds before it continues to run the code
and present Form1 on the screen. If the network cable is disconnected, no
delay can be observed.
I would like to know:
1. What kind of data are transmitted?
2. How can this communication be turned off?