Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 0.32 seconds; generated 8 minute(s) ago.

  1. Re: DwmGetColorizationColor - Close, but no cigar

    Well, I hate reaching directly into the registry but we don't seem to have any documented direct calls to get the right BackColor:


    Option Explicit
    '
    'Here I want to try to color Label1 as...
  2. Re: DwmGetColorizationColor - Close, but no cigar

    Even though imperfect, this might be good enough for my intended uses.

    Of course the user might have made some other choice that makes this approach fall apart, for example a really bad choice of...
  3. Re: DwmGetColorizationColor - Close, but no cigar

    BTW: This is Shell32's hue spectrum from 0 at left to 240 at right:


    178272
  4. DwmGetColorizationColor - Close, but no cigar

    I'm trying to find the active title bar colors under the last supported version of Windows. I want to ape them in controls, e.g. Label.

    I am making several assumptions, any of which may be wrong....
  5. Replies
    19
    Views
    659

    Re: serial port read

    I assumed he was buffering at the microcontroller, since he said something about "sentences" which I took a guess might have meant something like "messages."

    But it is hard to figure out just what...
  6. Re: How do I compile without linking in VB6?

    C2.exe is not "the compiler." It is pass 2, the code generator. Pass 1 is VB6.EXE itself.

    If here is some hack to prevent VB6.EXE from running LINK.EXE after a successful run of C2.EXE I've...
  7. Replies
    9
    Views
    262

    Re: vb6: package and deployment wizard

    The PDW is failing because it needs something that is missing.
  8. Re: [RESOLVED] Any special behavior on Forms with SizableToolWindow vs Sizable?

    Fixed and Sizeable ToolWindow are just two borderstyles. There isn't anything special about them.
  9. Replies
    19
    Views
    659

    Re: serial port read

    Another issue is that if you are using actual RS-232 and COMx: port (instead of something like a USB "communications device class" that emulates the hardware) detecting and dealing with errors is...
  10. Replies
    4
    Views
    224

    Re: un-install vb6

    My guess is that you installed it incorrectly and ended up with all sorts of crud in virtualized locations. Then you tried installing again without cleaning up your profile first.

    Time to...
  11. Replies
    26
    Views
    794

    Re: The titlebar with different colors

    Or.. just use MDI as it is.

    Instead of getting hung up on gingerbread, make sure your program has enough useful functionality to outweigh silly skinning.

    You can try to build a Buck Roger's...
  12. Replies
    29
    Views
    807

    Re: Problem with controls on an MDI Form

    Imagine you have a 640x480 monitor. Imagine this program is maximized and the children are maximized for room to work:


    178239

    You can Ctrl-Tab to quickly navigate among them, no need to...
  13. Replies
    19
    Views
    659

    Re: serial port read

    No idea where you found that stuff to copy/paste together, but there are lots of problems even in the simple coding there.

    No idea what the traffic between the two is supposed to look like. You...
  14. Replies
    29
    Views
    807

    Re: Problem with controls on an MDI Form

    I'm not sure what the big deal is.

    MDI works great for some things and it is a poor fit for others. You don't have to use it.

    As monitors increased in resolution and size, multiple monitor PCs...
  15. Re: Create Shortcut as Part of Installation Process for VB6 Program

    You modified setup1, not the Wizard. We don't have source code for the PDW itself.

    Another option would be to use another tool, for example Visual Studio 6.0 Installer 1.1 which replaced the PDW...
  16. Re: [RESOLVED] AGAIN Playing mp3 files in VB6

    Yeah, good point. And "ActiveMovie control type library" has been a part of Windows for quite a long time now. Nothing to deploy unless you must support XP SP1 or earlier.

    If you need it, the...
  17. Re: [RESOLVED] AGAIN Playing mp3 files in VB6

    In case anybody comes along looking for answers here is one possibility:


    Option Explicit
    '
    'More complicated than otherwise requried because we want to detect the end of
    'the MP3 we are...
  18. Replies
    119
    Views
    2,942

    Re: Hong Kong, Portland and the Moral Low Ground

    Derr.
  19. Replies
    119
    Views
    2,942

    Re: Hong Kong, Portland and the Moral Low Ground

    Hilarious doctored fake news vs. reality:


    https://www.youtube.com/watch?v=316LOai3ni0

    But this has gotten old. Sadly we'll see both more fake news and Biden dementia before this is over.
  20. Replies
    119
    Views
    2,942

    Re: Hong Kong, Portland and the Moral Low Ground

    Looks like Disney got at least his upper half operating again. Bolted to an armature behind a desk in his bunker like some sort of Farscape Leviathan Pilot I suppose:

    ...
  21. Replies
    29
    Views
    807

    Re: Problem with controls on an MDI Form

    MDIForm can contain nearly any control with an Align property. Those that are containers can have other controls added within them. The most common are PictureBox, Coolbar, Toolbar, and...
  22. Replies
    29
    Views
    807

    Re: Problem with controls on an MDI Form

    Imagine a text editor that can handle both plain and rich text. The latter might have toolbars and menus for things that don't apply to the former.

    Or perhaps the same program also supports...
  23. Re: Why is there SetWindowLongA and SetWindowLongW in Windows API?

    Part of the complication comes from the hacks VB6 implements to try to make the transition to Unicode transparent.

    A "Declare" compiles to a bunch of code that tries to deal with the mismatch...
  24. Replies
    119
    Views
    2,942

    Re: Hong Kong, Portland and the Moral Low Ground

    Both of them could give any Brit a run for his money in an Upper Class Twit Olympics if they accepted foreign competitors.
  25. Replies
    4
    Views
    245

    Re: InkEdit Control

    You must have a control array. Try the properties of the individual controls.



    Text Object Model, another COM interface to Word and all RichEdit controls (like InkEdit wraps).

    178223
  26. Replies
    119
    Views
    2,942

    Re: Hong Kong, Portland and the Moral Low Ground

    Speaking of photos, I see that the recent Biden ads contain only old still photos and either some mystery voice-over or in some cases a Biden impersonator doing the voice-over.

    I imagine they're...
  27. Replies
    4
    Views
    216

    Re: how convert html string into css html

    Try to use CODE tags.

    Is this a VB6 programming question?

    It sounds like you are asking for the name of some specialized conversion utility. Wrong forum. If you are requesting custom...
  28. Replies
    4
    Views
    245

    Re: InkEdit Control

    Seems like a strange question. Here's the obvious answer, but maybe I misunderstood the question:


    Option Explicit

    Private Sub Form_Load()
    With InkEdit1
    'SelAlignment is by...
  29. Re: Why is there SetWindowLongA and SetWindowLongW in Windows API?

    The ones without any text arguments might do something else under the covers, for example call text-encoding sensitive procedures themselves or send different message values since those often come in...
  30. Re: How to Make DataGrid1 Content go into the actual Connected Database?

    The ADODC is a sort of "baby" data control, a leftover from VB3 DAO concepts. That's probably why it uses the weird old term "RecordSource" for an ADO Command. I'm not sure why anyone uses it in...
  31. Re: Why is there SetWindowLongA and SetWindowLongW in Windows API?

    A long time ago there was SetWindowLong(). Later on when NT came along it was split into SetWindowLongA() and SetWindowLongW() while Win9x only had SetWindowLongA().

    In C programs you normally...
  32. Replies
    119
    Views
    2,942

    Re: Hong Kong, Portland and the Moral Low Ground

    Actually I'm seeing a lot of the Romney camp supporting Biden. They want more interventionist wars, more favorable trade "deals" with China, and in general align with his globalist agenda. Both...
  33. Replies
    119
    Views
    2,942

    Re: Hong Kong, Portland and the Moral Low Ground

    I tried to find something recent, preferably all in one piece rather than clips.

    I guess the cabal he fronts for isn't letting him in front of a camera much any more.
  34. Re: How to Make DataGrid1 Content go into the actual Connected Database?

    Well "rs" is just a name. Normally you can name it anything except when it is generated by some library (for example the DataEnvironment creates Recordsets named like rs{Command name}, e.g....
  35. Replies
    119
    Views
    2,942

    Re: Hong Kong, Portland and the Moral Low Ground

    This says "an interview" but it's really another collection:


    https://www.youtube.com/watch?v=SfQbYc22m7Q
  36. Replies
    119
    Views
    2,942

    Re: Hong Kong, Portland and the Moral Low Ground

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

    But yeah, of course those are clips aggregated to make a point.
  37. Re: How to Make DataGrid1 Content go into the actual Connected Database?

    Oh, you might try opening DataEnvironment1.Dsr in Notepad or another text editor. That'll probably give you an idea of what goes on there. Probably not a good idea to modify it that way though...
  38. Re: How to Make DataGrid1 Content go into the actual Connected Database?

    No idea why you want to store numeric data as text.

    Here's an example that has almost no code at all.

    The bulk of the logic creates a new clean Jet MDB in Module1.bas if one doesn't exist. Not...
  39. Replies
    119
    Views
    2,942

    Re: Hong Kong, Portland and the Moral Low Ground

    He had troubles even on the stump while they were still pretending there was a primary season:


    https://www.youtube.com/watch?v=2WwFDktA3Cc
  40. Replies
    26
    Views
    794

    Re: The titlebar with different colors

    I got this far, but then got stuck:


    178209


    SetWindowTheme .hWnd, WIN32_NULL, StrPtr("WindowStyle")

    Did that on each child Form as each instance is created.
Results 1 to 40 of 486
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width