Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 2.66 seconds.

  1. Replies
    19
    Views
    293

    Re: Static Functions of VB6

    I'm sure Static has a place, I'm just not sure it is a good choice most of the time.

    It helps you keep data local to the procedure, but usually when I consider it I immediately find I also need to...
  2. Replies
    135
    Views
    2,024

    Re: Some thoughts on VB6 forum

    I saw that!
  3. Re: VB 372 error : Failed to load control y from x.ocx. Your version of y maybe outda

    The file version number of the OCX doesn't mean much. It really only exists for the use of deployment tools, and for it to have real meaning discipline is required.

    What has probably failed is a...
  4. Replies
    19
    Views
    293

    Re: Static Functions of VB6

    People also get confused by the Friend decorator. Friend members are "public" but only within the compilation unit (EXE, DLL/OCX).
  5. Replies
    8
    Views
    272

    Re: Need help with scrollbars please

    Ahh, that must be the Common Controls 6 scrollbar you get when your manifest selects the Common Controls 6 assembly.
  6. Replies
    135
    Views
    2,024

    Re: Some thoughts on VB6 forum

    VB6 is almost extinct now anyway.

    .Netters are so twitchy I can't imagine how they'll implode when the Python gang starts peeing in their threads as they always have in VB6. The insecurity is...
  7. Replies
    10
    Views
    184

    Re: ConnectionStrings.com is gone!

    Wow humor chafes.

    Microsoft bashing? No idea where that came from.
  8. Replies
    10
    Views
    184

    Re: ConnectionStrings.com is gone!

    To be valuable and effective "descriptions" have to be creative and very detailed. So that's just a step beyond compiler languages as we know them. For that matter we've seen little significant...
  9. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Yeah. I guess when you only have fishing, goats, and lizards with some olives and grapes along the coasts people can get hungry importing most of the food when cash is so thin. Hard times.
  10. Replies
    10
    Views
    184

    Re: ConnectionStrings.com is gone!

    Well the lights are winking out one by one. Just a sign of the times.

    Right now things like Python thrive due to massive corporate support as a tax dodge. But soon computer programming will be a...
  11. Replies
    135
    Views
    2,024

    Re: Some thoughts on VB6 forum

    Not to mention the promise of job security in write-only code.

    To be honest though, people manage that using VB just as frequently.
  12. Re: what about Spread32?it's can open *.xls file like excel

    I see a ton of crap being dumped into the CodeBank lately that was already there. Usually "the serial numbers" are scratched out, and sometimes there are trivial changes. Copying other people's...
  13. Re: How to create a multires icon DLL with sizes up to 256x256 like shell32.dll?

    LoadLibrary() is good enough to load the DLL and get its hInstance (module handle). Ideally you will call FreeLibrary() to release it when you no longer need the module.

    LoadIconWithScaleDown()...
  14. Replies
    135
    Views
    2,024

    Re: Some thoughts on VB6 forum

    I'm pretty impressed that reddiots still feel so threatened by a programming language and tool set last updated 20 years ago. Of course part of the fear might come from the unparalleled stability...
  15. Replies
    8
    Views
    235

    Re: Clone Objects with Sub-Objects !?

    Calling controls "objects" obscures the reality a bit. We have two words for a reason. Controls must implement additional interfaces, and that's what makes them controls.

    The PictureBox is a...
  16. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    He also mentions the free health care provided by the U.S. government for people who get COVID. That ends very soon.

    Health insurance companies are already suggesting "Get COVID? Not vaccinated?...
  17. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    His point is that scammers have found antivaxxers to be a reliable pool of gullible victims.
  18. Re: How to create a multires icon DLL with sizes up to 256x256 like shell32.dll?

    BTW:

    The resulting RES files can be used with VB6, but they won't succeed in IDE runs and you can't edit them using the VB Resource Editor.

    For something odd like a 256x256 icon I'd probably...
  19. Re: How to create a multires icon DLL with sizes up to 256x256 like shell32.dll?

    Easy fix.

    RC.EXE works fine, but...

    ... you need a newer version of both RC.EXE and RCDLL.DLL, which you can obtain from either a Windows SDK for Vista or later or else some newer version of...
  20. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    At the end another threat to the undead, er, unvaxxed:


    https://www.youtube.com/watch?v=U12qSkr3umw
  21. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    We have a State "risk map" for COVID by county that ranks the risk from "Low" and then increasing from A to E.

    Most places were A until recently, but now we're seeing more and more B level risk. ...
  22. Re: Project App.path from inside UC in OCX?

    I'm not sure controls should be breaking encapsulation that way.

    This sounds like a serious design problem, but there is a cheap fix: Rewrite the UserControl with a writeable property like...
  23. Replies
    12
    Views
    922

    Re: Stuff to watch

    Watched this again. Even wackier and raunchier than I remembered.


    https://www.youtube.com/watch?v=OGFjOmQE-Zo
  24. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Any organization can have these problems.

    Somebody pays the bills, and that gives them a vote. Factions can have different agendas or even just follow a graven idol, er, school of thought. These...
  25. Replies
    3
    Views
    175

    Re: Drag form with image on top

    No need for an Image control, just assign your photo to the Form's Picture proerty.


    Option Explicit

    'Left-click and drag, right-click or ESC to exit.

    Private Enum BOOL
    BOOL_FALSE = 0...
  26. Re: OpenThemeData For Getting Background Color Of Context Menu Item ? (uxtheme.dll)

    It sounds like what you want can be done by creating a 32-bit DIB with premultiplied alpha. I don't have an example of that though.

    As far as I can tell LoadImage() can do that using a...
  27. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Just for grins I checked the Taco Bell web site again.

    The same ALARM is there about supply problems limiting choices, but now there is another banner: "Dine-in has resumed!"

    We're doing...
  28. Replies
    16
    Views
    373

    Re: Microsoft.ACE.OLEDB problem

    Modern how?

    The people behind MS Access took the Jet 4.0 engine, tweaked a bunch of stuff up, then added a few features only usable by MS Access and SharePoint.

    "Modern" doesn't buy you very...
  29. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Or perhaps it means just that.

    It seems to be used as a propaganda outlet. Some criticize it for delaying the reporting of several metrics and then "curating" them before release.

    I'm...
  30. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    I'm not sure Biden and his cronies have a clue, really. Or maybe their agenda just isn't obvious.

    They seem to be fast-tracking deportations on the one hand, loading others onto buses to infect...
  31. Replies
    135
    Views
    2,024

    Re: Some thoughts on VB6 forum

    Lua? Ack, ptui!

    I've written a little of that and I can still taste it. I don't see Basic there myself. The guy would probably say the same thing about Pascal.

    I might give in on Python,...
  32. Re: OpenThemeData For Getting Background Color Of Context Menu Item ? (uxtheme.dll)

    Test it first. It should run fine in the IDE.

    I do not think it will do exactly what you want though. I can't think of any way to avoid showing the menu background color in the square of a color...
  33. Replies
    16
    Views
    373

    Re: Microsoft.ACE.OLEDB problem

    You can use MS Access to convert your ACCDB format database to MDB format. As long as you aren't using weird ACE features like multi-valued columns that should be seamless.

    Your program should...
  34. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Well the CDC has moved the goalposts again. I guess whatever it takes to make the west and south feel good about their climbing case rates, eh? But it also obscures the slight climb experienced...
  35. Re: OpenThemeData For Getting Background Color Of Context Menu Item ? (uxtheme.dll)

    I'm not sure whether the corrected version ever got posted. Version 6 is the newest I have here.

    I have another example that is very stripped down, just a Form with all of the giblets in it...
  36. Re: OpenThemeData For Getting Background Color Of Context Menu Item ? (uxtheme.dll)

    Wrong call, that one only sets the checked and unchecked bitmaps. The one you want is SetMenuItemInfo() instead.

    But in both cases the bitmaps are meant to be monochrome mask bitmaps. Using a...
  37. Replies
    16
    Views
    373

    Re: Microsoft.ACE.OLEDB problem

    There is no "JET4-OleDB-Driver" though there is a Jet 40. OLEDB Provider and even an old fashioned ODBC Driver.
  38. Replies
    135
    Views
    2,024

    Re: Some thoughts on VB6 forum

    Makes one wonder what motivates people to go slumming then. Why go into the "bad neighborhood" just to make claims of superiority? Selling a little religion along with those smallpox blankets?
  39. Re: OpenThemeData For Getting Background Color Of Context Menu Item ? (uxtheme.dll)

    How are you using this color anyway?

    Seems like it would require a lot of subclassing and bitmap swapping. Is it really worth all that?
  40. Replies
    135
    Views
    2,024

    Re: Some thoughts on VB6 forum

    The funny thing is how rare it is for anyone to go into the VB.Net forum to sling mud. The reverse is common though, and probably reveals a very deep insecurity.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width