Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: DirkVFP
  • Content: Threads
  • Order by date
  1. DirkVFP

    Using asynchronous SQLEXEC() still freezes the UI

    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...
  2. DirkVFP

    IDE resets each time I start VFP

    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...
  3. DirkVFP

    RELEASE myObject does not call myObject's Destroy

    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...
  4. DirkVFP

    GetAdaptersInfo - don't use in 2k3/XP?

    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...
  5. DirkVFP

    Report preview is ok, report itself is not.

    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...
  6. DirkVFP

    Time from database is converted to datetime

    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...
  7. DirkVFP

    API DestroyWindow doesn't destroy my window

    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...
  8. DirkVFP

    How to prevent grid's first cell from getting focus?

    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...
  9. DirkVFP

    ActivateCell does not activate cells outside grid display

    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()...
  10. DirkVFP

    [SET PRINTER TO] CR/LF as last char instead of FormFeed

    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) ...
  11. DirkVFP

    Prevent griddata flash on change recordsource

    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...
  12. DirkVFP

    Try...catching errors in VFP7.0

    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...
  13. DirkVFP

    Form.Keypress does not catch F2 key

    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...
  14. DirkVFP

    Change Fore/BackColor of a Command Button

    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...
  15. DirkVFP

    How helpful is this book in VFP9?

    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...

Part and Inventory Search

Back
Top