Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 22nd, 2005, 05:21 PM
Authorized User
 
Join Date: Jun 2003
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default 2 Puzzling Outlook 2003 Issues in VB.NET

Hi.

I'm using VB.NET to read emails in Outlook 2003.
Here are my 2 puzzling situations:
 1) I "Dim oApp As New Outlook.Application" and Dim whatever else I
    need in a Sub.
    Before exiting the Sub I "oApp.Quit" and "oApp = Nothing".
    However, in Task Manager I can still see Outlook running.
    How to I get Outlook to close down completely?

 2) The Inbox that I check has emails coming in and out. However,
    when I call the Sub that reads the emails it only finds the ones
    at a certain time and will not refresh until I restart the
    program. Even though the Sub Dims the Outlook application and
    sets it to Nothing before exiting, when I call that Sub again it
    will only return the same emails as the previous loop, even
    though there may actually be more emails. Only on restarting the
    program will I then get the new emails.

    I looked for a Refresh method for the Outlook application (also
    on Outlook Folders) but could not find anything.

Any suggestions will be greatly appreciated!

Rita





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I run VB .net 2005 with DOT NET 2003 APPLICATI kadesskade BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 2 August 8th, 2006 05:14 AM
Reading Emails from outlook using VB.net g_vamsi_krish ASP.NET 1.0 and 1.1 Basics 0 August 2nd, 2006 04:19 AM
VB.net Outlook Com Problem Uriel VB.NET 2002/2003 Basics 0 July 29th, 2004 04:41 AM
VB.NET COM+ security issues Yehuda Pro VB.NET 2002/2003 0 December 24th, 2003 12:32 PM
vb.net 2002 - vb.net 2003 book metalaaron Wrox Book Feedback 0 August 2nd, 2003 10:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.