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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by DirkVFP

  1. DirkVFP

    Using asynchronous SQLEXEC() still freezes the UI

    Mike, No, there is nothing wrong with the progress bar, all I wanted to find out with this thread was if I could show a progress bar, and have the user continue to use the form while the query is being executed. (I forgot to mention in my OP that I'm already using a progress bar informing the...
  2. DirkVFP

    Using asynchronous SQLEXEC() still freezes the UI

    A progress bar showing the query progress is in fact all I want, it's simple and the user knows he has to wait.
  3. DirkVFP

    Using asynchronous SQLEXEC() still freezes the UI

    Thanks for the responses, I'm not actually fetching large amounts of data, but I'm calculating something. This involves summing and joining. Maybe the query can be tweaked abit, but it will still take some time for giving the UI a chance to freeze up. In anyway, thanks for the tips, I will...
  4. DirkVFP

    Using asynchronous SQLEXEC() still freezes the UI

    Mike, Thanks again for the quick response. I was hoping VFP offered something like asynchronous programming used in .NET (or even use different threads), but since that is not the case I will follow your advice. Dirk
  5. DirkVFP

    Using asynchronous SQLEXEC() still freezes the UI

    Thanks for clearing this out Mike. However I'm still stuck with a UI freezing up. Is there any common practice to counter such behaviour? Dirk
  6. 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...
  7. DirkVFP

    IDE resets each time I start VFP

    Mike, Thanks for the quick response! While looking for these files (you didn't mention a specific location) I saw these files were stored in C:\Documents and Settings\<USER>\Application Data\Microsoft\Visual FoxPro. Seeing the path, it reminded me that you can adjust some file locations. It...
  8. 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...
  9. DirkVFP

    RELEASE myObject does not call myObject's Destroy

    My main form's Destroy was always called, it was the myObject's Destroy method that did not receive any calls if it contained any references.
  10. DirkVFP

    RELEASE myObject does not call myObject's Destroy

    Bart, Your suggestion to make the object reference a property of my main form is more OOP, I will implement that. this.searchform = createobject('myclass') This won't work, since my class isn't a form an sich. The search form is but a part of it.
  11. DirkVFP

    RELEASE myObject does not call myObject's Destroy

    Mike, Thanks for your help. I've been playing around and came up with another solution. I've created a Close method which I call explicitly in my main form's Destroy event:myObject.Close RELEASE myObject *** Release other resources The myObject.Close method is, in fact, my old Destroy...
  12. 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...
  13. DirkVFP

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

    I'm the kinda guy who wants to know the reason WHY some things are to be done a different way, but that's just me ;)
  14. 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...
  15. DirkVFP

    Report preview is ok, report itself is not.

    I haven't tested it so far, another project has my attention so far, but I will post my findings here whenever I have some. Tamar, this form indeed contains a grid, I will look at the grid events if anything happens. Strange thing is this form is used for over 6 months now and this bevahiour...

Part and Inventory Search

Back
Top