![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
i write some code.
like this.... i have got the mailfolder. so.. i write code like... CItems m_Items; CMailItem m_NewMail; VARIANT vt; VariantInit(&vt); m_Items = theApp.m_MailFolder.get_Items(); m_NewMail = m_Items.Add(vt); //compiler say here is error i want get the CMailItem by m_Items.Add(vt) method. but the Add method have a parameter, the parameter's type is VARIANT . i don't know how to give the parameter to m_Items.Add method. PLease help me, thank you! -- 只要决心成功,失败永远不会把我击垮! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Restrict method problem | Mike Epp | Outlook and VBA | 2 | April 7th 06 08:03 PM |
savemode in Close method | Long Nguyen | Outlook - Using Forms | 2 | March 30th 06 08:44 AM |
Restrict Method DNW | emanson | Outlook and VBA | 14 | March 28th 06 06:47 AM |
GetItemFromID method on a public folder in the namespace | Robert Squire | Outlook and VBA | 1 | February 24th 06 02:31 PM |
Best method for using Outlook out of the office | Bob | Outlook - General Queries | 1 | January 31st 06 03:05 AM |