Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.32 seconds.

  1. 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...
  2. Replies
    33
    Views
    1,021

    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...
  3. Replies
    33
    Views
    1,021

    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...
  4. 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
  5. 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...
  6. Replies
    33
    Views
    1,021

    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...
  7. 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":
    ...
  8. Replies
    33
    Views
    1,021

    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
    ...
  9. Replies
    33
    Views
    1,021

    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...
  10. 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
  11. 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...
  12. Replies
    14
    Views
    550

    Re: how clear a HDC\HBitmap?

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

    Olaf
  13. 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,...
  14. 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
  15. 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...
  16. 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...
  17. 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...
  18. 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)...
    ...
  19. Replies
    5
    Views
    486

    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...
  20. Replies
    5
    Views
    486

    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...
  21. 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-...
  22. Replies
    5
    Views
    486

    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...
  23. 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
    ...
  24. Replies
    19
    Views
    946

    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)?

    ...
  25. Replies
    60
    Views
    67,340

    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...
  26. Replies
    24
    Views
    676

    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...
  27. Replies
    11
    Views
    683

    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...
  28. Replies
    11
    Views
    683

    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")...
    ...
  29. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    If you really want to make it fly, you can use a fast, hash-based lookup-container (e.g. a Dictionary):


    With CreateObject("Scripting.Dictionary")
    .CompareMode = vbTextCompare ' or...
  30. Replies
    12
    Views
    508

    Re: Interpolation Search

    Interpolation-Search can "blow up in your face" timing-wise (compared to "straight halfing the interval"),
    when your "KeyData" is not equally distributed.

    E.g. when you have 100000 Keys, which...
  31. Replies
    19
    Views
    946

    Re: Capture audio and visualize it

    Here is an vbRichClient-based example, which does PeakMeter- and FFT-visualization
    (with a low amount of VB6-code).
    ...
  32. Replies
    17
    Views
    988

    Re: Quicksort issue

    :thumb: +1

    And I would "import" (from the text-parsing) directly into "normal, typed fields" in such an SQLite-DB-File.
    There'd be no need for "Arrays" or "Array-loading" anymore, once that is...
  33. Re: Running a x32 application in x64 environemtn

    You need to install the ACE-Driver in its 32Bit-version (for the 32Bit-Client - aka VB6 - to work properly).

    Download here:
    https://www.microsoft.com/en-us/download/details.aspx?id=54920

    And...
  34. Re: Does a "chip" UI component exist for VB6?

    Krools CCRP-CommandButton, as well as the RC6Widgets-Button -
    allow Icon-Placements to the left or right of a given Button.Caption...
    (as just another way, to tackle that).

    Olaf
  35. Replies
    46
    Views
    2,138

    VS 2010 Re: how convert VB6 to VB2010 code?

    Nah, factor 1000 would be a bit much... ;)

    But I observe a speedup of about factor 11 (15.5msec for your large image), with this (VB6-code, native compiled, all Optimizations):


    Sub...
  36. Re: Need help with crazy C++ pointer macro

    IMO, it's a simple "Double-Dereferencing" (on a slightly offset input-ptr)...

    If you already have a "premade DeRef-function at hand, I'd try it with:

    ResultPtr = DeRef(DeRef(hdpa + PtrLen))...
  37. Re: Error on reporting a thread - And Other Site Issues

    The reason for all the recent problems was already pointed out by us...
    It's the (serverside) prepending of *any* *.php-delivered content with a GTM-script...
    That prepending-operation...
  38. Thread: Something UP?

    by Schmidt
    Replies
    13
    Views
    737

    Re: Something UP?

    Could it be, that a Google-TagManager-script is currently pre-pended to every php-script-response? (just found, that the Zip-downloads are not working for that reason)......
  39. Re: VB6 fast EdgeDetection (direct Pixel-Manipulation on Cairo-Surfaces)

    Have just looked at these downloaded Files now with a Hex-Editor - and at least all the Zip-Downloads are now prefixed by an automatically (WebServer-)applied "Google-TagManager-Script", which...
  40. Re: FAST read number of lines in txt file

    RC6 contains a ready-made and superfast Class for such text-parsing-tasks:


    Option Explicit

    Implements ICSVCallback
    Private Csv As cCSV, Rows As Long

    Private Sub Form_Load()
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width