M
Moshe Shelly
Hello,
I'm having troubles with this problem, maybe someone could give me a hint.
Say for example, you want to do this:
.....
set x = CreateObject("Outlook.Application")
set y = x.getNameSpace("MAPI")
y.getDefaultFolder(6)
.....
BUT, the outlook is configured to prompt for profile selection when it
opens, so it doesn't really open yet, and your program is stuck until
someone selectes a profile.
I can't wait for this selection. I have to set some timeout to this
operation.
For instance, if no profile was selected in 10 seconds, try again after 1
hour.
This problem is more general than just the profile issue. If the outlook is
connected to Exchange, and the Exchange is not availabe, it will also hang.
What can be done? I've tried using other threads to check if the outlook is
alive, with all sorts of sych techniques, but with no luck.
Perhaps someone has an idea,
Regards,
Moshe Shelly.
I'm having troubles with this problem, maybe someone could give me a hint.
Say for example, you want to do this:
.....
set x = CreateObject("Outlook.Application")
set y = x.getNameSpace("MAPI")
y.getDefaultFolder(6)
.....
BUT, the outlook is configured to prompt for profile selection when it
opens, so it doesn't really open yet, and your program is stuck until
someone selectes a profile.
I can't wait for this selection. I have to set some timeout to this
operation.
For instance, if no profile was selected in 10 seconds, try again after 1
hour.
This problem is more general than just the profile issue. If the outlook is
connected to Exchange, and the Exchange is not availabe, it will also hang.
What can be done? I've tried using other threads to check if the outlook is
alive, with all sorts of sych techniques, but with no luck.
Perhaps someone has an idea,
Regards,
Moshe Shelly.