Is there a quick function/way to identify the file size of a file on disk? I wanted to avoid listing the directory to a text file and then parsing and locating the file size from that.
Wayne Brady
Is there a way, using the ActiveX Browser in VFP7, to "drive" a webpage that I have no authority over? If I know the the field name or button name on a web page, is it possible to populate a webpage field and click a webpage's button? I'm trying to automate a repetative process of looking up an...
Craig,
Thanks for your help. That solution works perfectly. I still don't understand why the "closehandle" option doesn't work. Oh well, I appreciate the response.
Thanks again,
Wayne Brady
Using VFP 7.0. I'm trying to close and external application using VFP. Specifically Adobe Acrobat. Acrobat is running when I execute the following.
Code is as follows:
DECLARE INTEGER BringWindowToTop IN Win32API ;
INTEGER hWnd
DECLARE INTEGER GetActiveWindow ;
IN Win32API
DECLARE INTEGER...
Mike / Slighthaze,
Perhaps I wasn't clear on how I'm using the controls. I was trying to avoid setting up a "control source variable" for each control. In this instance, whenever I refer to an individual control's value I would spell out the whole "thisform.text3.value"...
Slighthaze,
As far as I can tell, SAVE TO does not save any VALUES that are stored in controls. I tried using that originally, however it disregards anything identified as "thisform.text3.value" etc. It will only save memory variables and system variables.
Thanks,
Wayne Brady
I'm using vfp 7.0. Is there a way to "globally" save the current values (thisform.pageframe1.page1.text3.value), of a control on a form, to a memvar file or a text file. I have a data entry form that has many many text boxes, check boxes, etc. and would like to save the values to a...
Does any know of a VFP routine or utility to convert EBCIDIC numeric values to ASCII? I'm getting an extract from a cobol system that I've imported to a Fox table. The numeric values look something like 00034558{ or 00054355A.
The "A" or "{" represent a compressed pair of...
I'm using the MS Web Browser OLE Control to embed a browser into my application. I would like to know how to programatically print the current page that is displayed in the browser object. I looked through the PEMs and didn't find one that looked like the one I need. Anyone know the method...
Ali,
When you roll the mouse wheel in a text box it doesn't
change the mouse position.
My goal is to treat a text box like a "spinner" only spin back an forth through text values instead of numbers, with the mouse wheel.
Wayne Brady
Is there any way in vfp7 to determine if the mouse wheel is rolled forward or backward while over an object? The mouse wheel event only appears to let you know it was rolled but not in which direction.
Wayne Brady
I'm trying to find out if there is a way to determine if a user has clicked Print or Close from the report writers preview screen. I have a form that the user indicates how many copies of a report they would like printed. If the user selects more than 1 copy and preview is also...
Is the computer that executes the program the same one as the computer that is compiling the program? Be aware if the file dates/times of PRGs,FXPs and EXEs are not chronological...then you can get unexpected results when executing a program. These files dates and times can be out of sync if...
I'm considering using Syncdata-DBF to maintain and synchronize databases in two different locations. I'm curious if anyone has had any experience with it and know any of the downsides. I currently use VFP to ftp files from the "Parent" site and then apply changes to the...
How do I reference a control on form2 from within form1? Do I have to or should I use a formset?
e.g. I have a grid on form1 and "afterRowColChange" of the grid I want to automatically update/change the PDF file displayed (i'm using pdf.ocx) in Form2. If I issue...
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.