Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21096

Hide Outlook Express send/receive window

$
0
0
Hello All! :wave:


I'm using this code in order to check new messages:
Code:

With MAPISession1
.SignOn
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.FetchUnreadOnly = True
MAPIMessages1.Fetch
If MAPIMessages1.MsgCount > 0 Then
MsgBox "" & MAPIMessages1.MsgCount & " new message(s)."
End If
End With
MAPISession1.SignOff

The problem is that the send/receive window is always on top and because of this I loose focus anything else I do during the script is running.

My question is, could Someone please inform me if there's any way to hide that window? I tried several scripts - found via different sites -, but no luck yet.

I'm sure, the window can be hidden somehow, because there's a button on it ("hide"), so I can hide it manually. And if I set the automatic new mail checking in the Outlook Express, in that case the send/receive window is always hidden.

Thanks very much for any help in advance!

--------
Used softwares are:
- Windows XP SP3
- Outlook Express 6.0
- Visual Basic 6.0

Viewing all articles
Browse latest Browse all 21096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>