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 strongm 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: vernpace
  • Content: Threads
  • Order by date
  1. vernpace

    OpenAI Speech-To-Text

    We have a requirement to provide MP3toTXT transcriptions using OpenAI. We use OpenAI for a bunch of stuff, but can't seem to get this working. Here are the curl specs from OpenAI: curl --request POST --url https://api.openai.com/v1/audio/transcriptions --header "Authorization: Bearer...
  2. vernpace

    CommonDialog Issue

    Since the recent update to Windows 10, version 22H2, we are having random problems with the CommonDialog control. Sometimes it takes five or more seconds to return a file path - creating user havoc... I know that there are alternatives to the CommonDialog control, but somehow I just can't think...
  3. vernpace

    Connection to Public Wifi

    We have a security requirement that certain features of our software should not run if a user is connected to a public wifi (e.g. using our software at StarBucks). I have tried various APIs, but can find nothing that will determine if a user is specifically connected to a public wifi. I have...
  4. vernpace

    Calendar Appointments to and from UTC

    We have requirements to add a Calendar to an existing application. After much deliberation, we decided on using the ctxCalendar ActiveX control from DBI - a bit of a learning curve, but has met expectations. One of the requirements was to store (when saved) appointment start and end datetimes...
  5. vernpace

    Problem with MSComctlLib.Slider.2 slider control

    We have a project that requires extensive use of a slider control. We have tried a few (e.g. FoxySlider, ctl32_trackbar), but have found that the good old Microsoft Slider Control 6.0 (SP6) is the best for our purpose EXCEPT for the focus rectangle as shown below: This is annoying. A possible...
  6. vernpace

    Semaphores

    In the old days, semaphores were created for all kinds of stuff and were usually implemented by the creation of zero byte text files - if the file existed, then do this, else do that. Then, object-orientated programming came along and semaphore usage rode off into the sunset...kinda... There...
  7. vernpace

    INLIST Function not EXACT by default

    After some bug hunting, I discovered that string comparisions with the INLIST function are not exact by default. For some reason, I always assumed it was - bad assumption. Easy to fix by SET EXACT ON, but easy to forget to do it if needed. Now I gottah go through a bunch of code and make changes...
  8. vernpace

    PictureVal Issue

    We have an application that displays relatively large images (PNG,JPG,TIF) using an image control (1350x855) with Stretch:Isometric (required for our purposes). We have found that using PictureVal is superior to Picture with respect to quality and image resizing. However, there are performance...
  9. vernpace

    Is Current User In Admin Group - Windows 10

    Hi All, Need to know if current (logged-in) user is an administrator in Windows 10. In Windows 10, a user can never have "true" (super administrator) privileges, but can have administrator privileges for software installation, etc. This is why some of the older APIs work (e.g...
  10. vernpace

    Capture reports to PDF with Foxit Reader

    Had a nice surprise today when my printer went down. I tried to print a report by selecting the "Foxit Reader PDF Printer" from the printer selection dialog. I was then prompted to enter a PDF file name, after which my 10 page report was perfectly capture into a PDF. Code (modified for example)...
  11. vernpace

    WMP and Windows 10

    Hi Everybody, It appears that Windows Media Center is being cut in Windows 10. However, I hear conflicting reports about Windows Media Player being cut. The software project I manage makes heavy use of WMP for many things, the API in particular. We don't have a machine installed with any of...
  12. vernpace

    Compression Syntax

    Craig Boyd's website has been down for awhile: http://www.sweetpotatosoftware.com/ Is he still around? I need to get syntax on his compression FLL.
  13. vernpace

    ON SHUTDOWN kinda works, but...

    Hi All, We have a background EXE that sends short messages via WinSock to clients over the Internet. For each client there is a connect then a send. The whole thing takes around 10 seconds for all clients. Testing shows that ON SHUTDOWN <someProc> works for only a brief period. If the computer...
  14. vernpace

    How to freeze a top-level form

    Hi All, OK, this is a strange requirement. I need to "freeze" a top-level form during long decryption processes which cannot be interrupted. What I mean by "freeze": The form cannot be moved, closed, minimized, maximized, and a user cannot have the ability to click on any objects. The user...
  15. vernpace

    PictureVal in a grid

    Hi Everyone, New around here. Not new to VFP, but this has me stumpt: Got this problem displaying image data in a grid (column Sparse set to .F.). Have a image control in a grid. Have an SQL Server table with images stored in a varbinary(MAX) field (vartimage). Have...

Part and Inventory Search

Back
Top