Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 0.45 seconds.

  1. Replies
    1
    Views
    78

    Re: RtlToFromString - Number Bases

    BTW:

    There does seem to be a RtlUnicodeStringToInt64() function (at least in Windows 10). This would provide more symmetry but as far as I can tell it is only available to kernel-mode code such...
  2. Replies
    0
    Views
    68

    Windows Logo Glyph

    Not sure why you'd ever need it, but I stumbled across this:


    178872


    Option Explicit

    Private Sub Form_Load()
    With Label1
  3. Replies
    1
    Views
    78

    RtlToFromString - Number Bases

    For the most part we're already set for converting to/from number bases in VB6. But sometimes people want something more.

    Here is a little bit more based upon two API calls:

    ...
  4. Replies
    15
    Views
    347

    Re: UpdateLayeredWindow() Drove Me Crazy

    Well for some forms of animation SLWA seems good enough:


    178862

    Most of the attachment is images.
  5. Replies
    15
    Views
    347

    Re: UpdateLayeredWindow() Drove Me Crazy

    I should add that I understand the value of UpdateLayeredWindow() for animation or displaying ongoing changes to your "canvas." I suppose it could also be useful for creating "whole screen overlays"...
  6. Re: Looking to build a HTTP class but what should it be built off of?

    WinHTTPRequest is already a VB-friendly HTTP class.

    Why would you need to wrap it within another class?
  7. Replies
    15
    Views
    347

    Re: UpdateLayeredWindow() Drove Me Crazy

    I see your changes above, but I'm not sure how they answer my questions.


    One question was about using the Form's DC and you haven't addressed that.

    The Trick addressed that for rendering...
  8. Replies
    15
    Views
    347

    Re: UpdateLayeredWindow() Drove Me Crazy

    I was talking about drawing with alpha blending. Not a fixed alpha for the entire drawing, but "draw by draw" differences in alpha.

    I can do it with a memory DC but I wasn't sure how to use the...
  9. Replies
    15
    Views
    347

    Re: UpdateLayeredWindow() Drove Me Crazy

    Yes, that's true. Thanks.

    But the result looks like color-key transparency. Can you get different translucency for different drawing operations? I don't see anything here that improves on...
  10. Replies
    15
    Views
    347

    Re: UpdateLayeredWindow() Drove Me Crazy

    I'm not sure any of this is very useful, but it comes up from time to time so I tried playing with it. At best it feels like a stunt.

    Maybe others have more imagination.
  11. Replies
    15
    Views
    347

    UpdateLayeredWindow() Drove Me Crazy

    I never played with UpdateLayeredWindow() before. So I took a look and didn't find many concise examples in VB6. Examples here and there, but not clear enough to get through my thick skull.

    I...
  12. Replies
    33
    Views
    631

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

    I think you have these candidates confused with each other.

    Biden stands for more war, more austerity, more prisons, harsher crime penalties, more corporate protections and bailouts, and...
  13. Replies
    33
    Views
    631

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

    Mmm, no.

    More likely he'd prefer a court that would uphold a case against the unsecured mail-in ballots that Biden is counting on to stuff the ballot box with.


    The end-around to shut Trump up...
  14. Replies
    13
    Views
    253

    Re: Jet SQL: Insert Null FK?

    The more I look at it the more likely it seems that a 3rd "link" table may be required to make the "delete GW without deleting Cherries" work.
  15. Replies
    13
    Views
    253

    Re: Jet SQL: Insert Null FK?

    It all depends on what the scenario demands. If you want to be able to delete "George Washington" without deleting "Cherries" (for all rows that reference "Cherries") then a redesign is required.
    ...
  16. Re: SHChangeNotify messages causing weird asych behavior

    Line2 may be calling something that calls something (MessageHandler?) that calls Function1.
  17. Replies
    205
    Views
    10,746

    Re: Re PlanetSourceCode

    It's embarrassing for those of us who couldn't meet their high standards.
  18. Replies
    13
    Views
    253

    Re: Jet SQL: Insert Null FK?

    This came up because an old customer had let their own people work on a program I wrote a few years ago for them. It bulk-loads data exported from a legacy system, yes even older than VB6 and Jet,...
  19. Replies
    205
    Views
    10,746

    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.
  20. Replies
    13
    Views
    253

    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...
  21. Replies
    13
    Views
    253

    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...
  22. Replies
    1,421
    Views
    58,948

    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. ;)
  23. Replies
    33
    Views
    631

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

    Republicans? Oh, those people who support Biden?
  24. Replies
    58
    Views
    980

    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...
  25. Replies
    0
    Views
    166

    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...
  26. Replies
    27
    Views
    874

    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...
  27. 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...
  28. 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...
  29. 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.
  30. Replies
    1,421
    Views
    58,948

    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.
  31. 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...
  32. 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()
    ...
  33. 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...
  34. Replies
    1,421
    Views
    58,948

    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...
  35. Replies
    2
    Views
    196

    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...
  36. Thread: Thanks....

    by dilettante
    Replies
    19
    Views
    628

    Re: Thanks....

    I hope we hear good news.

    A lot of us are running under expired warrantees these days.
  37. Replies
    15
    Views
    696

    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
  38. Replies
    1,421
    Views
    58,948

    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.
  39. Replies
    1,421
    Views
    58,948

    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...
  40. Replies
    6
    Views
    295

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



Click Here to Expand Forum to Full Width