We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
//Declaration OLEObject myoleobject, db, doc, rt_item, loo_ol_msg_cast myoleobject = CREATE OLEObject // loop for two minutes, or until notes is started successfully t_StartTime=Now() //wait 2 min for Notes to load ... Do Yield() //yeld control occasionally SetPointer(hourglass!) iResult = myoleobject.ConnectToNewObject("outlook.application") If iResult = 0 Then Exit //OK, Outlook is active Yield() Loop Until SecondsAfter(t_Starttime, now()) > 120 //try again in #sec if iResult <> 0 then f_user_error("Could not open Microsoft Outlook") return FALSE end if loo_ol_msg_cast = myoleobject.CreateItem(0)
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.