Each assignment is in its own folder containing files, resources,
pictures, etc. This allows me to grade each student's work without
having to search for things.
-----Original Message-----
From: Edwards, Waverly [mailto:Waverly.Edwards@...]
Sent: Tuesday, November 15, 2005 5:42 AM
To: futurebasic@...
Subject: RE: [FB] Need a FN ShowPict
>> USR IMAGEFILETOPICT(fileName$,SYSTEM(_aplVol))
are you sure its ALWAYS going to be the SYSTEM(_aplVol).
If you are using the standard dialog to locate the file I would use the
vol reference in the file spec.
W.
-----Original Message-----
From: Fast, Dennis [mailto:DFast@...]
Sent: Monday, November 14, 2005 7:56 PM
To: futurebasic@...
Subject: RE: [FB] Need a FN ShowPict
Thanks for the help! Here is finished product:
LOCAL MODE
DIM AS HANDLE pHandle
LOCAL FN ShowPict(fileName$,x1,y1,x2,y2,pfNum)
pHandle = USR IMAGEFILETOPICT(fileName$,SYSTEM(_aplVol))
PICTURE FIELD pfNum, &pHandle, (x1,y1)-(x2,y2), _statFramed,
_scaledPict
END FN
--------
By the Way, I get an error with
"FN WDRefNumToFSSpec( fName, wdRefNum, mySpec )"
as not defined.
=================
Error: Functions must be defined before using...
in file Temp Project at line 48 in GET_IMAGE_FILE
err = fn WdRefNumToFSSpec( fName, wdRefNum, mySpec )
********* End of PPC Code Compile *********
************* End of Compile **************
Warnings: 0
Errors: 1
--
--