Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 0.12 seconds; generated 39 minute(s) ago.

  1. Replies
    15
    Views
    277

    Re: Thunk for a CopyMemory replacement?

    I still don't understand why people find it whizzy to call code injections thunks. Thunks are an entirely different thing.
  2. Re: Create CSV File for European Number Format

    The ACE OLEDB Providers are just rewarmed private versions of the Jet 4.0 OLEDB Provider that ships in Windows.

    Jet 4.0 can support old "Access" formats even older than the Jet 3.x formats that MS...
  3. Re: Create CSV File for European Number Format

    Part of your answer:


    Option Explicit

    Private Const LOCALE_SLIST As Long = &HC& 'list item separator

    Private Declare Function GetLocaleInfo Lib "kernel32" Alias "GetLocaleInfoW" ( _
    ...
  4. Re: Create CSV File for European Number Format

    BTW:

    Your basic problem is using VB's Write # statements. Files created that way are only meant to be read back via Input # statements.
  5. Re: Create CSV File for European Number Format

    While you'd need to look up how to make it work with ancient and abandoned DAO I am sure it can still be done.

    Jet already has a facility for exporting as text and by default it makes use of the...
  6. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    "Haven" is a Stephen King adaptation that ran from 2010 to 2015 before being canceled.

    Small town cop show with weird but low-key supernatural twists.


    https://youtu.be/YB4v6fRVjf0

    I may be...
  7. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    There are several "comfort food" quirky comedic police procedural and medical TV series out there. I think of Psych, Monk, House, Scrubs, and the like in this category. Some might also go to...
  8. Re: Executable compiled on Vista loads faster than compiled on XP

    I'm still unconvinced.

    The symptoms described don't seem to relate to any code optimizations, but then we haven't seen any code so it might be doing really bizarre stuff and spinning its wheels a...
  9. Replies
    19
    Views
    552

    Re: [RESOLVED] Scaling Issue Somewhere

    Not sure I'd let implicit Banker's Rounding run wild like this, but I suppose dimensions being off a pixel here and there isn't a concern.

    You could write code or a function to do Arithmetic...
  10. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    I think all of this show has been uploaded to YouTube by the History Channel. No idea whether any of it is region restricted though.


    https://youtu.be/TdBhm6lMDOU

    I know they had some problem...
  11. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    Maybe this is a "Not To Watch." Or perhaps times have changed enough to alter its impact.

    How One Apocalyptic BBC Movie Scarred a Generation of U.K. Schoolchildren



    ...
  12. Re: Executable compiled on Vista loads faster than compiled on XP

    Hard to imagine. Sure feels like there is more information we would need to help.

    VB6 provides about 100% of the compilation toolchain, so there should be no difference aside from timestamps and...
  13. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    It appears to be set somewhere within Brotherhood, not after like the other one:


    https://youtu.be/37Iofk7wNjE
  14. Re: Create an object array with a length of zero (or UBound = -1)

    SomeClass.cls:

    Option Explicit

    Public L As Long

    Module1.bas:

    Option Explicit
  15. Re: Create an object array with a length of zero (or UBound = -1)

    The test for an empty array is Ubound() < LBound(), and something entirely different from an unallocated dynamic array.
  16. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    There was also a post-Brotherhood film but I haven't seen that one. I think I've been through everything else a couple of times at least.
  17. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    BTW:

    By the time of the events in this movie the story takes place in 1923 Germany.
  18. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    I'm not much for anime, though there are a few franchises with such good stories, characters, and music that they can transcend more common anime.

    One of those is Fullmetal Alchemist.

    While I...
  19. Replies
    19
    Views
    552

    Re: Scaling Issue Somewhere

    Did I read something into this? What is your monitor DPI setting?
  20. Replies
    9
    Views
    205

    Re: CreateCompatibleDC

    I'm pretty sure that the default bitmap is just another of the many GDI "stock objects" that costs nothing to create at runtime. There has to be something by default, so they use that one.
  21. Replies
    9
    Views
    205

    Re: CreateCompatibleDC

    It might also be worth mentioning that the "wide" calls are quicker than ANSI calls. The latter go through an indirection process: taking any character values and transcoding them to wide, then...
  22. Replies
    9
    Views
    205

    Re: CreateCompatibleDC

    Oh yeah, you can use GetCurrentObject() to get the bitmap handle.
  23. Replies
    9
    Views
    205

    Re: CreateCompatibleDC

    Perhaps what you are after (?) can be obtained via:


    Private Type BITMAP
    bmType As Long
    bmWidth As Long
    bmHeight As Long
    bmWidthBytes As Long
    bmPlanes As Integer
    ...
  24. Replies
    9
    Views
    205

    Re: CreateCompatibleDC

    You are asking about the device that the DC is compatible with. Try the same thing for a memory DC created compatible with a printer DC, that's the most common alternative.
  25. Re: How do I send or receive UDP multicast with winsock OCX in VB6?

    Don't confuse multicast with broadcast.
  26. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    But then I did just get my 4th shot of vaccine earlier today and maybe I'm feeling more than just a sore shoulder.
  27. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    I came away from it feeling a little depressed. But since I am getting so old now it doesn't take much to kill my buzz.

    I hadn't realized how much media is actually hopeful but only in the...
  28. Replies
    178
    Views
    11,666

    Re: Stuff to watch

    Here's a weird one: I THINK WE'RE ALONE NOW

    Post-apocalyptic, nominally "sci-fi," but aside from some brief sequences it is more of a low-key demented and eerie drama.

    Dated 2018 but wide...
  29. Replies
    49
    Views
    697

    Re: Suspend the gas tax???

    Mad green policies?


    https://youtu.be/RqGsBFVrVjQ
  30. Re: Make hGdipImage, hGraphics, and other GDI+ "objects" into true VB6 COM objects

    I agree with that except I have never seen anyone's attempt that was useful enough to gain adoption. Back around 2005 there were two competing ActiveX wrapper libraries I remember that attempted to...
  31. Re: Make hGdipImage, hGraphics, and other GDI+ "objects" into true VB6 COM objects

    Common enough thing though. Often you want a Public Get but a Private Let. Friend seems to fit that pattern as well.
  32. Replies
    47
    Views
    762

    Re: VBForums most active sections stats.

    I'm not sure why because I see nothing compelling about it and a lot to dislike, but Python seems to be soaking up a lot of adherents in recent years.

    I imagine two rich old guys who control...
  33. Replies
    759
    Views
    26,782

    Re: Current Russia Ukraine tensions

    That article mentions "wind industry executives" without really saying whether this is the extortive plutocrats trying to profit from "green" tax incentives and grants, the ones who simply lobby...
  34. Re: Make hGdipImage, hGraphics, and other GDI+ "objects" into true VB6 COM objects

    GDI+ was not designed to be used from other languages.

    You have to deal with class member signature overloading, something we don't have in VB. You end up needing to make a series of...
  35. Re: how that vb6 display works (about twips and pixels)

    This also applies to things like printers and both analog and digital plotters and laminated plastic sign milling machines.
  36. Replies
    49
    Views
    697

    Re: Suspend the gas tax???

    Reminds me of those 3 movies about L.A. corruption: Water ("Chinatown"), Oil ("The Two Jakes"), Mass Transit ("Who Framed Roger Rabbit").

    The third one isn't a joke.
  37. Replies
    49
    Views
    697

    Re: Suspend the gas tax???

    This one?


    https://youtu.be/H2hSATHD634
  38. Re: Who is in charge of Column With and Row Height for DpiAware?

    Also read the "Common Pitfalls (Win32)" section at:

    https://docs.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows
  39. Re: Who is in charge of Column With and Row Height for DpiAware?

    "User form?" Is this something like an MS Access VBA question?

    All levels of DPI awareness require that your code take all responsibility for rescaling things to fit as the DPI changes - such as...
  40. Re: Good Programming Practice: About "ByVal MyObject"

    ByRef vs. ByVal is more about the cost of marshaling over DCOM. However it also applies locally in terms of the cost of data copying and protecting the calling client data.

    Locally or remotely...
Results 1 to 40 of 496
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width