Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.08 seconds; generated 47 minute(s) ago.

  1. Replies
    14
    Views
    5,509

    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
  2. 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...
  3. 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...
  4. 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...
  5. 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
  6. 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...
  7. Re: How do I use the byte arrays returned from Read method of the ADODB.Stream object

    The only way to read-out a Variant which contains a ByteArray:
    (where TypeName(VariantBytes) = "Byte()")
    ... is by converting the whole ByteBlob into a "non-WideChar-String" first:
    S = CStr(B)
    ...
  8. Re: Help required in understanding x y values when using RC6 Cairo BindToArray

    Thanks for the Code-Zip (makes things easier here)...

    And yes, the Blurred-Shadow-removal is a necessary first step...
    (let's talk about the "contour"-stuff later)...

    What characterisitcs...
  9. Replies
    42
    Views
    1,855

    Re: Fast String Math Function - VB6

    That line assigns a new Long-Value into the Cairo-Surface (by setting Pxl(x, y)).
    That Long-Value is 32Bit == 4Bytes == BGRA-components of a TrueColor-Pixel (plus the AlphaChannel-Byte).

    There's...
  10. Replies
    42
    Views
    1,855

    Re: Fast String Math Function - VB6

    In any case (no matter if RC5 or RC6) your project gets now compiled with a (non-default) COM-dependency.

    And as is usual in such cases - these dependencies needs to be shipped (in case it isn't a...
  11. Replies
    42
    Views
    1,855

    Re: Fast String Math Function - VB6

    If you have a 1024x1024 Pixel-Area - then the x,y inputs can still be inserted fast -
    (because only a "single Line" of x and y Values will need to be inserted... 1024 inserts in tx - and 1024 in ty)...
  12. Replies
    42
    Views
    1,855

    Re: Fast String Math Function - VB6

    If you want to "think" (in your Pixel-Formulas) of "with Coord-Values between 0 and 1"
    (then producing Result-Valuss for R, G, B between 0 and 1 as well)...
    ...then storing x, y already...
  13. Re: Trying to make an app portable using SxS but ending up with an entry in the Regis

    I always ship my regfree-Apps in a "Zip with an internal Folder-Strucure":
    ZipRoot
    -- MyApp.exe
    -- \Bin\
    ------\MyDll.dll
    ------\MyOCX.ocx

    This (when unpacked without destroying this...
  14. Replies
    42
    Views
    1,855

    Re: Fast String Math Function - VB6

    vbRichClient5 (the prior version, aka RC5) still works on XP -
    and the necessary code-changes to the demo are minimal
    (RC5 did not yet support "one-dimensional Long-Array-mappings on...
  15. Replies
    42
    Views
    1,855

    Re: Fast String Math Function - VB6

    You need to unzip *all* Files in the BaseDlls-Zip into a dedicated (local) Folder -
    (keeping them "all together" - before trying to register RC6-Dll via the *.vbs-Script).

    Also note, that RC6...
  16. Re: Problem getting VB SP6 new install on Windows 11

    There's also an MS-commandline-tool, which allows to verify the hash locally...

    example-cmd:
    certutil -hashfile C:\ServicePacks\setupsp6.exe SHA256

    Olaf
  17. Re: How to Convert plain Sqlite DB to a Cypher DB

    Here is two helper-functions, which encapsulate the needed commands:
    - one for creating an encrypted copy from an already opened SrcCnn-Object
    - and the other, to conveniently open such an...
  18. Replies
    42
    Views
    1,855

    Re: Fast String Math Function - VB6

    Via Forum-local search for example... (the Google-Box at the topcenter of this page)

    You should find a lot of examples, when you google for the class-names:
    - cMemDB, cConnection, cRecordset...
  19. Re: How to Convert plain Sqlite DB to a Cypher DB

    Here is, what a Forum-Search (via Google-SearchField at the Top of this Page),
    spits out for the term "SQLCipher":
    ...
  20. Replies
    42
    Views
    1,855

    Re: Fast String Math Function - VB6

    Here's basically the same thing again -
    now with a fast transfer into a "Cairo-Surface-DIB"
    (calculating a diagonal GreyScale-Gradient across the whole Surface-area):



    Option Explicit
    ...
  21. Replies
    42
    Views
    1,855

    Re: Fast String Math Function - VB6

    The DB-based approach is no that bad, when you calculate the whole "graphics-area" in one single query

    A Cross-Join is easy to define - and requires only Width Plus Height preinserted Coord-Values...
  22. Re: How to Convert plain Sqlite DB to a Cypher DB

    What's a "Cypher DB" in your definition?...

    Do you mean a binding for the "cypher-graph-based query language" -
    or simply "encrypting the SQLite-DB-data" (like e.g. used via SQLCipher)?

    Olaf
  23. Re: How to compare the similarity of two words in VB?

    Another one which plays in the same ballpark is Ratcliff/Obershelp:
    https://en.wikipedia.org/wiki/Gestalt_pattern_matching

    These algos do not work like "Google" (which is a FullText-search, based...
  24. Replies
    14
    Views
    685

    Re: how clear a HDC\HBitmap?

    https://learn.microsoft.com/de-de/windows/win32/api/winuser/nf-winuser-fillrect

    Olaf
  25. Re: [RESOLVED] Converting ASCII Byte Array to Single or Double ... Fast

    That's not really the case...
    Most decent DB-engines can be configured for transparent compression (allowing direct queries)
    at either row, column or page-level - (for example SQLite, MySQL,...
  26. Re: [VB6] FIRENZE LABEL - label control with so many functions

    What about writing your own (windowless) "ucLunarCell.ctl",
    which incorporates 3 of the FirenceLabel-Controls on its "Control-Rectangle"...?

    Olaf
  27. Re: [VB6] FIRENZE LABEL - label control with so many functions

    Since the Firence-Label is windowless (using relatively few resources) -
    why not solve this problem via:
    - multiple Label-Controls
    - instead of multiple Captions per Label-Control

    IMO such...
  28. Re: [RC5] Convert CSV files to SQLite file-based DB

    So far, there's no support for importing Excel-Files in RC5/RC6...
    Only partial-support, as e.g.:
    - unzipping an *.xlsx via SQLite-Zip-Module queries
    - and then unpacking/parsing all the relevant...
  29. Re: [RESOLVED] Converting ASCII Byte Array to Single or Double ... Fast

    If you look at the code I'Ve posted - it should be clear how to use it...:
    0) place the CsvCallback-Function in your Form- or Class-module
    1) create an instance: Set CSV = New_c.CSV
    2) call the...
  30. Re: [RESOLVED] Converting ASCII Byte Array to Single or Double ... Fast

    If you want to speed this up by about factor 8 (~1sec, when native-compiled, all options checked) -
    you can use the superfast CSV-Parser-Class of the RC6 (which requires much less code as well)...
    ...
  31. Replies
    5
    Views
    519

    Re: vbRichClient To RC6

    CC.Antialias (at its default-setting) provides the same Antialiasing-quality as RC5 (at slightly better performance).

    If you set it to "Best", you will get better Antialiasing than RC5 - but at...
  32. Replies
    5
    Views
    519

    Re: vbRichClient To RC6

    If you have a fully transparent Widget, you now need to explicitely clear its background -
    as the first "3-line-operation" inside W_Paint (this was introduced for performance-reasons):


    Private...
  33. Re: [vb6] Obtain the value of MyVar, from the string "MyVar"

    The least amount of code would be produced, when you:
    - not define any explicit Field-Variables (avoiding data-copying from an Rs, when the Form loads)
    - not use "Execute"d Update- or Insert-...
  34. Replies
    5
    Views
    519

    Re: vbRichClient To RC6

    I've answered that in the CodeBank-Thread:
    https://www.vbforums.com/showthread.php?845221-VB6-FIRENZE-LABEL-label-control-with-so-many-functions&p=5635019&viewfull=1#post5635019

    So, RC6 requires...
  35. Re: [VB6] FIRENZE LABEL - label control with so many functions

    At the end of the Draw-Routine (in the "karo" Control) - enforce the FillColor-Setting for Text again:


    ...

    'At the end fill all the stored text
    CC.SetSourceColor m_ForeColor
    ...
  36. Replies
    19
    Views
    1,052

    Re: Capture audio and visualize it

    Hmm, ...you are aware, that RC6 allows regfree distribution (without any setup) -
    along with your executable (in a ca. 4MB-zip...which then occupies about 0,0004% of your End-Users disk)?

    ...
  37. Replies
    60
    Views
    67,616

    Re: VB6 - Huge (>2GB) File I/O Class

    In case dilettantes Class has an "automatic Handle-Cleanup" in Class_Terminate -
    then simply compiling his code into an externally referenced AX-Dll would help.

    If you want to test the behaviour...
  38. Replies
    24
    Views
    739

    Re: Force vb6 standard module initialization

    The "Sub Main()"-entrypoint (functionality) is also available for VB6-Dll-Projects...

    It gets triggered, when a "consuming Userproject" ex- or implicitely calls LoadLibrary... (with your Dll as...
  39. Replies
    11
    Views
    733

    Re: Form border mouse events?

    I really *do* recommend the timer-based solution -
    unless there's already "a SubClassing in place" in that App (and on that Form).




    As is so often the case here, "unfounded myths" are...
  40. Replies
    11
    Views
    733

    Re: Form border mouse events?

    Well, he could also use his existing Timer-based solution in conjunction with GetAsyncKeyState
    (disabling the Timer, and doing the "final Resize" only when the Mouse is "not down anymore")...
    ...
Results 1 to 40 of 495
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width