Search:

Type: Posts; User: matthewd

Page 1 of 37 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    136

    Re: SaveAsDialog or OpenDialog

    pbEnterKeyAsTabKey in the cApplication object controls how the Enter key is handled. If it is false, then I think Enter would trigger keyaction sent to the default button.
  2. Replies
    11
    Views
    353

    Re: What happens to the object?

    Mike,

    I was kind of thinking of it from a couple of different angles:
    1. Keeping code concise, i.e. avoiding having to declare another handle, track it and send destroy to it. And in a more...
  3. Replies
    11
    Views
    353

    Re: What happens to the object?

    If I were doing this a lot and wanted to automatically clean up these objects, I should think it ought to be possible to just insert a function around member to track the creation of these objects...
  4. Re: Exception code 0xc0000005 on startup of

    So... this is frustrating: the IT guy didn't do what we were expecting, but got it working, quit on the customer, and apparently isn't talking to them anymore. (According to our tech that has been...
  5. Re: Exception code 0xc0000005 on startup of

    Mike,

    I don't think that could be it since there's a problem with 19.0 also. 19.0 release included the fix that was meant to deal with this problem.

    There is another exception code that we've...
  6. Re: Question about working with Git And Dataflex

    In our system, each developer has their own set of database files (embedded tables, but that is just a detail, they could just as well be SQL). The database in our development workspaces is not the...
  7. Re: Exception code 0xc0000005 on startup of

    We have had a number of customers running VMWare unsuccessfully, I think in at least one case it was tied to snapshots.

    Unfortunately when there are problems most of the IT admins that have set...
  8. Re: Exception code 0xc0000005 on startup of

    We are going to try uninstalling ESET and check on the Windows update status, will report back. Their tech was ready to roll back the Windows update but not knowing if that would fix it we had him...
  9. Exception code 0xc0000005 on startup of

    A customer upgraded a Windows 10 workstation to the 1903 version, and now it doesn't seem to be able to run programs compiled under any pre-19.1 versions of DataFlex. They have two other...
  10. Re: ActiveX Automation Excel message - Unable to get the PasteSpecial property of the Range class

    I haven't used this method before but looking at the Microsoft Docs it looks like the first parameter is supposed to be a string. Maybe that is the problem?
    When doing anything new with Excel COM I...
  11. Replies
    6
    Views
    228

    Re: Compiler error in a BasicReport object

    This is an old technique that dates back to DOS OO days where the object declaration line can have additional information/parameters supplied. Typically a shortcut for initializing properties /...
  12. Replies
    16
    Views
    488

    Re: VDF 19 and Dot Matrix Printers.

    "NET USE LPT1: \\server\printer" actually still works under Windows 10! But in my experience using the LPT ports was always more trouble than simply printing direct to the share name, e.g....
  13. Thread: Timed Kill

    by matthewd
    Replies
    5
    Views
    261

    Re: Timed Kill

    One other thing I forgot to mention regarding how the timer works: it simply sends keyaction to the default button to close the dialog. So in this case if you want to have one button for Continue...
  14. Thread: Timed Kill

    by matthewd
    Replies
    5
    Views
    261

    Re: Timed Kill

    Dave,

    Maybe this will work for you. Download the original .ZIP I posted on 2/6/14, which has the documentation, and the updated .ZIP I posted on 3/8/2016, which contains the code that adds the...
  15. Replies
    9
    Views
    466

    Re: Folder dialog box

    Here is an example from one of our programs:


    Procedure OnDropDown
    Integer iCnt iRetVal
    Handle hoExcel
    String sFIlename
    String[]...
  16. Re: DF 19.1 illegal method error when compiling - VPEGETCORNERRADIOUS

    We have a similar problem with the VPE2Winprint package, which also has the VPE external functions defined. What I do is comment out the "Use Vpe6.pkg" line in VPE.pkg in VDFQuery, and make sure...
  17. Re: "Next called in focus chaning" error - I don't understand

    The call stack dump is probably key to figuring out whether something in your code is triggering a navigation event at the wrong time (could be it's something other than the obvious augmenting or...
  18. Replies
    10
    Views
    338

    Re: Calling Dialog from Menu Item

    I would make sure that the dialog is used inside your main panel and try referencing it with (oDialog(self)). I'm not sure the object neighborhood logic kicks in outside of a view/modalpanel. But...
  19. Replies
    13
    Views
    712

    Re: Getting rid of obsolete code questions

    Two approaches I use depending on the situation, keep using Found or create a new boolean:


    Move (Found and EComRetDtl.EComRMARetID = sRetID) to Found
    or

    Move (Found and...
  20. Re: Registry write dword with hex value "0xffffffe4"

    You may also want to at least password protect the file as well, given that there are ways of circumventing the Modify contents setting. For example see this,

    I'm pretty sure there are open...
  21. Replies
    9
    Views
    460

    Re: Dynamic columns in cCJGRID

    If you anticipate doing this more than once, it might be a good idea to come up with a generalized solution for this, maybe with hooks for handling special cases.

    What I've done is taken the...
  22. Replies
    7
    Views
    606

    Re: Error 25: Record Not Found

    Todd,

    You might try augmenting reset_filemodes_for_lock in the main DDO. You should be able to check the file modes of your tables before and after forward sending. This should be right before...
  23. Replies
    7
    Views
    606

    Re: Error 25: Record Not Found

    Do you have any externally updated files in any of your DDOs (via add_system_file in the DD class)?

    If this is happening when the request_save operation does a REREAD of all tables involved in...
  24. Thread: IsDate

    by matthewd
    Replies
    15
    Views
    705

    Re: IsDate

    I don't know that we've ever created a function for this, but in some place we turn off error trapping and move a string to a date to see if it is ok. Here is a function based on that method:

    ...
  25. Replies
    1
    Views
    240

    uuid.pkg - upper or lower?

    I thought maybe this will helps someone down the road dealing with UUID's...

    A few years back I obtained from somewhere the UUID.PKG (possibly based on Vincent's blog post). I don't remember the...
Results 1 to 25 of 925
Page 1 of 37 1 2 3 4