Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook98 - Discard Form

Status
Not open for further replies.

SHardy

Programmer
May 9, 2001
231
GB
I have a small application in Outlook98. The initial form (a mail item) requests the input of basic
details. It then creates a task item, based on another custom form, and passes these details across.
The second form, once complete, is saved to a public folder. The first form/ item has no use and is
discarded.

Once the second form is displayed, and has had the details passed to it, I close the first form using:

Item.Close 1

However, I seem to have a problem in that when this process is used Outlook does not shut down properly.
It hangs and the user has to CTRL-ALT-DEL and END TASK.

Is this because the first form is still in memory? Do I need to free this memory? How?

I have tried setting all variables to "nothing", but this makes no difference.

I can post the code if it would help, but there is a lot there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top