I am working on a crystal reports project. for some reason when I assign a path to a variable it returns a number instead of the path. Here is my script

Dim myPich As StdPicture
Set myPich = LoadPicture("C:\Program Files\Denali\Program pics\logo_large.gif")
Set Picture3.FormattedPicture = loadpicture(myPich)

I get the error "File not found '-1627059993'

when i check the variable assignment of "mypich" it shows that number. Where is it coming from ?

funny this is some times it works good and sometimes it assigns the number.