Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 0.75 seconds.

  1. Replies
    196
    Views
    9,800

    Re: Re PlanetSourceCode

    That's the sort of thing that led me to call it "POScode" for years.

    I'm not saying there are no gems there, but they are like needles in a landfill.
  2. Replies
    3
    Views
    56

    Re: Jet SQL: Insert Null FK?

    If you don't use MAX() it fails to work as desired. That new Pies row will never get inserted into the table because the SELECT returns no rows.


    To clarify:

    MAX() isn't really MAX() here, it...
  3. Replies
    3
    Views
    56

    Jet SQL: Insert Null FK?

    I have a main table Pies and a lookup table Fillings.

    The main table has a foreign key, but some rows can have no entry, i.e. Null. I want to be able to insert new Pies rows after populating...
  4. Replies
    1,421
    Views
    57,686

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

    Well, the heads appear to be plastic, and to wear one of those suggests you aren't wrapped too tight. ;)
  5. Replies
    23
    Views
    377

    Re: Notorius R.B.G ... RIP

    Republicans? Oh, those people who support Biden?
  6. Replies
    40
    Views
    584

    Re: need 2 decimal places

    Don't use the ancient Val() unless you really mean to. It always uses the Invariant Locale.

    Instead we have things like CSng(), CDbl(), etc. which are locale aware. No need for funky gymnastics...
  7. Replies
    0
    Views
    133

    DOW: Least-Used VB6 Feature?

    This site has been around for a long time, but searches turn up very little on the VB6 Data Object Wizard. This has been around since 1998 of course, but it seems to hardly be used by anyone.

    I...
  8. Replies
    27
    Views
    829

    Re: Presidential Debates

    Biden's got it made. The media just need to show his prominent supporters clapping for his responses. John Kasich, Mitt Romney, Colin Powell, Carly Fiorina, Cindy McCain (wife of the writer of...
  9. Re: CanGrow RPTLabels do not take account Tabs

    Aside from justification there isn't much available. I suppose you could pad stuff out with non-breaking-space characters, i.e. ChrW$(&HA0&) characters,

    For many locales you can even enter those...
  10. Re: Proof of concept for handling DPI per monitor V2 transparently... or almost

    When it comes to dealing with High DPI (either taking it head-on by using one of the forms of DPI Awareness or falling back on GDI Scaling), I try to test at 200, 175, 150, and 100%. The reasons are...
  11. Re: DAO MDB database SQL error "Too many fields"

    "Too Many Fields Defined" error when you save a table in Access is worth reading too.
  12. Replies
    1,421
    Views
    57,686

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

    Frustrating, isn't it?

    I guess you can take the girl out of the Party of Goldwater, but you can't take the Goldwater out of the Goldwater girl.
  13. Re: Problem with combo box with its Style property set to "0 - Dropdown combo"

    Since I seem to be making heads explode ;) here's another version using an actual MDB instead of simulating two database tables.

    There is even less procedural logic used, and a lot of that is just...
  14. Re: Problem with combo box with its Style property set to "0 - Dropdown combo"

    I think I answered these questions in a straightforward manner, and mostly via sample code.


    I even simplified the code. Switching formats takes just:


    Private Sub chkNewMonths_Click()
    ...
  15. Re: Problem with combo box with its Style property set to "0 - Dropdown combo"

    Sounds like a job for database normalization and a DataCombo. Or two if it really makes sense to let some users add crap to the lookup table (shudder).

    Silly example, using a pair of fabricated...
  16. Replies
    1,421
    Views
    57,686

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

    There is a simple answer to the current state of polarization.

    Hillary lost in 2016 and she is still having a tantrum, using all of her tentacles to sow high levels of angst. In her own way she's...
  17. Replies
    2
    Views
    167

    Re: get href value from web page

    The site applies a number of anti-scraping techniques. I see why you had to resort to try to scrape via a browser rather than MSXML itself.

    To get what you want though you'll need to gain access...
  18. Thread: Thanks....

    by dilettante
    Replies
    19
    Views
    544

    Re: Thanks....

    I hope we hear good news.

    A lot of us are running under expired warrantees these days.
  19. Replies
    15
    Views
    592

    Re: VB6 - Viewer

    If you just need to support static pages and content you might look into this:

    http://www.analogx.com/contents/download/Network/sswww/Freeware.htm
  20. Replies
    1,421
    Views
    57,686

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

    We're still getting these misleading log-scale maps. They bury the story:


    178788

    1770 to 19750 as a range hides a lot of detail, as does 19751+ which might be a million for all we know.
  21. Replies
    1,421
    Views
    57,686

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

    Well that's an explanation. Doesn't seem to apply here though. Requirements here are statewide and observance of the mandates seems to be the opposite of what you described.

    Either what I see is...
  22. Replies
    6
    Views
    260

    Re: Vb6: winsock keep alive problem

    I doubt you can.

    The server is telling you that it will not accept more than 100 transactions before closing the connection. Probably in order to fight against denial of service malware and site...
  23. Thread: ADO on Lan

    by dilettante
    Replies
    17
    Views
    411

    Re: ADO on Lan

    Here is a book online that you might find useful: https://flylib.com/books/en/3.9.1/

    It shows a "cover" and text saying it is about ADO.NET, but it seems to really be for ADO.

    I assume it isn't...
  24. Replies
    1,421
    Views
    57,686

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

    Well personally I discount most of what candidates say during campaign season. And these days those seem to last 4 years. ;)

    Their actions and history of actions are what you want to look at.

    ...
  25. Thread: ADO on Lan

    by dilettante
    Replies
    17
    Views
    411

    Re: ADO on Lan

    Keep in mind that ADO doesn't connect to anything, the Provider does.

    If you are using the shim Provider ("MSDASQL") then it defers the "connecting" to the associated ODBC Driver. Doing that with...
  26. Replies
    1
    Views
    125

    Re: 32bit and 64bit Property Handlers?

    Well I suspect Explorer can only use a 64-bit handler in 64-bit Windows. Maybe uninstall the 32-bit one and then install the 64-bit one? Then try both applications.

    I don't think you can install...
  27. Re: [RESOLVED] GDI Scaling, ImageLists, ListView

    I'll say this again:

    This is not dealing with DPI Awareness. It is a way to cope with High DPI and per-monitor DPI without making any major changes to existing programs. It looks best when DPI...
  28. Re: [RESOLVED] GDI Scaling, ImageLists, ListView

    Ok, ripped out all of the "attempts to compensate" from AlphaPic. Found a bug where I was causing Quality to default for image scaling in MainUI.frm.

    Retested. Much better result. More about...
  29. Re: [RESOLVED] GDI Scaling, ImageLists, ListView

    Did a 200 DPI test and the buttons look even better. That's because GDI Scaling handles whole multiples of 100% differently from fractional multiples.

    By contrast though, the photo images look a...
  30. Re: [RESOLVED] GDI Scaling, ImageLists, ListView

    Sure enough, the Toolbar Button bitmaps loaded from BMP files at design time are as good as it gets under GDI Scaling. Magnified automagically they do get a little fuzzy as expected, but I'm not...
  31. Re: What good is a command button's Value property?

    This is an excellent point, or would be if we weren't talking about basic UI management local to a Form or UserControl. Doing something like that with a control event is pretty outré and ought to be...
  32. Replies
    15
    Views
    592

    Re: VB6 - Viewer

    The main thing I have used Gossamer for was a UI to get to an NT Service, which can't interact with Desktops any more (post-XP).

    Those are usually fairly simple UIs, providing a way to tweak...
  33. Replies
    1,421
    Views
    57,686

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

    No, he's talking about the Coastal Colonialists who benefit from neoliberal globalism. They screw the workers here, and screw the workers elsewhere even harder.
  34. Re: [RESOLVED] GDI Scaling, ImageLists, ListView

    No, I hadn't even considered that. So thanks for addressing it!

    The code above does that with 16-color bitmaps but there was no color distortion. Perhaps because of the palette they used?

    ...
  35. Thread: ADO on Lan

    by dilettante
    Replies
    17
    Views
    411

    Re: ADO on Lan

    The main difference is that file-based DMBSs have to read/write the raw DB files across the network, handling file locking, etc. A client-server DBMS can keep all of that on the server... unless...
  36. Re: What good is a command button's Value property?

    Command1_Click is a method procedure that VB's event binding will bind as an event handler.

    There is nothing wrong with invoking the method yourself from other code.

    Command1.Value = True also...
  37. Thread: ADO on Lan

    by dilettante
    Replies
    17
    Views
    411

    Re: ADO on Lan

    Yeah, a file-based DBMS will always be slower across a network than a client-server DBMS. That's just life.

    But even then the same rule applies: "Take only what you need to survive."

    And that...
  38. Re: [RESOLVED] GDI Scaling, ImageLists, ListView

    Reminder:

    GDI Scaling does not promise or deliver pixel-perfect bitmap images. For that you need to do the work to be per-monitor DPI aware.

    But if you can use DDBs instead of DIBs, most LOB...
  39. Re: [RESOLVED] GDI Scaling, ImageLists, ListView

    Ok, found a bug I had introduced in the original program by hoping ImageLists would retain ImageWidth and ImageHeight reliably after being cleared. Now I reassign the values after each clear.

    ...
  40. Re: [RESOLVED] GDI Scaling, ImageLists, ListView

    Small tweak to avoid "black buttons" in IDE runs, in case that annoys anyone.

    In MainUI.frm:


    ilTlbIcons.ListImages.Add , Key, AlphaPic.Picture(vbButtonFace)

    In AlphaPic.cls:
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width