dcsimg

Search:

Type: Posts; User: jpbro

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    56
    Views
    2,120

    Re: Multi-Process RPC Listener Host System for RC5

    FYI - THE DEMO SERVER HAS BEEN DECOMMISSIONED AS OF FEB 18, 2020

    Just a heads up to any future visitors - I've taken down the demo server since it has served it's purpose as a proof of concept....
  2. Re: [RESOLVED] Is it possible to add an enumerator to an array?

    Nice work Olaf - There's been a couple of times I wished the cArrayList was enumerable, and now it is :)
  3. Replies
    21
    Views
    600

    Re: Convert .Mdb to sqlite3

    When converting any file from one format to another you're almost always going to encounter issues that require human intervention to handle them appropriately. Automated tools/libraries make...
  4. Replies
    20
    Views
    447

    Re: [RESOLVED] Exiting a Nested For/Next Loop

    TBH once we're getting 3 or more loops deep, I'd start looking at moving things out to separate subs/functions with descriptive names so the code almost becomes self documenting. Something like this:...
  5. Replies
    20
    Views
    447

    Re: Exiting a Nested For/Next Loop

    You could also use Do..While loops and test your J & K variables to break out early. It has some annoyances like needing to increment and reset your J & K variable manually, but the advantage is that...
  6. Re: The 1001 questions about vbRichClient5 (2020-02-08)

    I was running each test separately and compiling my own results, but I get similar numbers using the Comparison Test button:



    VBScript--RegExp: 5,444.31msec
    Olaf--ActiveScript: 9,265.44msec...
  7. Re: The 1001 questions about vbRichClient5 (2020-02-08)

    Yes, I'm running it compiled too in case that makes a difference.
  8. Replies
    17
    Views
    547

    Re: vbWidgets/RC5 UI Questions "Megathread"

    This is great Olaf, thank you very much!
  9. Re: The 1001 questions about vbRichClient5 (2020-02-08)

    @dreammanor, I can't reproduce your timings (though I still come in last place unsurprisingly considering the competition).

    Using your latest demo compiled (that uses pcre2_substitute method...
  10. Replies
    17
    Views
    547

    Re: vbWidgets/RC5 UI Questions "Megathread"

    OK I've made a bunch of progress improving the app steadily, but I've bumped into something again.

    I want to show a modal progress form that will start a timer and do some work until there it is...
  11. Re: [RESOLVED] Save fixed length txt file as UTF-8

    It's due to the "endianness" (or byte order) of variables in memory.
  12. Re: [RESOLVED] Save fixed length txt file as UTF-8

    Also it looks like the endpoint is expecting XML, but the text file is not structured as XML.
  13. Replies
    56
    Views
    2,120

    Re: Multi-Process RPC Listener Host System for RC5

    Thought I'd post back here one more time before I shut down the demo server, likely in the next few days.

    Here's the latest uptime report:

    174331

    As you can see 100% uptime after a month of...
  14. Re: DirectX9 (Direct3D) and the "Present" method, getting error

    A quick Google search seems to indicate that the error means "The device is lost and cannot be restored at the current time, so rendering is not possible."

    So I'd definitely trap the error and...
  15. Replies
    17
    Views
    547

    Re: vbWidgets/RC5 UI Questions "Megathread"

    Thank you dreammanor! I should have taken a closer look at the available events.
  16. Replies
    17
    Views
    547

    Re: vbWidgets/RC5 UI Questions "Megathread"

    Thanks Olaf! I'm studying your modifications now. One thing I notice quickly is that the app works perfectly when compiled, but running in the IDE it crashes (hard crash, no error) right after...
  17. Replies
    17
    Views
    547

    Re: vbWidgets/RC5 UI Questions "Megathread"

    Thanks for trying @reexre - I'll have to run some more tests and review the thread you linked to. Guess my memory isn't all it's cracked up to be either - I don't recall being part of that thread!
    ...
  18. Replies
    17
    Views
    547

    Re: vbWidgets/RC5 UI Questions "Megathread"

    That worked, thanks dreammanor! Not sure why there is a .Backcolor property if we need to go through .Widgetroot.Backcolor though? Still trying to wrap my head around the model.



    That looked...
  19. Replies
    17
    Views
    547

    Re: vbWidgets/RC5 UI Questions "Megathread"

    If you replace the displayDpiScale method in MDisplay.bas with the following, does the scaling look better?



    Public Function displayDpiScale(Optional ByVal p_OneBasedDisplayIndex As Long) As...
  20. Replies
    17
    Views
    547

    Re: vbWidgets/RC5 UI Questions "Megathread"

    Thanks for the feedback @reexre! The regfree snippet is handy, I'm doing something similar but mine is more long winded.

    Regarding the screenshot - I wonder if it has to do with my auto-scaling...
  21. Replies
    17
    Views
    547

    Re: vbWidgets/RC5 UI Questions "Megathread"

    Reserved for future expansion
  22. Replies
    4
    Views
    268

    Re: [RESOLVED] LIST month days

    Happy to help - just noticed I had an unused l_Month As Long declaration, so you can remove that.
  23. Replies
    4
    Views
    268

    Re: LIST month days

    Sub PopulateComboMonth(po_Combo As VB.ComboBox, ByVal p_MonthNumber As Long, ByVal p_Year As Long)
    Dim l_Date As Date
    Dim ii As Long

    For ii = 1 To 31
    l_Date =...
  24. Re: [RESOLVED] How to make Regular Expression skip/avoid strings(content enclosed in

    Glad you found the code useful :)

    Quick note on extending it to handle comments, I gave it a quick shot but I got busy with some other things so I couldn't finish. Not sure when I'll get back to...
  25. Replies
    17
    Views
    547

    vbWidgets/RC5 UI Questions "Megathread"

    I'm finally getting around to try to build my first vbWidgets/RC5 UI based application. In the spirit of dreammanor's "1001 RC5 questions" thread, I'm starting a similar one here to post...
  26. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    Olaf's demo does show virtual "binding" for 2 tables, but the principles can be used for a single table (or multiple tables) as needed.
  27. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    Since you are now using vbFlexGrid, one thing I recommend trying is the virtual mode over the IVBFlexDataSource interface instead using the DataSource property. Here's a demo by Olaf:...
  28. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    Hmm, what error? Again, I tried it here with MSHFlexGrid & VBFlexGrid and it works OK. That's on my dev machine though.
  29. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    Good news, glad you found a solution :)
  30. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    Does this approach work?



    Option Explicit

    Private Sub Form_Load()
    Dim lo_Cnn As vbRichClient5.cConnection
    Dim lo_Rs As vbRichClient5.cRecordset
  31. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    I found this newsgroup thread that might help: https://microsoft.public.vb.database.narkive.com/VV70H8bT/ado-needs-to-be-installed-sqlite
  32. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    Do you have this key in the registry on the Win10 deployed machine (for OLEDBSimpleProvider)?



    HKEY_CLASSES_ROOT\Interface\{E0E270C0-C0BE-11D0-8FE4-00A0C90A6341}
  33. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    Can you bind an ADODB.Recordset to the Datasource property OK?
  34. Re: [RESOLVED] How to make Regular Expression skip/avoid strings(content enclosed in

    Sorry to hear about the effects of your prolonged recovery, and I hope you get back to 100% soon. TBH I forgot about that thread too!

    Words are thanks enough - always happy to help :)
  35. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    Right - but is the deployed version 5.0.72? If not, I recommend updating it just in case that helps... (I'd also double-check that it is the same deployed version as on your working Win7 machine). I...
  36. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    That said, I'm at a loss as to what is wrong on your Windows 10 - unfortunately I can't reproduce the problem. Maybe confirm that the vbRichClient5.dll on your Win10 machine is version 5.0.72 and if...
  37. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    Either declaration should be fine so long as you don't have any other DLLs referenced before vbRichClient5 in your project that have classes called cConnection and/or cRecordset. By prefixing with...
  38. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    This code works for me with the MSHFlexGrid (named DG on the form) on Windows 10, can you try it?



    Option Explicit

    Private mo_Cnn As vbRichClient5.cConnection
    Private mo_Rs As...
  39. Re: [RESOLVED] How to make Regular Expression skip/avoid strings(content enclosed in

    I woke up in the middle of the night and was a bit bored, so I whipped up an attempt. Note that the code is lightly tested and was written when I should have been sleeping, so I don't recommend it...
  40. Replies
    42
    Views
    639

    Re: DataGrid is emty Windows 8 and 10

    Also note that your SQL appears to have errors still - you select "FirsName" but you filter on "FirstName". Do you really have fields called "FirsName" and "FirstName"? Perhaps you could post a...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width