IIF is not my own method its a in build function in Vb.net
iam getting error in the following line
OLCont = MyOLList.GetPre vious
problem is it not coming windows 2000 system but coming in XP system
Also if 100 contacts are there means it parse till some 50 then throughing the error. i think the out look object may be corrupting while process through the records. still problem is not so...
User Profile
Collapse
-
Getting specified cast error while taking data from outlook
I am trying to take contacts data from out look and Synchronize with our database. I am using .net 1.1 framework.
iam using following code.
OLCont = MyOLList.GetLas t 'CType(item, outlook.Contact Item)
Do While TypeName(OLCont ) <> "Nothing"
OLRow = OLTable.NewRow
OLRow(0) = 0
OLRow(1) = IIf(OLCont.Firs tName Is Nothing, "",...
No activity results to display
Show More
Leave a comment: