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

    BUG: XMLToCursor has a parse bug when a node value only is a period.

    To everybodies attention. In thread thread184-1805853 I discussed a lot which has one important essence that should become more generally known. David Higgs actually came across a bug of XMLParsing in XMLToCursor. Here's a reproduction of the bug. It involves XML that is valid in itself and has...
  2. Olaf Doschke

    File in USE and REPROCESS

    I want to recommend a good way to handle REPROCESS and error handling for the "file in use" error you encounter in multi-user applications sooner or later. When I test parallel running clients as a stress test, be it for my new VFPTransactions or anything else, by running scripts that...
  3. Olaf Doschke

    VFPTransactions

    A big hello to anyone still using DBCs, As may be well known I am not a big proponent of DBFs anymore, since SMB and oplocks make life harder for shared DBCs. But in recent threads, alternatives like NAS system seem very stable, as they are often based on Linux and may either not implement the...
  4. Olaf Doschke

    Where class definitions can live

    Hello all, just a short hint on the Newobject function. The documentation about it bugged me a bit, it says_ What do you mean "and so on"? The givens are quite broad possibilities and I think nobody really cares much, as you can always put a class into a prg or vcx and that's where they...
  5. Olaf Doschke

    Build in new IDE session to avoid build problems due to files in use

    In a recent thread the problem pf files in use you can sometimes face when building a project was discussed. To be clear, it's all about comforts and convenience, as you can always do CLEAR ALL manually before build, can always restart the IDE yourself, etc. It's all juts habits each has to...
  6. Olaf Doschke

    Microsoft put the MSDN "Foxpro General" Forum to archived status.

    This must have happened a few days back as I posted last on the 12th of July. I see Foxite has a few people active. Universal thread has become https://www.levelextreme.com/ already a few years ago and I don't know much about the Spanish or French Foxpro Community. I remembered there was and...
  7. Olaf Doschke

    Using the WebBrowser control as an image "control"

    This is a follow up for the thread thread184-1803757 The suspicion of vernspace there is that the VFP image control has a memory leak problem if used extensively with larger images (a few MB) and may be related to stretch="isometric". I couldn't confirm, but the obvious test of such suspicion...
  8. Olaf Doschke

    Merry Christmas

    [xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][santa][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree][xmastree]...
  9. Olaf Doschke

    How reliable is WSH AppActivate()? I'm looking for experience and/or people willing to experiment...

    We all know and use methods to prevent double starts. I maintain an application that already implmented the usual FindWindow/SetForeGroundWindows method. A customer's suspicion is, this still doesn't work. I found a possible flaw in the logic, and while I am at rewriting this I remembered WMI...
  10. Olaf Doschke

    backup strategy

    I "inherited" a software using an SQL Server backend, which is in simple recovery mode. Daily backups are simply made to the same BAK file with the BACKUP command: BACKUP DATABASE TheDatabase TO DISK = 'C:\backup\TheDatabase.bak' WITH INIT,SKIP A little simplified, the path is configurable...
  11. Olaf Doschke

    doevents force hangs

    I've recently had cases of coverage logging reporting macroscopic times >100 seconds on code lines being a DOVENETS FOCE. What helped is having a MOUSE DRAG TO MROW()+1, MCOL()+1, so DOEVENTS FORCE and in the end Windows itself has an event to process. It occurred on an application used on...
  12. Olaf Doschke

    QUIT in EXE COM SERVER causes OLE exception

    First of all, you don't need QUIT in a DLL COM Server, as that's always running in the same thread as the caller you actually don't want to use that in such COM Servers. And secondly, for EXE COM Servers, setting your reference to a COM Object to null does not only destroy the COM server but...
  13. Olaf Doschke

    Is it possible to use an EXE Comserver registration free?

    Every EXE generated with VFP has an embedded manifest and it's easy to modify this by simple having a project.exe.manifest file within the same folder as your project.pjx. (See https://west-wind.com/wconnect/weblog/ShowEntry.blog?id=890) It's well known (for example from Rick Strahl) how to...
  14. Olaf Doschke

    Access JavaSript object properties with invalid names from VFP

    I am currently working on an API involving the necessity to go through JS functions I load into a Webbrowser control, as the endpoint API is using things like postMessage JS, which need a JS eventlistener. I can get back a JS parameter "event" and Intellisnse shows me properties and subobjects...
  15. Olaf Doschke

    Grid Coloring Problem

    I have a working coloring scheme using DynamicBackColor of Grid columns, which works, but the dyanmicbackcolor is overridden by highlighting the active row when I set Grid.AllowCellSelection = .F. A right-click on a cell increments a numeric field which in turn changes the backcolor, as that...
  16. Olaf Doschke

    Profiling Performance - Where is the missing Time?

    I have an application in maintenance, which starts slow and about 50% of the initialization time doesn't show up in a coverage.log I did via SET COVERAGE TO some.log The log record for DO form reflects the real world time I can also stab, about 4 seconds. The coverage log of all stack levels of...
  17. Olaf Doschke

    Is this a form bug? What is happening here?

    I encountered problems positioning a form, and I think this is a bug. Can you confirm this? Does anybody know what's going on? Code to reproduce at the end. I start a form with a red container, that has the target position and size of a child form. To illustrate what happens I show the subform...
  18. Olaf Doschke

    Rushmore and other influences on DBF read performance

    Since we had a side discussion about Rushmore recently, I thought I redo some tests and I found interesting results: I tested DO WHILE vs SCAN with different scopes and therefore strategies using automatic Rushmore optimization VFP does vs direct index usage and a combination of both. I set up...
  19. Olaf Doschke

    SQL Server 2017 FileTables - How do I directly Insert files into a subdirectory?

    Talking about SQL Server 2017 FileTables. I found a workaround to storing a file into a FileTable into a subdirectory of the FileStream share: 1. Store the file into root 2. update the path_location using the node.GetReparentedValue() method. DECLARE @finalpath hierarchyid; Use...
  20. Olaf Doschke

    PEMSTATUS bug

    I am victim of a bug I just found. Unfortunately of course it happens in a project, where it is important, but take that aside, I can cope with the aftermath... o = CREATEOBJECT("nested") ? PEMSTATUS(o,"inner1",5) ? VARTYPE(o.inner1) ? TYPE("o.inner1") ? o.inner1.name DEFINE CLASS nested as...

Part and Inventory Search

Back
Top