Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.53 seconds.

  1. Replies
    5
    Views
    243

    Re: Printing a color

    The following routine shows how:


    Sub PrintTextAndCircleTo(oDest As Object, Text As String, Color)
    oDest.Print Text & " ";
    oDest.ForeColor = Color
    oDest.Print ChrW(8226)
    ...
  2. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    Never heard of this guy (and I know all the "big names", believe me).
    In short, the article is full of wrong statements.

    And what he considers "historical baggage" is apparently COM (which is...
  3. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    Guess it's on you to explain, how "historical baggage" (whatever that is),
    can prevent a few devs, to get to work on an existing CodeBase
    (which is maintained to this day and even produces a...
  4. Replies
    95
    Views
    19,449

    Re: VB6 WebView2-Binding (Edge-Chromium)

    jsRun is thought for function-calls, which allow you to pass parameters as normal VB-Vars.

    For such longer "multi-dotted-expressions" (with "inner, literal-arguments"), you are better advised to...
  5. Replies
    24
    Views
    851

    Re: problem in webvew

    "document.getElementById('pwd').SetAttribute('value', '1511151')"
  6. Replies
    3,722
    Views
    362,517

    Re: Corona virus, China major city lockdowns, etc.

    LOL, guess at a certain age "violence-rants" become a thing... ;)

    Reminds me of:
    https://www.youtube.com/watch?v=5H-NctipBvg
    or this one:
    https://www.youtube.com/watch?v=qDO6HV6xTmI

    Olaf
  7. Replies
    3,722
    Views
    362,517

    Re: Corona virus, China major city lockdowns, etc.

    I was not making an argument "against vaccination" ...
    (vaccination makes sense for a whole lot of people - especially for the elderly).

    I was making an argument against the common misconception,...
  8. Replies
    3,722
    Views
    362,517

    Re: Corona virus, China major city lockdowns, etc.

    Guess you meant SouthAfrica...



    Cannot believe this un-informedness is still going on here...

    It's not the un-vaccinated which "circulate and breed" the virus these days - it's the...
  9. Re: [RESOLVED] Type Mismatch problem regarding an If Else statement

    Guess they really should have named it Fred instead. ;)

    Olaf
  10. Replies
    24
    Views
    851

    Re: problem in webvew

    "document.getElementsById('tMbPAR1').SetAttribute('value', '1511151')"
  11. Replies
    1
    Views
    171

    Re: MS Speech Object Library (sync vs Async)

    For truncation, you could try to enable the SVSPurgeBeforeSpeak=2 in addition to the AsyncFlag.

    But the MS-SAPI has quite a delay, before it will react to your new Char-Input.

    Below is a...
  12. Re: RC6 cWebView2 document events and object question!!

    To return Object-content from a js-Event (or generally from the js-Environment of the WebView2) as an RC6-JSON-Object,
    you have to serialize it into a String first (at the js-side) via:

    ...
  13. Replies
    63
    Views
    1,806

    Re: Ignoring moderators

    Here's rumours, that "looking up" will become mandatory for everyone in the future (if you want to keep your job)...

    It's to prevent over-filling the ICUs with people, "hit by falling shingles and...
  14. Replies
    63
    Views
    1,806

    Re: Ignoring moderators

    Wow... 12 Admins is indeed quite an amount of "manpower"...

    Now, if "Admin" were understood as: "technician first, juryman only an occasional second..." -
    we might even enjoy a working...
  15. Replies
    13
    Views
    598

    Re: calculate percentage

    Yep, the nice thing in SQLite is, that it treats Boolean (Bit) Fields like a normal Integer -
    so one can use it easily in Math-Ops directly (without casting) - to avoid Extra-Where-clauses.

    E.g....
  16. Replies
    6
    Views
    364

    Re: [RESOLVED] Need help with for next loop

    To make things less complicated, I'd forego the UDT-approach and simply declare two String-Arrays:
    Private FileNames() As String, FileTags() As String

    When you Redim Preserve, you prolong both of...
  17. Re: How to read a file byte by byte (i.e. octet by octet) ...

    Here's a converter-function for the given File-Format, which is relative small (and fast) -
    though it expects you to feed it the "complete FileContent" as a ByteArray:



    Public Function...
  18. Re: RC6 cWebView2 issue or Microsoft WebView2 Regression ?

    Answered here: https://www.vbforums.com/showthread.php?889202-VB6-WebView2-Binding-(Edge-Chromium)&p=5544190&viewfull=1#post5544190

    Olaf
  19. Replies
    95
    Views
    19,449

    Re: VB6 WebView2-Binding (Edge-Chromium)

    I was able to reproduce that, and the reason is, that Google since a few weeks apparently insists (on some of their Sites) on "higher security" for the eval-function (when called from "self-assigned...
  20. Replies
    10
    Views
    1,028

    Re: Windows 11 Combo Box on frame themed ghosting

    This could be solved by:
    - not only replacing the Begin VB.Frame line with Begin VB.PictureBox
    - but also Replacing the Caption = "Frame-Caption" ... line in the *.frm file (in case it follows the...
  21. Re: [RESOLVED] Using astronomically big numbers in VB6 (1000-bit or higher)

    For some areas (like gaming) this is true (performance-wise, regarding GPU-support) -
    whereas in other graphics-areas cairo has more to offer than Direct2D.



    The future platform-independence...
  22. Re: WinHttpRequest slower than Postman

    My mistake, sorry (will correct my posting #2).

    Have tested that just now (on an up-to-date Win10):



    Option Explicit

    Private WithEvents WS As cWebServer
  23. Re: [RESOLVED] Using astronomically big numbers in VB6 (1000-bit or higher)

    It's already there (named RC6) - so there's not even a need for you to create it... ;)


    If that's really you, and since "it's there already" - what is holding you back, starting the documentation...
  24. Re: [RESOLVED] Using astronomically big numbers in VB6 (1000-bit or higher)

    Can you point out exactly the cBigInt-Methods which were causing you "fiddling for hours", please?

    Probably not - because after getting a bit more familiar with VB6 Class-Instancing, I imagine...
  25. Re: [RESOLVED] Using astronomically big numbers in VB6 (1000-bit or higher)

    Afaik it's dual licensed (also comes under LGPL-v3), which is compatible to what I plan to open the RC6 under (at a later point, when an opensource-compiler is available).

    And yes, the LGPL is not...
  26. Re: VB6 vs .Net......Ending the debate once and for all.

    As was explained to you several times already - your "non-productivity" when inside the VB6-IDE,
    comes from the simple fact, that you're not using it anymore (you're stumbling around like a rookie...
  27. Re: ReIndex Numbers in Reference String When Array Index Changes

    Not necessarily - but it would always produce consistent, correct results.

    I see your current .Content-Member as a kind of "Cache" (or "Index", if the contents of the cache-area are sorted) - ...
  28. Re: [RESOLVED] Using astronomically big numbers in VB6 (1000-bit or higher)

    Whilst there is my own VB6- bignum-implementation in cCrypt (written over 20 years ago -
    and working under the covers for its Diffie-Hellman parts) -
    the cBigInt-Class is a (much) faster, more...
  29. Re: ReIndex Numbers in Reference String When Array Index Changes

    Handling movements (as well as adds and deletes) on hierarchic structures, is always an interesting prolem.

    But as long as performance is not really important, I'd get rid of your content-member....
  30. Re: Simple and fast, lightweight HashList-Class (no APIs)

    Is there any chance we could see the definition of this "structure" (the UDT-definition)?
    (along with an info, which field of the structure is the "key-field")?

    Olaf
  31. Replies
    48
    Views
    1,365

    Re: How to view icons

    Since the ucTileView-Control changes its size dynamically (within Form_Resize),
    you can simply influence the ucTileView1.TileWidth-Property there (with two extra-lines):



    Private Sub...
  32. Replies
    48
    Views
    1,365

    Re: How to view icons

    Here is, what would need to be changed in the virtual-list examples MainForm-Code:



    Option Explicit

    Private IconFiles() As String

    Private Sub Form_Load() 'no "Property-Pages" here - just...
  33. Replies
    48
    Views
    1,365

    Re: How to view icons

    An ownerdrawn (virtual) List only needs "a current Count" to work properly.

    Your data sits outside the List (e.g. in a String-Array of Icon-FileNames).

    Now, when the owner-draw-event comes in,...
  34. Replies
    48
    Views
    1,365

    Re: How to view icons

    FWIW, a "virtual list approach" is always among the most resource-friendly:

    https://www.vbforums.com/showthread.php?881077-VB6-Virtual-(ownerdrawn)-TileView-Ctl

    Olaf
  35. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    So, do I have this right?
    C/C++ devs are allowed to ask such a reasonable question - but VB6-devs aren't because they are "too dumb"?
    (to recognize, that they are using the basically same C++...
  36. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Niya, what you try to "cover up" (using todays Disk-Sizes and whatnot) is a simple, observable fact.

    Please, for a moment - imagine yourself bringing your ridiculous arguments up in a C++ forum....
  37. Replies
    14
    Views
    21,667

    Re: VB6 - Random GUID Generator

    This would give you a single, specific GUID - not a new (random and unique) one.

    Pointing out existing APIs for that task is right of course - but that was done already in #2.

    Olaf
  38. Re: Question : Find & Replace a String containing Text & Changing Time Value

    Here's short approach, which offers "full parsing" (over a whole timecode-line-block) -
    including the ability of replacing every found existing timestamp in an easy to adjust, separate...
  39. Thread: Shorten A Line

    by Schmidt
    Replies
    19
    Views
    2,085

    Re: Shorten A Line

    Am a bit late to the party - but since the OP mentioned this:
    "...drawing a line from the bottom center of the form to..."

    Thinking in (or working via) a Polar-Coordsystem seems not to be the...
  40. Re: Access object properties when object name is in text variable

    Ehrm, what if the Form Controls-Collection would already allow "keyed access"? ;)

    Controls("Label1").BackColor = vbBlue

    Olaf
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width