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 Chriss Miller 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: *

  1. Gerrit Broekhuis

    Use GPT-4 for translating text

    Hi, I use GPT-4 (omni) with VFP and OPAI’s API to translate a textfile from one language to another. So far this seems to work very good, but I read in another thread that translations may have some issues (without mentioning them). Not knowing what to expect I’m very curious what unknown...
  2. Gerrit Broekhuis

    GPT-4 Turbo with Vision for OCR

    Hi, OPENAI’s “GPT-4 Turbo with Vision” should be able to perform OCR. With help from VFP forum members here and elsewhere I’ve been able to create textproposals and use speechrecognition in our applications. For OCR we’re now using Tesseract, but I think GPT-4 may be a good alternative. Has...
  3. Gerrit Broekhuis

    COM backgroundprocess challenge

    Chris Miller has been very helpfull writing thread 184-1820019: Multiprocessing with a COM Server. I intend to use this to call ChatGPT. In the main program I added a property "Payload", called by this (changed) procedure: Hidden Procedure ExecuteScript(HWnd As Integer, Msg As Integer, wParam...
  4. Gerrit Broekhuis

    In which thread runs a VFP DLL?

    Hi, Suppose I create a DLL with VFP9SP2 and get access to the DLL’s code to perform a task. Will this task (from the DLL) run in the same thread or will it get it’s own thread in Windows? I don’t intend to use parallelfox or similar code. If it can run in another thread I will consider...
  5. Gerrit Broekhuis

    VFP and AI (ChatGPT)

    Hi, It’s interesting to read in another thread today about VFP and AI (ChatGPT). I’m still wondering if anyone has found a way to use ChatGPT (I’m using 3.5) in combination with VFP. In other words, have a VFP application asking ChatGPT and get the answer in VFP. Regards, Gerrit
  6. Gerrit Broekhuis

    HOVERING GRIDS WITH HOVERCONTAINER CLASS

    Hi, Recently I have worked on a class that will add hovering to a grid. In other words, the cursor will follow the mouse movements on a grid. This helps to create a responsive and interactive interface. I added some extra features like AutoScrolling, MultiSpeedScrolling and Incremental Search...
  7. Gerrit Broekhuis

    Prevent Grid scrolling

    Hi, If we have a grid with more than enough space to show all records, is there a way to prevent the grid from scrolling? Regards, Gerrit
  8. Gerrit Broekhuis

    Get number of actually shown records on grid

    Hi, Is there a way to count the number of records that are actually visible in a grid? For example when scrolling a grid towards the bottom not all records will be shown and I need to know the number of gridrows that actually show data. I know how to calculate the number of records that can be...
  9. Gerrit Broekhuis

    Simutate click on vertical scrollbar by code

    Hi, For a Grid I need code to simulate (or execute) a click on the vertical scrollbar. The click position is not important. How can I do this? Regards, Gerrit
  10. Gerrit Broekhuis

    create connection by code

    Hi, I have automated installing MySQL (version 5.1.73) to be specific for this purpose. MySQL server is up and running. However I cannot connect using the default connection string. When looking at the configuration I see that I have not created a connection. Do I need to create a connection...
  11. Gerrit Broekhuis

    set EXE on foreground using PID

    Hi If I know the PID of another .EXE that's running, how can I bring that .EXE to the foreground to make sure it's visible? Regards, Gerrit
  12. Gerrit Broekhuis

    ADDING AND RELEASING LIBRARY VFPCOMPRESSION.FLL

    Hi, In two applications I use zipping/unzipping files quite a few times. I'm using vfpcompression.fll to do this and this works very fast and reliable as far as I can see. Every time I zip or unzip now I use the code like this: SET LIBRARY TO vfpcompression ADDITIVE && do something with files...
  13. Gerrit Broekhuis

    Select multiple files in VFP

    Hi, I’m looking for a (dll based) form or control for selecting multiple files, for example to zip them one by one into a zipfile. I’ve been using Common Dialog (COMDLG32) so far, but this is giving an error when I select more than approx. 50 files. I don’t know how to make this reliable when...
  14. Gerrit Broekhuis

    VFP application losing Windows scaling with 4K screen

    Hi, I'm using EZTwain for scanning documents for more than 15 years now. In one particular program when processing the line with TWAIN_EnableSource(lnImageHandle) my application that is used with 200% scaling (I use HD resolution on my 4K screen) jumps to 100% scaling and becomes almost...
  15. Gerrit Broekhuis

    FoxChart report problem with 4K screen

    Hi, I'm using FoxCharts (latest version) for showing graphs on forms and in a report. So far the 2014 document "Add Beautiful Charts to Your Applications Using FoxCharts" by Doug Hennig has been a great help. However, in my test application I have a problem with the report. I created a canvas...
  16. Gerrit Broekhuis

    Change DBC connection to MySQL

    Hi, I'm working on an older application from someone that uses a DBC (for storing remote views) with a MySQL database. In the DBC the connection is hard coded (servername(or IP), username, databasename, password. I want to change as little as possible in this application, as it's working...
  17. Gerrit Broekhuis

    Webservice validate UK EORI-numbers

    Hi, After Brexit EORI-numbers can no longer be validated by the EU validator. Therefore I want to use https://api.service.hmrc.gov.uk/ to validate EORI-numbers from the UK (GB...etc.). I've already registered at GOV.UK, but I cannot find good examples or documentation to get started using VFP...
  18. Gerrit Broekhuis

    LIST MEMORY to cursor

    Hi, Is it possible to add the output of VFP’s List Memory into a cursor? I don’t mean to put the content into a memo file, but I’m looking for a structured solution. After all in memory things will be organized, so how do I get a similar structure in a cursor? Regards, Gerrit
  19. Gerrit Broekhuis

    PHP form with captcha and file upload

    Hi, I’m looking for a contact form with captcha and the possibility for file upload(s). I’ve searched Google over and over and after two full days of trial and error I’m about to give up. Does anyone know of a good sample I can use and adapt? Regards, Gerrit
  20. Gerrit Broekhuis

    Problem with FoxySlider class

    Hi, In a new project I'm trying to use the FoxySlider class. I have version "v0.99a 2014-12-05" in my project. Basically it's working fine. I have juist one very nasty bug I cannot find or solve that has bothered me now for several days. I discovered that by clicking on the xslider imgtrack...

Part and Inventory Search

Back
Top