Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 2.45 seconds.

  1. Re: set a 'Description' property of a dB?

    Looks like something from ancient times, perhaps DAO diddling with a Jet/ACE engine through its private API?

    As far as I can tell neither OLEDB nor ODBC define a table description property, though...
  2. Replies
    1
    Views
    68

    Re: Fix the TwipsPerPixel rounding?

    I suspect that Currency is used in OLE's "metrics" calculations internally. You can see this abstraction "leak" by examining the data type used for IFont.Size for example.

    Single type for many...
  3. Replies
    16
    Views
    455

    Re: CCur Function

    Decimal is entirely different. VB6 supports Decimal, but only as a Variant subtype.

    https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wsp/60a4934f-5d45-4b5c-9c8c-81c1f5c331b2
  4. Replies
    36
    Views
    572

    Re: listview table colors

    No need to load the same image twice, dump one copy into an extra control, etc.

    Just load it once and scale the StdPicture object's Height and Width properties as required.
  5. Replies
    37
    Views
    860

    Re: VB6 - can we use the 'Any' type?

    I think you guys have missed the point entirely and run down a rabbit hole. The question doesn't seem to be asking about API calls:



    I still think he was grasping for the Variant type.
  6. Replies
    1,678
    Views
    94,451

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

    If you like charts, this page is interesting too:

    COVID-19 in the U.S.: How do Canada's provinces rank against American states?

    Data seems to be retrieved and plotted on the fly, so full...
  7. Re: Is there a Call Hierarchy tool for VB5 or VB6

    Maybe https://www.aivosto.com/project/project.html
  8. Replies
    1,678
    Views
    94,451

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

    We've been seeing a pretty consistent pattern in the U.S. since the winter "heating months" began in the north. For the most part the "northern tier" has been doing relatively well compared to...
  9. Replies
    16
    Views
    455

    Re: CCur Function

    No, the Currency data type doesn't "contain punctuation." You seem to be confusing it with text representations of such values.

    This type is a 64-bit signed integer with implied scaling by 10000...
  10. Replies
    36
    Views
    572

    Re: listview table colors

    https://docs.microsoft.com/en-us/windows/win32/uxguide/ctrl-list-views#is-this-the-right-control
  11. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    Translation: "Your relevant objective facts destroy my fragile narrative."
  12. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    That makes sense. No matter how you slice it Trump is "over."
  13. Re: Checkbox - Graphical. Remove Checked Highlight

    If you really need buttons to display color swatches you can do that using icons, either created separately as resources or on the fly as done in this example.

    That way you don't violate Windows...
  14. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    Meanwhile, in the U.K. they've routinely abused legal immigrants for a very long time.

    Abuses against Migrant Domestic Workers in the UK



    And then you need to consider who it was that...
  15. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    I'd suggest that it was more than half:



    https://www.usatoday.com/story/news/factcheck/2020/08/26/fact-check-obama-administration-built-migrant-cages-meme-true/3413683001/

    A big difference...
  16. Re: Checkbox - Graphical. Remove Checked Highlight

    Why wouldn't you use a Command button with graphical style if that's what you want? It sounds like all of your woes stem from a bad decision.

    It's an ongoing mystery to me why people try so...
  17. Replies
    1,678
    Views
    94,451

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

    Ouch. I hope it doesn't hit you hard.

    I've begun wondering if it isn't nearly inevitable for most of us though. I hope the "low viral load = lower impact" theory bears out. It might be the only...
  18. Re: how to zorder vb6 Controls,use SetWindowPos api?

    Even better, avoid those magic numbers.

    We have predefined named constants for a good reason.
  19. Re: get ActiveTitlebar color in Windows 10

    No, this has been part of Windows for over 20 years.
  20. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    What an orgy of insanity. Seek treatment.
  21. Replies
    37
    Views
    860

    Re: VB6 - can we use the 'Any' type?

    If you want something like that there is always the Variant type.
  22. Replies
    1,678
    Views
    94,451

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

    Another good reason to mask up, wash your hands, distance, and isolate:


    https://www.youtube.com/watch?v=3s5UovlwpcA
  23. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    L.A. Times on Trump Derangement Syndrome in 2016:





    Today they'd refuse to even print that op-ed piece.
  24. Re: get ActiveTitlebar color in Windows 10

    Maybe try:


    Option Explicit
    '
    'Here I want to try to color Label1 as closely as possible to the Form's
    'caption/title bar.
    '
    'I only really care about Windows 10 since everything else is now...
  25. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    Perhaps it's based on reputation, or something more ethereal like karma. ;)
  26. Replies
    17
    Views
    570

    Re: mscomctl.ocx - wth????

    This has nothing to do with Windows 10. It's almost certainly a deployment failure.

    I suspect some cobbled together "installer" script is being used instead of a proper installation package. If...
  27. Replies
    4
    Views
    226

    Re: Vietnamese string displays as ?

    Const VIETNAMESE_CHARSET = 163

    Not sure which standard fonts support it though.
  28. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    I don't think that's clear at all. I'd be amazed.



    Of course they will. Trump was not elected "because he was Trump" in the first place. Aside from a small base of crazies most of his votes...
  29. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    As I said, most Americans (3/4?) are not nearly as deeply divided as the media try to portray us.

    It's not really all that inventive to suggest that disagreement "harms people" though. We saw the...
  30. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    Er, point being, this needs to be defused before it really gets ugly.

    Somehow I doubt that authoritarian austerity is the path forward.
  31. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    It's true. The weight of reality is breaking through the wall of fake news. It is hard to suppress the will of 3/4 of the population. Only a fringe segment was involved the Capitol violence but...
  32. Replies
    24
    Views
    548

    Re: insert rtf data into word file

    Yes, his issue is that he has stored rich text in the database ands wants to print rich text. I suspect that Word is only here as a middleman because he doesn't know how to print from VB6.
  33. Replies
    24
    Views
    548

    Re: insert rtf data into word file

    In general.

    It's an obsolete hack nobody should be using. Better to create/alter RTF documents. All of the problems described in that ancient MS KB article apply to desktop application programs...
  34. Replies
    24
    Views
    548

    Re: insert rtf data into word file

    Here's an example of printing an RTF document, in 2 columns spanning multiple pages with page numbering.

    A programmer should be able to borrow from this to write a specific program with different...
  35. Replies
    24
    Views
    548

    Re: insert rtf data into word file

    Fairly easy if you can afford to trash the user's clipboard in the process:


    Option Explicit

    Private Sub Command1_Click()
    With RichTextBox1
    .SelStart = 0
    .SelLength =...
  36. Re: How to get access field dataformat using ado

    Doesn't work. "f" will be Nothing.
  37. Re: How to get access field dataformat using ado

    My guess is that somebody used MS Access to create the database.

    Now we have some program that wants to intuit intent by examining the DataFormat. But the Provider does not return the information...
  38. Re: How to get access field dataformat using ado

    Field.DataFormat is effectively an expando property. Few if any OLEDB Providers persist it, and probably no ODBC Drivers do.

    MS Access stores that sort of thing in private structures it writes to...
  39. Replies
    365
    Views
    7,294

    Re: The US fragile democracy Exposed

    The scoops are coming!


    https://www.youtube.com/watch?v=ABBQw6Ffbb8
  40. Replies
    12
    Views
    449

    Re: [RESOLVED] Cards32.dll

    Oops, found a bug in post #10:


    'Move Ace to 0 since spritesheet has it after King:
    If CardX = 14 Then CardX = 0


    Should be:
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width