I have a problem with SmartPhone and PocketPC. I can't CreateObject...
Please help me!

Re: POOM error when Create Object in eVB by Alice

Alice
Sat Jul 16 13:58:00 CDT 2005

Dim pOLA As PocketOutlook.Application
Dim pContact As PocketOutlook.ContactItem
Set pOLA = CreateObject("PocketOutlook.Application")
pOLA.Logon form1.hwnd

Error when LogOn... Why?

Set pContact = pOLA.CreateItem(2)
pContact.FirstName = "Name"
pContact.LastName = "Last Name"
pContact.Save
Set pContact = Nothing
pOLA.Logoff
Set pOLA = Nothing

"Alice" <bychicco@aliceposta.it> ha scritto nel messaggio
news:pKcCe.77258$h5.3188969@news3.tin.it...
> I have a problem with SmartPhone and PocketPC. I can't CreateObject...
> Please help me!
>
>



Re: POOM error when Create Object in eVB by Alice

Alice
Sat Jul 16 13:59:01 CDT 2005

All Right when run in emulator...

Thank

"Alice" <bychicco@aliceposta.it> ha scritto nel messaggio
news:YMcCe.77263$h5.3189225@news3.tin.it...
> Dim pOLA As PocketOutlook.Application
> Dim pContact As PocketOutlook.ContactItem
> Set pOLA = CreateObject("PocketOutlook.Application")
> pOLA.Logon form1.hwnd
>
> Error when LogOn... Why?
>
> Set pContact = pOLA.CreateItem(2)
> pContact.FirstName = "Name"
> pContact.LastName = "Last Name"
> pContact.Save
> Set pContact = Nothing
> pOLA.Logoff
> Set pOLA = Nothing
>
> "Alice" <bychicco@aliceposta.it> ha scritto nel messaggio
> news:pKcCe.77258$h5.3188969@news3.tin.it...
> > I have a problem with SmartPhone and PocketPC. I can't CreateObject...
> > Please help me!
> >
> >
>
>