Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 0.47 seconds.

  1. Replies
    1
    Views
    34

    Re: Handling different decimal symbols

    Don't store numbers as text. Problem solved.
  2. Poll: Re: IF you regularly use a VB6 embedded movie play, which do you use?

    You can just use the DirectShow quartz.dll (via a reference to its "ActiveMovie control type library"). You can provide as much or as little of a user interface as you want (pause, stop, position,...
  3. Re: hex to based64 conversion gives different result from online tools

    This thread just gets sillier and sillier.

    Look at the set of characters used in Base64 encoding. They are intentionally ASCII characters, and those are the same values when encoded as UTF-8 or...
  4. Replies
    45
    Views
    3,360

    Re: Stuff to watch

    Here's a clip:


    https://youtu.be/XYABqsjumqM

    Odi is a damaged "Synth" who has recently lost his master and become self-aware. He's struggling with his self awareness, independence, and...
  5. Replies
    45
    Views
    3,360

    Re: Stuff to watch

    If you missed it, this series is very engaging and bingeable:


    https://youtu.be/6FJQpK6EVTk

    A take on automation and AI but with a focus on the people, both organic and machine.
  6. Replies
    8
    Views
    166

    Re: Test if second Monitor switched on

    Silly wabbit, thread titles are for obfuscation.
  7. Re: hex to based64 conversion gives different result from online tools

    Well I suspect that web site accepts hex because it is hard to paste the raw binary itself. There is an implicit assumption that you have a clue.
  8. Replies
    8
    Views
    166

    Re: Test if second Monitor switched on

    I fail to see how a count of monitors helps much. What if there are 3 monitors? Or 2 but arranged differently from the program's startup assumptions about Form positioning?

    Better to test...
  9. Replies
    3,749
    Views
    363,755

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

    Yeah, Captain Omnicron is pretty funny.
  10. Re: hex to based64 conversion gives different result from online tools

    As far as I could tell he is doing that already, by hook or by crook.

    When I do that I get the same wrong result he does. When I do it right (decode hex to binary first) I get the...
  11. Replies
    8
    Views
    166

    Re: Test if second Monitor switched on

    Form1.frm:


    Option Explicit

    Private Const WIN32_NULL As Long = 0

    Private Type RECT
    Left As Long
    Top As Long
  12. Re: hex to based64 conversion gives different result from online tools

    It looks like you have taken your "hex" string of Unicode characters then transcoded that into 8-bit ASCII characters then encoded that mess into Base64.

    I suspect what you really want is to...
  13. Replies
    3,749
    Views
    363,755

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

    You can see a very similar argment made in this movie review:


    https://youtu.be/lL7EpBhITNY
  14. Re: User action versus code causing event to raise

    I think the behavior is hard-wired at a pretty low level within the underlying Win32 controls.


    Option Explicit

    Private Const BM_SETCHECK As Long = &HF1&

    Private Enum BUTTON_STATES
    ...
  15. Re: User action versus code causing event to raise

    I think you are talking about some very low volume events. So low the performance isn't an issue.

    So while they're a little clunky, being String, the Tag property of controls can be used to...
  16. Replies
    3,749
    Views
    363,755

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

    Mad dogs and antivaxxers.
  17. Re: Is somebody backing up the MSDN reference documentation?

    I think the very latest Platform SDK DVD I have is from 2005.

    I also have a MSDN Magazine content archive 2000-2007 DVD that I can remember. It also had an index for MSJ & Microsoft Internet...
  18. Replies
    57
    Views
    3,261

    Re: Reading Proficiency and Programming

    Proper code granularity isn't a simple judgement. Too granular and you suffer from procedure call overhead, too monolithic and you lose flexibility, comprehensibility, and maintainability.

    Some...
  19. Re: Transparency with WIA Automation

    No. You are probably used to OLE_COLOR, particularly its COLORREF subset, i.e. 00BBGGRR. ARGB looks more like AARRGGBB.
  20. Replies
    9
    Views
    394

    Re: VB6 Compiler Stopped Working ...

    That would be a problem, not something in your favor.

    Lacking a manifest tells Windows "This is a legacy program, apply default appcompat shims when run and look hard at it in general because...
  21. Replies
    9
    Views
    394

    Re: VB6 Compiler Stopped Working ...

    All of that is just guessing though. I haven't seen any behavior of the kind you describe.
  22. Replies
    9
    Views
    394

    Re: VB6 Compiler Stopped Working ...

    Do these programs contain an embedded manifest that marks them as "non-legacy" code via a <trustInfo/> node?

    Even if they do, it is good practice to avoid keywords that trigger legacy setup progam...
  23. Re: (VB6) Get the main or prevalent color tone of a picture

    It does seem to be effective.
  24. Replies
    14
    Views
    766

    Re: How Recognize geometric shapes

    VB6 does not have UserForms unless you are creating Office add-in DLLs.
  25. Re: Transparency with WIA Automation

    Note that to do this with decent performance requires that you obtain the original redist version of WiaAut.dll and use an activation context to select that copy.

    The system copy contains a lot of...
  26. Re: Transparency with WIA Automation

    You have to make use of the ARGB Filter in oder to assign to the alpha channel:


    Option Explicit

    Private Sub Main()
    Const wiaFormatPNG As String = "{B96B3CAF-0728-11D3-9D7B-0000F81EF32E}"...
  27. Replies
    45
    Views
    3,360

    Re: Stuff to watch

    Interesting background on a beloved and influential classic:


    https://youtu.be/Vx2ao_9uyAo
  28. Re: (VB6) Get the main or prevalent color tone of a picture

    What is the "main" color? It can't be the average color based on just looking at those samples.

    "Most common color" (histogram) gets dicey when JPEGs and photos in general are used.

    I'm not...
  29. Replies
    3,749
    Views
    363,755

    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...
  30. Replies
    3,749
    Views
    363,755

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

    I don't know where to start after that. We're doomed.
  31. Replies
    10
    Views
    486

    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
  32. Replies
    3,749
    Views
    363,755

    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
  33. Replies
    10
    Views
    486

    Re: Small C# Code to VB6

    Your code is showing the hex representation of a character "1" not the integer value 1.
  34. 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...
  35. 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...
  36. Replies
    14
    Views
    766

    Re: How Recognize geometric shapes

    What do you mean by "select?" Just draw a green outline?
  37. Replies
    39
    Views
    1,052

    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...
  38. Replies
    39
    Views
    1,052

    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...
  39. Replies
    3,749
    Views
    363,755

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

    https://youtu.be/oxlYyZ08cEg
  40. Replies
    3,193
    Views
    238,021

    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.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width