oFilePropreader = CreateObject("DSOleFile.PropertyReader") sFile = "C:\MYWORK\MYCLASSES.VCX" oDocProp = oFilePropReader.GetDocumentProperties(sFile) *!* The three Lines below work fine. oDocProp.Title = "New Title" oDocProp.Author = "New Author" oDocProp.Comments = "New Comments" *!* The three Lines above work fine. oDocProp.RevisionNumber = '20080107093006' *!* The Line above produces the following error... Program Error OLE error code 0x8002000e: Invalid number of parameters.>>What am I doing wrong?
? VARTYPE(oDocProp.RevisionNumber)
Returns:CIf I try a numeric
oDocProp.RevisionNumber = 2008I still get error 1426 ... the same error