msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OutLook

 
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE
Author Message
TestHim



Joined: 04 Oct 2007
Posts: 1

PostPosted: Thu Apr 01, 2004 9:51 am    Post subject: OutLook Reply with quote

Hi,
I am making a appliation which will close a outlook window . But problem comes if a contact or jornal window was opened.I can know which window is that using spy ...Sending the key strokes even to terminate that window...but fails
What wrong i did...any idea
Thanks in advance

Archived from group: microsoft>public>vb>ole
Back to top
View user's profile Send private message
Richard T. Edwards



Joined: 04 Oct 2007
Posts: 21

PostPosted: Mon Sep 26, 2005 1:54 am    Post subject: Re: OutLook Reply with quote

Outllook is spawns threads for each new process. You can have a single
process for outlook with what you would expect to see as a process for each
window. Instead it spawns threads. Try using WMI to find out which threads
are being spawned by Outlooks' main process and terminate those first. Then
terminate the main process.



"TestHim" wrote in message @microsoft.com...
> Hi,
> I am making a appliation which will close a outlook window . But problem
> comes if a contact or jornal window was opened.I can know which window is
> that using spy ...Sending the key strokes even to terminate that
> window...but fails
> What wrong i did...any idea
> Thanks in advance

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group