I have
SELECT * FROM PTEMP ;
INTO TABLE pictures ;
ORDER BY Fname
I wish to exclude all files except jpg , bmp , tif, gif etc
Can anyone help?
Thanks
William
I have found the following code
But I want the full number of columns in the original to be added to the final array - rather than just the fname
=ADIR(aryTemp,"*.*","AHRSD",1)
logging('GetSomeFiles folder '+cDirectory)
nMax = ALEN(aryTemp,1)
FOR nCount = 1 TO nMax
cFile =...
On a form created by form wizard
- using the [Find] button
- I cannot see any Memo fields to choose to search in from the drop down list box.
Is this as designed - is there a way to add them to the list and search in them?
Or do I do a LOCATE in the memo field from another [Search] button...
<sigh>
I've just forgotten how to see the path as set at the moment , in the debugger.
I'm not finding a table when I open a form.
Anyone help?
William
Is there a function around to find the root of a folder?
I am using a folder Aviation
It has a path - say C:\My Pictures\Aviation
I want to get to C:\My Pictures\
Anybody help?
Willaim
I have a manually coded form on which I wish to place an icon.
I have used
ADD OBJECT img as image WITH ;
Top = 40, ;
Left = 70, ;
Height = 60, ;
Width = 60, ;
Picture = full development path to logo file,;
Name = "img"
It works OK in the dev environment but on other machines in which I...
I am using
.container1.imgcontrol1.Picture = (mypicture)
( mypicture being the fullpathname of a say jpg file).
to put a picture in a container on my form.
I would like to know if it is possible to have a control which sets the mouse to draw a selection area on the image - collect the...
I have been using this function for years and never had a user select 'desktop'
This gives the error
Member PARENTFOLDER does not evaluate to an object
Line : FOR EACH item IN oBrowseObject.ParentFolder.Items
FUNCTION SelDirDlg
LPARAMETERS cDialogTitle, cStartingFolder, nBrowseFlags
*...
I have successfully worked two of the image manipulation options into my application. As the code given in the help file is for VB some do not work straight off.
I'm looking for some help in converting a few lines in to VFP code.
1 Cropping
IP.Filters.Add (IP.FilterInfos("Crop").FilterID)...
I am trying to trap errors in the imagecontrol used in container in a form on my picture viewing application caused by certain image files which give a C000005 error - I guess it is unreasonable to expect the following code preventing that problem
lTableError = .f...
I have a little app that I use as a User Register for my software and other groups.
I often want to manipulate some flag fields in the single table - can I get the Command Window from a button on the form?
Thank you
William
From what I read this control alloas TIF files to be displayed.
They don't for me.
I have tried adding an F as .TIFF but I can't get an image to show.
Anyone have any ideas please?
Other than that it works well for me.
Regards
William
Is it possible to open a project on the Code Tab? I am calling VFP from a batch file with this command
MODIFY PROJECT myproject NOWAIT
can I add a command to open a project on the Code Tab?
Thanks
William
In my app I am sitting in an Area - say 5 with a table TEMP1 open. I need an empty copy of that table.
I have previously created a structure table TEMPER from TEMP1.
I want to CREATE TEMP2 FROM temper whilst leaving the original table open in Area 5.
When I run the create it replaces TEMP1...
I provide a comprehensive set of reports of a catalogue from my app in :-
FoxPro
MSWord
HTML
For the last few years the HTML has been satisfactorily written by this type of code snippet from one of the many prg files handling different data elements in the catalogue table
*!* gnMyHTMLNo is...
I have an application that copies an original user table to provide a backup if the user wants to reverse any changes made in my app.
I have many users using this code for some 3 years.
Suddenly I have a user who gets a C0000005 error when using the COPY TO (backup file name).
I have his...
Having been rewarded with VFP ode to access EXIF info and having incorporated that into my application I am now being asked about IPTC Info ( Irfanview et al allows this data to be written to a jpg file.)
Is there any code snippet out there to access the IPTC data?
Thanks
William
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.