Hello all,
I have a query which takes some time to complete. During the execution of the query the screen freezes and I want to prevent this by using asynchronous execution of the query.
I've searched the forum and I've produced some code following the example from Mike Lewis (link...
Hi all,
I've been using VFP7 for some time now and I've never had any problems with the IDE. But since last friday all my settings are gone. Each and every time I start VFP the IDE is in its default state. Redecorating my IDE to my likings is something I want to do once, and not each time I...
Hi all,
I have a custom made class "myClass" which contains a function which will show a search form or close it if the search form is already open: PROCEDURE Search
IF VARTYPE(This.m_oSearchForm) = "O" THEN
This.m_oSearchForm.Release
ELSE
DO FORM ".\forms\search" WITH This NAME...
Hello people,
According to a comment here one should not use GetAdaptersInfo in Windows 2003/XP.
Some of our software uses this function and sometimes it returns with an error. This behaviour is (so far it seems) completely random.
So now I'm wondering: is the comment in the link I provided...
Hello all,
Since last week some of my reports are showing strange behaviour. I usually have one cursor being 'consumed' in my reports and where it normally prints all lines, all of a sudden only the first line is printed.
On the preview the report looks good (i have all the lines on my...
Hello all,
Whenever I do a select from a table from a column defined as time, all values from that column in my foxpro cursor have a date in front of it.
As seen in my database: "11:08:55"
As seen in my foxpro cursor: "30-12-99 11:08:55"
So it seems foxpro just places this date in front of...
With the following code I detect the presence of a window (MyWindow) and if it exists I try to destroy it. MyWindow is created using DO FORM ".\forms\MyWindow"
DECLARE INTEGER FindWindow IN user32;
STRING lpClassName,;
STRING lpWindowName
DECLARE INTEGER DestroyWindow IN user32...
Hi all,
The following problem keeps bothering me: whenever a user clicks on a value within my grid, the first cell (1,1) always gets focus, after that the cell which the user clicked will get focus. The debugger confirmed this:38308.400, frmbestverd.gridresult.When()
38308.400...
Hi all,
Searching the forum I found this topic: http://www.tek-tips.com/viewthread.cfm?qid=828118
My problem seems to be the same, except I already use the workaround Mike proposed there (and it doesn't work):
Thisform.gridResult.ActivateCell(nIndex,nColumn)
Thisform.gridResult.SetFocus()...
Hello,
At the moment I'm printing labels with an Intermec PD4 printer
in this way:
SET PRINTER TO NAME "intermec"
SET PRINTER ON
SET CONSOLE OFF
? "N"
? "B20,35,0,E30,3,2,150,B,"+CHR(34)+ALLTRIM(list.barcode)+CHR(34)
? "A395,63,0,5,2,2,N,"+CHR(34)+ALLTRIM(list.code)+CHR(34)
...
Hello all,
How can I prevent the flashing of my griddata when I change its recordsource? The recordsource is a cursor which is filled from a select statement (RecoursourceType = Alias).
In my program the user is working with orders per day, so whenever a user selects a different day than the...
Hi all.
How do I do the following in VFP7.0?
nHandle = 0
TRY
nHandle = FOPEN("foo.txt")
< do some stuff >
CATCH
MESSAGEBOX("IO error...")
FINALLY
IF nHandle > 0 THEN
FCLOSE(nHandle)
ENDIF
ENDTRY
Can't find these statements in VFP7.0. I know there's ON ERROR out there...
In the Keypress method on a form I created all keys are catched, except the F2-key (yes, I set KeyPreview = .T.). Trying to trap the F2 key with an ON KEY LABEL works but I find that a bad solution, I want to work the OOP way.
So my keyboard isn't broken and I haven't done and SET commands...
Looking around the properties of the CommandButton class, I could not find any way to modify the fore- and backcolor of a command button. Now I'm wondering how to do it and why there are no fore- and backcolor properties to customize ones command button?
(I'm using VFP7 btw, maybe MS has put it...
Hi, just started this week with learning VFP6. This language is used at the company I'm working. I've got programming experience with Delphi/C/C#.net. Soon we will start using VFP9 and I was wondering if the following book still holds its value in the new version...
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.