Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 1.72 seconds.

  1. Replies
    3,697
    Views
    358,675

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

    The Omicron variant seems to be targeting younger people more, at least based on the experience to date in South Africa. People in their 20s and 30s.

    We're just experiencing a Delta peak now...
  2. Replies
    3,697
    Views
    358,675

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

    I don't know where to start after that. We're doomed.
  3. Replies
    9
    Views
    270

    Re: Small C# Code to VB6

    Dim Value As Byte

    Value = CByte(txt1.Text)
    If Value < 16 Then
    MsgBox "0" & Hex$(Value)
    Else
    MsgBox Hex$(Value)
    End If
  4. Replies
    3,697
    Views
    358,675

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

    So they are sorta kinda isolating South Africa. Too little, too late. The UK ("Crossroads of COVID") is already crawling with Omicron.


    https://youtu.be/ABT6VmrHw50
  5. Replies
    9
    Views
    270

    Re: Small C# Code to VB6

    Your code is showing the hex representation of a character "1" not the integer value 1.
  6. Re: VB6 IDE under Windows 11 - Serial Comm no workie

    If the problem is with "recompiled" serial I/O programs... that's even weirder.

    All I can think of is that VB6 was not installed properly, and now the elevated IDE runs "see" and reference an old...
  7. Re: VB6 IDE under Windows 11 - Serial Comm no workie

    Serial I/O has nothing to do with firewalls or routable networks unless you have layered software on top of it. And even then it would only apply to those added software layers. For example the old...
  8. Replies
    11
    Views
    545

    Re: How Recognize geometric shapes

    What do you mean by "select?" Just draw a green outline?
  9. Replies
    19
    Views
    522

    Re: Encrypt/Decrypt

    The problem with relying on ANSI is that the "encrypted" cipher data will not travel well between locales. It's the same problem as with plain text, just amplified by the cipher's use of more bit...
  10. Replies
    19
    Views
    522

    Re: Encrypt/Decrypt

    I'm not sure that a ROT111 cipher is particularly smart, but it will be done more easily by transcoding from Unicode to UTF-8.

    This can be done via simple API calls, or by using the ADO Stream...
  11. Replies
    3,697
    Views
    358,675

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

    https://youtu.be/oxlYyZ08cEg
  12. Replies
    3,193
    Views
    236,351

    Re: What song are you listening to right now?

    https://www.youtube.com/watch?v=M6c4LpUOMZs

    Most viewers never twig to the fact that this is a rendition of Radiohead's "Creep." It gets used throughout the series as subtextual ambience.
  13. Re: .ForeColor = 0-16842751 but not more.

    See OleTranslateColor function for an explanation.
  14. Replies
    3,697
    Views
    358,675

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

    The opportunity to curb this was squandered a long time ago. International travel should have been banned and urban centers ringed in by blowing up airports, highways, rail, and bridges. Instead we...
  15. Re: Create xml file in vb6.0 like the following

    Really? To me it feels like few are even aware of SAX, let alone have a clue how to use it in a real program for either parsing or generating XML. DOM code is littered everywhere, so discussions of...
  16. Re: Create xml file in vb6.0 like the following

    Why not just write the stuff as ANSI text and call it good enough? If you must create UTF-8 then use an ADO.Stream object. This looks like some simple-minded XML. Why use the high-overhead...
  17. Replies
    3
    Views
    206

    Re: Resource Hacker on "Shell32.dll"

    i think the things you can easily winkle out by spelunking binaries depends on the support infrastructure ("class libraries") the developer used. MFC, ATL, etc. each package dialogs in different...
  18. Replies
    45
    Views
    2,833

    Re: Reading Proficiency and Programming

    A friend sent me the link to this today:


    https://youtu.be/P2mxdrTP-os

    I'm sure we can all find our own weaknesses there, but it also might help explain some of what is going on with the work...
  19. Re: List/DB with WinAPI functions and supported Windows versions?

    Lots of entrypoints have been around for a long time but only exported by ordinal and not by name at various times.
  20. Replies
    3,697
    Views
    358,675

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

    https://youtu.be/VaSDSdR4R-E
  21. Replies
    3,697
    Views
    358,675

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

    LMAO, so "The right to Gumby" in the Monty Python sense?
  22. Replies
    3,697
    Views
    358,675

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

    I'm not sure what to think about that. It seems lke you could make the case either way, but if you have decent immunity shouldn't your system zap the new intrustion rather quickly and mildly?
  23. Re: How do I add combobox items more quickly?

    I went back once more and replaced the SendMessageA() by SendMessageW() calls and passed in Unicode text.

    Slightly slower letting the conversion happen in the control itself, but still not bad.
  24. Replies
    3,697
    Views
    358,675

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

    🌽Speak up, Sonny?🎺
  25. Re: How do I add combobox items more quickly?

    I also went back and added CB_SETITEMDATA messages to populate ItemData. Hardly increased the time much at all.
  26. Re: How do I add combobox items more quickly?

    So maybe something like:


    Option Explicit

    Private Const ITEM_COUNT As Long = 1000

    Private Const CB_ADDSTRING As Long = &H143&
    Private Const CB_INSERTSTRING As Long = &H14A&
    Private Const...
  27. Replies
    3,697
    Views
    358,675

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

    When you keep your hair soaked in gasoline it doesn't take much of a spark.
  28. Re: Problem with Automating Excel from VB6

    As far as I can tell the Office applications have added a lot of testing that parallels what Defender does, sharing some of the same "intelligence" and repositories of "knowledge" in order to prevent...
  29. Replies
    39
    Views
    941

    Re: Binary Search Not Finding Capitals

    Some of these techniques have awkward limitations. This example works fine, but if the word lookup needed to be case-sensitive instead there is no simple change that makes that possible and retains...
  30. Replies
    21
    Views
    8,059

    Re: VB6 - Sunset, Turn Monitor Off

    It depends on what you are after. The original program is just an easy way to invoke power savings and avoid burn-in by putting the screen to sleep. Obviously other alternatives are available, but...
  31. Replies
    39
    Views
    941

    Re: Binary Search Not Finding Capitals

    I'd have zipped and uploaded the two Projects but but my upload allowance is running on fumes.
  32. Replies
    63
    Views
    1,720

    Re: Ignoring moderators

    One can only imagine the hoot-fests that go on in the hidden forum where they laugh about the rest of us poor slobs.
  33. Replies
    39
    Views
    941

    Re: Binary Search Not Finding Capitals

    Ok, well there are two programs: MakeDB imports the text data, UseDB uses the created MDB file.
  34. Re: UNC Path not showing Name of Share only get IP address

    I just tested a WNetGetConnection() call and it returns the share path just fine, not its IP address.

    It probably has something to do with how you mapped the drive.

    What does "NET USE" show...
  35. Replies
    39
    Views
    941

    Re: Binary Search Not Finding Capitals

    Note that the Schema.ini file goes "next to" the text data file (Hyphenation.txt) and the Jet Text IISAM uses that to determine how to parse the text data file. As written above, those both go into...
  36. Replies
    39
    Views
    941

    Re: Binary Search Not Finding Capitals

    If you have a text file with two columns per line with a comma or comma-space between them then the MakeDB should run fine. Mine looks like:


    Aalborg,Aal-borg
    Aalto,Aal-to
    aardvark,aard-vark...
  37. Re: ExtCreatePen with PenWidth 0 problem on printers (printed from metafile)

    I'm not sure it would help.

    Pens of width 0 are "hairline" and rendered as thinly as possible without subpixel rendering.

    I could not reproduce the issue here. I suspect there is a scaling...
  38. Replies
    39
    Views
    941

    Re: Binary Search Not Finding Capitals

    Results (times in seconds, on a slow PC with slow hard drive):


    ---------------------------
    MakeDB
    ---------------------------
    Imported 161,521 rows
    ---------------------------
    OK ...
  39. Replies
    10
    Views
    267

    Re: SQL statement problem

    Ideally you'd use a proper parameter query instead of cobbled together "dynamically" hard-coded SQL as you're doing.

    But barring that why wouldn't you just use:

    "AND TBL.NAME2<>"" """

    or:
    ...
  40. Replies
    3
    Views
    175

    Re: shellexecute and ffmpeg

    Just use the built-in Shell() function unless you are actually making use of details like redirecting standard I/O streams or something.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width