I've dragged and dropped 62 JPEG images into my project, named  
image001 thru image062. I need to "SaveAsJpeg" these items, but do  
not know how to refer to them programatically.

   Dim szFileName, szBuffer, szImageName, szUnits as string

   for i = 1 to 62
     if i < 10 then
       szFileName = "image00" + str(i) + ".jpg"
       szImageName = "image00" + str(i)
     else
       szFileName = "image0" + str(i)+  ".jpg"
       szImageName = "image0" + str(i)
     end if
     picFile =TemporaryFolder.TrueChild(szFileName)
     if picFile<>nil then
       if picFile.Exists then picFile.Delete
       picFile.SaveAsJPEG szImageName  //this DOES NOT work
     end if
   next i


any ideas?



What I am actually doing is writing out a "Quick Start Guide", in  
HTML format, and I need the images to go with it...

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to