M
Mueller-Lynch Thomas
Hello,
we have some startup issues with our Outlook application.
After loading our application there is a "timeout" of about 30 seconds
untill the application starts running. First we thought that this happens
every time on every client but then we found out that this is not true.
Within debug mode we found out that the timeout starts right when we clicked
on our main button (Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click) but the code below will
be executed some steps later ...
With sysinternal tools we found out that this might come from the
cryptnet.dll.
Any ideas?
Thomas
And here comes the VB.net code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs
....
bla()
....
End Sub
....
Sub bla()
Dim myOlApp As Microsoft.Office.Interop.Outlook.Application
Dim myNamespace As Microsoft.Office.Interop.Outlook.NameSpace
myOlApp = New Microsoft.Office.Interop.Outlook.Application
myNamespace = myOlApp.GetNamespace("MAPI")
End Sub
....
we have some startup issues with our Outlook application.
After loading our application there is a "timeout" of about 30 seconds
untill the application starts running. First we thought that this happens
every time on every client but then we found out that this is not true.
Within debug mode we found out that the timeout starts right when we clicked
on our main button (Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click) but the code below will
be executed some steps later ...
With sysinternal tools we found out that this might come from the
cryptnet.dll.
Any ideas?
Thomas
And here comes the VB.net code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs
....
bla()
....
End Sub
....
Sub bla()
Dim myOlApp As Microsoft.Office.Interop.Outlook.Application
Dim myNamespace As Microsoft.Office.Interop.Outlook.NameSpace
myOlApp = New Microsoft.Office.Interop.Outlook.Application
myNamespace = myOlApp.GetNamespace("MAPI")
End Sub
....