I have made a program wthat starts a word file in vb.net. (interop) The program runs on a couple of PC's without a problem.
I have the same program running on a Virtual MAchine on which Office is installed. However, the installtion of MS Office does not help a lot: the program hangs. It does not go into an error but just hangs.
It happens in the next line:
Dim oWord As Microsoft.Office.Interop.Word._Application = New Microsoft.Office.Interop.Word.Application()
I already tried:
Dim oWord As Microsoft.Office.Interop.Word._Application
oWord = CreateObject("Word.Application")
But this hangs on the second line. I placed a label for tracking where it exactly hangs while it goes OK on my development PC..
I can not find it and I am stuck. does anybody have an idea what is the reason or Solution?
Thanks for the good input. Althoug there was no word open, in the taskmanager I found some Word processen.. Killed them, and it worked. Thanks. this might still be there from the installation by the server administrators who I asked for MSOffice on that VM.