Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 0.56 seconds.

  1. Replies
    1,412
    Views
    56,818

    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.
  2. 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...
  3. 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()
    ...
  4. 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...
  5. Replies
    1,412
    Views
    56,818

    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...
  6. Replies
    2
    Views
    138

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

    by dilettante
    Replies
    18
    Views
    416

    Re: Thanks....

    I hope we hear good news.

    A lot of us are running under expired warrantees these days.
  8. Replies
    14
    Views
    463

    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
  9. Replies
    1,412
    Views
    56,818

    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.
  10. Replies
    1,412
    Views
    56,818

    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...
  11. Replies
    6
    Views
    220

    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...
  12. Thread: ADO on Lan

    by dilettante
    Replies
    16
    Views
    334

    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...
  13. Replies
    1,412
    Views
    56,818

    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.

    ...
  14. Thread: ADO on Lan

    by dilettante
    Replies
    16
    Views
    334

    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...
  15. Replies
    1
    Views
    104

    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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
  21. Replies
    14
    Views
    463

    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...
  22. Replies
    1,412
    Views
    56,818

    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.
  23. 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?

    ...
  24. Thread: ADO on Lan

    by dilettante
    Replies
    16
    Views
    334

    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...
  25. 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...
  26. Thread: ADO on Lan

    by dilettante
    Replies
    16
    Views
    334

    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...
  27. 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...
  28. 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.

    ...
  29. 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:
  30. Re: Change the text of the Common Dialog button

    Are you sure you aren't thinking of the OFNHookProcOldStyle() instead? Using OFN_EXPLORER is supposed to get the new hook instead.
  31. Re: Change the text of the Common Dialog button

    Ah, I was thinking he was using VB, so GetOpenFileName() made sense. Didn't notice he wanted the IFileDialog instead.
  32. Re: Change the text of the Common Dialog button

    If you use the GetOpenFileName() API you can include an OPENFILENAME.lpfnHook pointer to an OFNHookProc().

    In your OFNHookProc() you can send CDM_SETCONTROLTEXT messages to the hdlg that is passed...
  33. Replies
    4
    Views
    163

    Re: [RESOLVED] Date Format

    If you want to force Excel to store dead data, do something like:


    Range("D1").value = "'" & Format(Now, "MM/DD/YY")

    But then you don't have a Date value there, and any formulas, Charts, etc....
  34. Replies
    4
    Views
    163

    Re: [RESOLVED] Date Format

    What happened is your VB6 code tried to jam a String into the Excel cell. That made it chuckle at you, and then coerce it back to Date type to store it into the cell, which it then displayed using...
  35. Re: GDI Scaling, ImageLists, ListView

    Looks like the program should disable "ArrangeNone" when "ViewTiles" is selected. But that's not DPI related anyway, just a plain old programming issue.
  36. Re: GDI Scaling, ImageLists, ListView

    Ok, whew.

    There is still another flaw but I doubt it is within my control. ListView selected items have their image "highlighted out" when dragged to another monitor than they opened on with a...
  37. Re: GDI Scaling, ImageLists, ListView

    I got a chance to play with this a bit more.

    I modified a Class I have on hand for bitmap loading/scaling with GDI+ to return a StdPicture. I used this to populate the ListView ImageList controls...
  38. Re: GDI Scaling, ImageLists, ListView

    GDI Scaling isn't implemented for DIBs, so they produce distorted results. DDBs are the suggested path.

    Altering the color format of an ImageList is what I've been looking at, but I'm not finding...
  39. Replies
    17
    Views
    420

    Re: Vb6: Winsock grab full data on arrival

    DataArrival events can occur with as little as 1 byte of data received, and at most 8192 bytes of data. You have to accumulate data until "the end" (however your protocol defines that).

    There is...
  40. Re: GDI Scaling, ImageLists, ListView

    That might be an answer, though I was hoping that after playing with this I could whittle down to less code.

    But tell me where using an API ImageList would help.

    I assume you are referring to...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width