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

    C0000005 coming from Unbindevents

    I have been experiencing occasional c5 errors. The VFP9Rerr.log keeps referring to BindWindowsEventsProxy.Destroy line 4, which is "Unbindevents(_vfp.HWnd, WM_THEMECHANGED)" #Define WM_THEMECHANGED 0x031A If Type("This.Parent") # "O" Then Unbindevents(_vfp.HWnd, WM_THEMECHANGED)...
  2. AlastairP

    .NULL. or null

    What is the difference between .NULL. and null when intending to add null to a property For instance should I use store .NULL. to obj.parameter or store null to obj.parameter
  3. AlastairP

    CHAR vs VARCHAR - no real difference size on disk

    Good morning all I am looking for ways to optimize a database. I have used CHAR field types for the database. I took a look at the VARCHAR field type. According to the documentation, VARCHAR only uses the size that it needs unlike CHAR that pads the field to the full width. Therefore you...
  4. AlastairP

    data query speed difference with SET DELETED ON/OFF

    I have noticed that there is a speed difference with SET DELETED ON I have been working on trying to speed up data queries. The application is running on Windows Server 2016 I have done a lot of changes to improve speed such as dividing tables and optimising queries, and indexes as required...
  5. AlastairP

    ctl32 Scrollable Container

    Good morning, I am using ctl32 Scrollable container. When the form is resized, the container moves according to the Anchor property (5) However the scrollbar stays in the same location and does not move with the scrollable container Has anyone overcome this issue? Alastair EDIT: It works...
  6. AlastairP

    Windows Server 2016 speed issues

    I am working through trying to overcome speed issues with my application running on Windows Server 2016 The server is running 2 x Xenon E5-2650 V4 @ 202, RAM 256GB The server is running raid 10 with SSD drives (we used to have mechanical drives up to recently) The server has 2 partitions, C for...
  7. AlastairP

    debugger not stepping through code step by step

    I have just recently started getting an issue where the debugger does not step through the code line by line, but instead only stops where "SET STEP ON" occurs. I set "SET STEP ON" at the point I want to check, then press F8 to step the code. However, the code runs without stopping/stepping at...
  8. AlastairP

    Timer event and spinning mouse cursor

    I have a timer event. The timer checks records. If the mouse is stationary when the timer is running the checks, the mouse pointer changes to a spinning wheel (Windows 10) and does not restore to normal until the mouse is moved. If the check is negative, no update of the ui occurs. The check...
  9. AlastairP

    Web control

    Is there a more up to date web browser control? I am using Shell.explorer.2 An old web form no longer works properly due to age. Any suggestions? Alastair
  10. AlastairP

    Treeview and Adobe Preview - Form Unable To Be Clicked

    Good afternoon I have a VFP9 program that holds an activex treeview control (TreeCtrl2 - The standard one that ships with VFP). The nodes in the treeview when selected will open a PDF file to be previewed in an explorer control (Shell Explorer2). Just occasionally, the form becomes...
  11. AlastairP

    convert png to jpg

    I am having trouble converting png to jpg I have tried the following: local loimage as gpimage of ffc/_gdiplus.vcx loimage = newobject("gpimage",home()+"ffc/_gdiplus.vcx") loimage.createfromfile(lcsource) loimage.savetofile(lcPic,"image/jpg",'quality=100') But the result is a black image.
  12. AlastairP

    supress c5 error messagebox

    I am looking for way to supress the C5 error messagebox. I have a non visual utility program that runs briefly, does a small task and then shuts down. Occasionally, maybe every 1000 or so executions I get a C5 error. I will keep on looking to try and resolve the error, however I want to...
  13. AlastairP

    HTTP request GET files

    I am setting up a REST server in node.js, the client is a windows tablet running VFP9 I am struggling with downloading files. That's ok for text & strings and so far a zip file - seems ok. But not for images. I send a request to the server for a file by name, server responds with "I got file"...
  14. AlastairP

    Weird Treeview control behaviour on touch screen application

    I have a touch screen tablet application with a treeview control. This issue occurs when the tree view is populated and activates the scroll bar. If you happen to swipe up or down on the clear space in the tree view control (But not on the scrollbar), the entire form will move up or down a bit...
  15. AlastairP

    Windows Service

    Good afternoon, I am just trying to understand some design concepts before I continue any further. I have been working on a control panel program that also starts a com server exe. The com server performs the heavy lifting. I need the program to start up when Windows Server starts, so I was...
  16. AlastairP

    WOA

    Good morning, Has anyone had any experience with running VFP programs on Windows-On-Arm? Alastair
  17. AlastairP

    dbf is not a table

    I have 3 x corrupted tables giving me the message "<tablename>.dbf is not a table" What options do I have for any kind of data recovery or potential fix? I tried to fix the header as I have done in the past when I get a " Table is Corrupted" error but this had no effect. I have recent backups...
  18. AlastairP

    Touch screens and scroll bar/drop box behaviour

    Good morning I have discovered an interesting issue with touch screens Sometimes native VFP controls like drop boxes and scroll bars do not work as expected or at all with a touch screen. I can reproduce the issue as follows: If the windows device has a mouse or touch pad active or connected...
  19. AlastairP

    Register com exe on client

    I have been trying to register a com exe on a Windows 8.1 32 bit computer The development computer is Windows 7 64 bit I place the file in the Windows\System32 folder in the target computer open elevated command prompt for good measure cd to Windows\System32 folder type...
  20. AlastairP

    Com Server Process

    I am trying to confirm a FTP connection - When the connection is OK, I get a quick response, all is good. When the connection is no good or the wrong host is provided it takes a long time for the connection to return failed. This causes a hang. So I made a out-of-process com exe to run the...

Part and Inventory Search

Back
Top