Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 1.70 seconds.

  1. Replies
    143
    Views
    118,731

    Re: VB6 - JsonBag, Another JSON Parser/Generator

    Something like:


    Option Explicit

    Private Sub Main()
    With New JsonBag
    .Whitespace = True
    .Item("projectCode") = "xel0010"
    .Item("productCode") = "121"
  2. Re: A question for Kaiser (Northern California) members

    Sounds weird.

    Our vaccination cards are paper. Vaccinations are hand written on them.

    I even have two, and when I got the second card (for my 3rd dose) they told me to just write the new info...
  3. Replies
    15
    Views
    968

    Re: code conversion from vb.net to vb6.0

    You can also assign any object that implements the OLE IStream instead of using an ADO Stream object. For example an IStream opened directly on a file. Or just leave Writer.output as a String (its...
  4. Replies
    15
    Views
    968

    Re: code conversion from vb.net to vb6.0

    I'm not sure what there was to argue about. We have a SAX Writer we can use in VB6 just fine:


    Option Explicit
    '
    'Requires references to:
    '
    ' o Microsoft ActiveX Data Objects 2.5 Library...
  5. Replies
    27
    Views
    617

    Re: GUI Question

    I see some of these designs, and all I can think of is the Family Truckster in the old Chevy Chase "Vacation" movie.
  6. Replies
    27
    Views
    617

    Re: GUI Question

    I'd be shocked to find any of it in use today. Most of my recent stuff was entirely server-side anyway.
  7. Replies
    27
    Views
    617

    Re: GUI Question

    I'm also a product of corporate upgringing. Anything with a UI had to undergo approvals of a UI Board made up of user delegates, computer training and help desk staff, disability advocates, and...
  8. Replies
    27
    Views
    617

    Re: GUI Question

    Yeah, don't take it too seriousy. I expect a UI to follow the Windows UI Guidelines for the version your are running on as much as possible.

    I guess I just put a lot more weight on function over...
  9. Replies
    27
    Views
    617

    Re: GUI Question

    From what I can make out... I see a desktop with hilariously incongruous settings, then some travesty of an IDE using a "dank theme," and finally a dog's breakfast of an application.

    The...
  10. Replies
    2
    Views
    210

    Re: Locking done by UpdateBatch method?

    I think it uses something like exclusive locking.

    After the call, any failed updates can be found by inspecting the Recordset for the failed updates. You do that by setting .Filter =...
  11. Poll: Re: IF you regularly use a VB6 embedded movie play, which do you use?

    It looks worse than I thought.

    "Out of the box" Windows does not have a DirectShow filter for MP4 playback. WMP seems to make use of Media Foundation for those files instead.

    WMV files on the...
  12. Re: Read a text file from a specific line at to the and

    You could probably do some crazy stuff with File Mapping to quickly scan down to the desired line of text and retrieve it. Not sure it'd be worth it very often though.
  13. Poll: Re: IF you regularly use a VB6 embedded movie play, which do you use?

    Note that when you want to play formats like MP4 you will have to get your hands dirty and build at least most of the filter graph manually. You might get frustrated coming at this from no...
  14. Poll: Re: IF you regularly use a VB6 embedded movie play, which do you use?

    You may fnd additional definitions useful though. For example, if you want to get state-change notifications it needs to be told what message to send to what hWnd. The event codes are not defined...
  15. Re: Handling different decimal symbols

    Don't store numbers as text. Problem solved.
  16. 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,...
  17. 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...
  18. Replies
    45
    Views
    3,495

    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...
  19. Replies
    45
    Views
    3,495

    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.
  20. Replies
    30
    Views
    1,063

    Re: Test if second Monitor switched on

    Silly wabbit, thread titles are for obfuscation.
  21. 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.
  22. Replies
    30
    Views
    1,063

    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...
  23. Replies
    3,777
    Views
    368,441

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

    Yeah, Captain Omnicron is pretty funny.
  24. 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...
  25. Replies
    30
    Views
    1,063

    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
  26. 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...
  27. Replies
    3,777
    Views
    368,441

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

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


    https://youtu.be/lL7EpBhITNY
  28. 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
    ...
  29. 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...
  30. Replies
    3,777
    Views
    368,441

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

    Mad dogs and antivaxxers.
  31. 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...
  32. Replies
    60
    Views
    3,424

    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...
  33. 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.
  34. Replies
    13
    Views
    554

    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...
  35. Replies
    13
    Views
    554

    Re: VB6 Compiler Stopped Working ...

    All of that is just guessing though. I haven't seen any behavior of the kind you describe.
  36. Replies
    13
    Views
    554

    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...
  37. Re: (VB6) Get the main or prevalent color tone of a picture

    It does seem to be effective.
  38. Replies
    21
    Views
    1,081

    Re: How Recognize geometric shapes

    VB6 does not have UserForms unless you are creating Office add-in DLLs.
  39. 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...
  40. 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}"...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width