Search:

Type: Posts; User: seanyboy

Page 1 of 38 1 2 3 4

Search: Search took 0.02 seconds.

  1. DLL Return of String - how do I free memory.

    I'm creating a DLL that returns a string when called.

    This appears to work fine, but the documentation I have says that the memory for the returned string needs to be freed after I have called...
  2. Replies
    69
    Views
    7,542

    Re: ChatGPT by openai and DataFlex

    I use ChatGPT on occasion - Here's some things it's been useful for.

    1. Asking it for a high level specification of a business process. It'll break out general structure, make a reasonable guess...
  3. Replies
    2
    Views
    1,139

    Re: SalesForce WSDL API

    No. I assume that they have RESTFul API's now, but I've no memory of making that post or what it was for!
  4. BUG: SearchArray inside an if is failing.

    See attached Code.

    SearchArray returns the correct values (in the example, -1,-1,0), but depending on the dataflex runtime version, procedure_return only fires on the first call, or it doesn't...
  5. Replies
    6
    Views
    1,955

    Re: User count exceeded by too many vdfdaemon

    Hi Peter - did you ever find a solution to this?
  6. Re: Create a DataFlex Report straight from code.

    It would be very useful to be able to change component properties inside a report without using a parameter and a code block.

    Just being able to set a component as visible/not visible based on...
  7. Thread: Showln

    by seanyboy
    Replies
    14
    Views
    1,847

    Re: Showln

    My recommendation is to log to a file, and use "tail.exe" to view the output.
    tail.exe can be installed with command line git.

    This is how I do all program output, and as well as colored output...
  8. Re: Download of file using chttpTransfer is failing. Why?

    Figured it.

    USDA FSIS website is possibly doing some tests to ensure the browser is valid.
    If I pretend to be a real browser, it works.

    :-(
  9. Download of file using chttpTransfer is failing. Why?

    Hi - I'm trying to download a file from the USDA website.
    This downloads fine in a browser, but using Dataflex, it times out. (See attached code)

    Any suggestions as to why this would be?

    ...
  10. Replies
    2
    Views
    1,420

    Re: Map Network Drive

    External_Function WNetAddConnection2 "WNetAddConnection2A" mpr.dll Pointer lpNetResource Pointer sPassword Pointer sUsername DWord dwFlags Returns Integer


    Define ForceDisconnect for 1
    Define...
  11. Re: Bug: you can select a field twice, and using the cursor arrows applies any effect twice.

    I made you a video. I have a cold at the moment so no commenting on how nasal I sound.

    https://drive.google.com/file/d/1FWziC6ABozqLGQrImvA1RxegDU88NNAV/view
  12. Re: Safe way to check whether a database column exists

    100% use SQL if you can for this, but if you can't then ...



    Function StrToFileNumber String sFile Returns Integer
    Integer hTable
    String sFileListFileName

    ...
  13. Replies
    8
    Views
    1,055

    Re: Office 365 / emailing from WebApp

    This absolutely is a PITA.

    1. If you can persuade your company not to send bulk emails using Office 365, then do it. I can't stress this strongly enough. O365 has limits on numbers of emails you...
  14. Replies
    69
    Views
    7,542

    Re: ChatGPT by openai and DataFlex

    I had to write some emailing code for a small automated Python task, and I got GitHub Copilot to help. It probably made the job about 50-75% faster. AI's here, and it's useful.

    One worry is that...
  15. Replies
    2
    Views
    919

    Re: Dataflex Reports - Background flickering

    I thought this was maybe caused by my video card, but I've updated the video card and I'm still seeing the same issue. Both cards were GEForce cards, so it may be a driver / chipset issue. When I...
  16. Replies
    2
    Views
    919

    Dataflex Reports - Background flickering

    In Dataflex reports (v20, & v21), design view, the background below a report flickers if you click drag on it. This behaviour started with Microsoft Windows 11.
    See linked video.
    click drag...
  17. Replies
    16
    Views
    2,215

    Re: Need help with my first json & HttpPostJson

    That's really not how you should post JSON, so this isn't your fault.

    Try this - can't promise it works, but :

    1) Add a Form Type Content Header
    Get AddHeader "CONTENT-TYPE"...
  18. Replies
    16
    Views
    2,215

    Re: Need help with my first json & HttpPostJson

    Hi Boris - The next step is to use Postman to manually create your POST and see if you get the same error.
    https://www.postman.com/
  19. Replies
    16
    Views
    2,215

    Re: Need help with my first json & HttpPostJson

    We use https://webhook.site/ site to double check POSTed data is in the correct format.
  20. Re: cWebHttpHandler not compatible with httpclient. PostAsJSONAsync

    It looks like it may be fixed in DF2021, which is good news.
    https://docs.dataaccess.com/dataflexhelp/mergedProjects/Welcome/DataFlex_2021_Update_Release_Notes.htm
  21. cWebHttpHandler not compatible with httpclient. PostAsJSONAsync

    Ok - I'm not sure what to do with this, or if it's even a bug, but one of our customers has reported that our web service is not compatible with a method called PostAsJSONAsync.

    This is a...
  22. Replies
    2
    Views
    937

    Re: Cannot install dataflex reports 6.2

    Thanks Vincent - deregistering the OCX worked.
  23. Replies
    2
    Views
    937

    Cannot install dataflex reports 6.2

    I am unable to install dataflex reports 6.2 When I try and do this, I get the following error (See screenshot)




    "The DataFlex Reports 2018 Developer Edition - 6.2 setup program has found a...
  24. Replies
    24
    Views
    4,552

    Re: Logging database changes

    Auditing is an absolute bane, but there are a couple of techniques we have used / considered with MSSQL based database.

    1. Rather than manually enter the triggers, or have them in a .SQL file, we...
  25. Replies
    1
    Views
    829

    Keep Group together bug 18.1

    It looks like "Keep Group together" has changed between 8.0.1 and 8.1 with groups > 1 page in length. Unfortunately this has introduced an error where if you also have "Repeat Group Header on each...
Results 1 to 25 of 930
Page 1 of 38 1 2 3 4