[futurebasic] RE: [FB] Need a FN ShowPict

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2005 : Group Archive : Group : All Groups

From: "Edwards, Waverly" <Waverly.Edwards@...>
Date: Tue, 15 Nov 2005 08:41:38 -0500
 
>> 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

--