Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.23 seconds.

  1. Re: Getting the ball rolling. Which VB6 projects are you working on?

    Just a suggestion...
    If you would feed your ICAO-http-query-results into an SQLite-File-DB,
    then you'll be able to perform such DataBindings even easier, based on cRecordsets.
    (usually via a...
  2. Replies
    28
    Views
    1,011

    Re: MakeDLL problem

    Entirely different??? It's JAB (Just Another Basic) faf...



    Don't project onto others from your own experience as a hobbyist... ;)

    Olaf
  3. Re: Typelib translation: is in,out BYTE somevar[8] a pointer?

    Yep, have rarely seen a TypeLib-param flagged with [out], which wasn't one.

    In that regard, the "As Any"(Ptr) recommendation from VGG was not *that* bad... :)

    Olaf
  4. Replies
    28
    Views
    1,011

    Re: MakeDLL problem

    Because the compiler is out of Beta-stage for years.

    If couttsj is planning to distribute his Dll (if it's not for "hobby-usage on his own PC"),
    then FreeBasic is the better option currently.
    ...
  5. Replies
    28
    Views
    1,011

    Re: MakeDLL problem

    If that Dll was planned, to be used of from VB6/VBA/tB -
    then I don't see why you try to avoid to produce a normal ActiveX-Dll...

    If it "has to be" a Dll with stdcall-Exports, then why not use...
  6. Re: RC6 error adding item to a cCollection with an empty string as a key (vb6 col can

    I could implement such a version relatively fast from the existing one -
    but ideally this would sit in its own RC6-Class (to set all the Methods to ByRef Key As String) ...

    Hmm, thinking about a...
  7. Re: Getting the ball rolling. Which VB6 projects are you working on?

    Here's a simple Demo, how to use the RC6Widgets.cwDropDownList:
    (needs - beside an RC6, also a RC6Widgets reference)



    Private WithEvents Panel As cWidgetForm 'Widget-Host (for siting)
    Private...
  8. Replies
    12
    Views
    695

    Re: Can't debug drag and drop

    The system is sometimes caching "shim-info" for existing Exes in a weird way.

    So, what I have on my system is a true copy of VB6.exe, named VB6_NoAdmin.exe (without any shims) -
    both having...
  9. Replies
    9
    Views
    452

    Re: get date created of file on web

    You're right, I've messed that up ...

    Here's the corrected version:


    Private Declare Function InternetTimeToSystemTimeW Lib "wininet" (ByVal psTime As Long, ST As Any, Optional ByVal...
  10. Re: Having issues trying to set up a class

    Please post the complete code of your Class...

    Olaf
  11. Re: RC6 error adding item to a cCollection with an empty string as a key (vb6 col can

    Yep, that slight difference is mostly due to "all the different Key-Types" RC6.cHashD supports
    (FWIW, Keys may be given even as Object-References)...



    Private Sub Form_Load()
    Dim HD As...
  12. Replies
    9
    Views
    452

    Re: get date created of file on web

    To convert an "Internet-TimeString" to an OleDate (a VBA/VB6/VBScript-Date) -
    the following helper-function does just that (as optionally either GMT-, or Local-Time):



    Private Declare...
  13. Replies
    9
    Views
    452

    Re: get date created of file on web

    There's no need to use .NET-stuff...
    (the usage of the WinHttp_5.1 COM-Class was explained several times to you already, in former threads).



    Const URL =...
  14. Re: RC6 error adding item to a cCollection with an empty string as a key (vb6 col can

    Have adapted the Test-Code in #12 to your wishes -
    and the results are still comparable - even with 1Mio Items.

    191122

    Please note, that with cHashD, as well as this new Dictionary -
    you...
  15. Re: RC6 error adding item to a cCollection with an empty string as a key (vb6 col can

    This seems to be a PCode/VBA-comparison.

    Native compiled the comparison between Christians new "Mini-Dictionary"-Class and (RC6).cHashD
    has nearly similar results in my test-runs:

    191121
    ...
  16. Re: RC6 error adding item to a cCollection with an empty string as a key (vb6 col can

    Right, I've allowed it only for non-compatible mode (cannot remember the reason, why I did that)...



    Have just fixed that for the next, upcoming release...
    (vbNullstring as well as "" will now...
  17. Re: vbRichClient: How to accept and process the Tab key in the cwTextBox/cwFlexGrid?

    First of all - good work so far...
    (I'm considering, integrating it into RC6Widgets, after the "dust has settled").

    For that to happen, all the remaining Win32-APIs which are (still) used so far...
  18. Replies
    1
    Views
    218

    Re: About WebView2-RC6

    With the WebView2, the underlying engine is "chromium-based" -
    but it is nevertheless derived from the "Mother-Ship" (the chromium-based "MS-Edge-Browser").

    And MS-Edge simply has different...
  19. Replies
    12
    Views
    534

    Re: How to call a Procedure by Name.

    Not sure, what you want to express with the "Anger-part" of your snippet -
    but it could have been written more efficiently this way:



    Option Explicit

    Private WithEvents H As VB.HScrollBar,...
  20. Replies
    12
    Views
    534

    Re: How to call a Procedure by Name.

    No - just play that through for a "zerobased" Coin-Toss... (a 50:50 distribution between result 0 or 1).

    For that case - your proposed Int(Rnd * 1) will produce a 100:0 distribution
    (always...
  21. Replies
    12
    Views
    534

    Re: How to call a Procedure by Name.

    If your 20 procedures are defined in the Form itself, then just make them Public there.

    Then calling (also from within the Form):

    CallByName Me, "Random" & Format(Int(Rnd * 20), "00"), vbMethod...
  22. Replies
    9
    Views
    655

    Re: Draw And Move Multiple Lines

    If you want to write an App that behaves like CorelDraw (which is Vector-Graphics) -
    then why not use a proper Vector-Graphics-lib (as e.g. the one in the RC6-Cairo-Wrapper)?

    Here's some few...
  23. Re: vbRichClient: How to accept and process the Tab key in the cwTextBox/cwFlexGrid?

    Here's some new Code for Form1 of your Zip:


    Option Explicit

    Private WithEvents Grid As cwGrid, WithEvents TxtBox As cwTextBox
    Private WithEvents VBar As cwVScrollBar, WithEvents HBar As...
  24. Re: [UNRESOLVED] - MS FlexGrd - some sets list just fine while others don't

    I've seen it...
    But so far, this is just a DAO-helper-module (of ~3000 lines! - with incomplete dependency-modules).

    What's missing in your Codebank-entry, is a simple accompanying CRUD-App (a...
  25. Re: [UNRESOLVED] - MS FlexGrd - some sets list just fine while others don't

    Could you post some Demo-Code, which underlines that claim?



    I highly doubt, that you really tried...

    I'd be willing, to post an ADO-Demo which does the same thing as your DAO-Demo, in case...
  26. Re: [RESOLVED] Converting ASCII Byte Array to Single or Double ... Fast

    In case you mean "RC6-cCSV -> Sqlite-imports" vs. "HugeFile-class -> MariaDB-imports" -
    the performance is about factor 3 better with RC6/sqlite (according to my own tests).

    Olaf
  27. Re: VB6 - Add/Modify UDTs (User Defined Types) to/from a VB6 Collection (No ActiveX D

    If you add the two following Private Helper-Routines to your module...


    Private Sub CopyFromCol(ColPlaceHolder As UDT, ByVal pUDT As Long, Dst As UDT)
    PutMem4 ByVal VarPtr(pUDT) - 4, pUDT
    ...
  28. Replies
    483
    Views
    160,064

    Re: VB6 WebView2-Binding (Edge-Chromium)

    Then don't fight it (within the Browser-Control)... ;)

    The nice thing about these "Dual-Apps" is, that you can always choose the side more suited for the task -
    so why not show a modal...
  29. Re: Printing a Large Image from Combined PNG Files: Ensuring Correct Width Settings

    Yep, and that "printing" can also be a simple "CC-based drawing" on a cCairoContext (derived from a Surfacetype of PDFSurface).

    Demo-wise I've provided a "SimplePDF.zip" for that already here in...
  30. Re: Routine too slow for comparing data 1 or 2 tables find duplicated barcodes MySQL

    [ "Insert (Or) Ignore" ... SQL Statements ]


    It is related to the problem at hand (how to "merge" a smaller Import-Set into a larger, existing DB-Table) -
    since it allows to handle potential...
  31. Re: Routine too slow for comparing data 1 or 2 tables find duplicated barcodes MySQL

    MySQL (as well as MariaDB) should both support "Insert Ignore", as described here:
    https://www.mysqltutorial.org/mysql-basics/mysql-insert-ingore/

    You will need a (unique) index on your...
  32. Replies
    12
    Views
    695

    Re: Can't debug drag and drop

    I do the "opposite", and run the VB6-IDE in "non-Admin" (non-elevated) mode...
    (via a renamed, separate copy of VB6.exe in the VB6-root-folder)...

    Olaf
  33. Re: Enhancing a VB6 App with Interactive Particle Effects Using RichClient6 & WebView

    You don't need any JS or CSS to render a bunch of particles -
    when VB6+RC6 can do it "on its own" (in half the lines of code)...

    Start an empty VB6-Project which starts from a *.bas modules Sub...
  34. Replies
    56
    Views
    8,442

    Re: vbWidgets/RC5 UI Questions "Megathread"

    For centering a Form on a certain Monitor, there's a special method...
    (CenterOn ... passing the Display of your choice as a Parameter) - as e.g.:

    Form.CenterOn New_c.Displays(1)

    Olaf
  35. Replies
    23
    Views
    6,092

    Re: [RESOLVED] decimal to binary

    As long as the new question is "On-Topic" and wasn't already answered in the older thread,
    I see no logical reason why stuff like that should be discouraged.

    Olaf
  36. Re: RC6 Collection PropTry Bug or Misunderstanding?

    I use it almost exlusively in "non-compatible-mode", because it performs a little bit faster this way.



    In this case there isn't - so the next version will support PropTry also in...
  37. Re: RC6 Collection PropTry Bug or Misunderstanding?

    No - and "not really"...

    The New_c.Collection constructor creates (by default, when leaving out the first optional Param) -
    a Collection which is compatible to the VB6-Collection.

    It should...
  38. Re: Help required in understanding x y values when using RC6 Cairo BindToArray

    That's because you're operating on "Pre-multiplied" 32Bit-PixelTuples (BGRA) -
    breaking some of the "rules"

    And the rules for premultiplying say, that no ColorChannel shall contain (after...
  39. Re: Registry Free Object Instantiation using DirectCOM & RC6

    Yes, on top of that -
    it allows stable regfree instancing of COM-Classes on their own threaded STAs also in the VB6-IDE.
    (that's the main-reason it comes encapsulated in a Std-Dll).

    Olaf
  40. Re: Unresolved external for localtime - Microsoft C 5.10 for MS-DOS

    The syntax is indeed correct...

    In case you're looking for a super-small C-compiler -
    I've successfully ran your code with "tcc" (the tiny-c-compiler from Bellard).

    Its download-size is less...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width