Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 2.25 seconds.

  1. Replies
    6
    Views
    92

    Re: The Amazing Shrinking HDD

    I can't hear any whirring/whizzing or feel any vibration. I wonder if it really contains 2TB (or far less?) of flash memory?

    Buyer beware!
  2. Replies
    6
    Views
    92

    Re: The Amazing Shrinking HDD

    Note that I saw a blue USB connector and assumed USB 3.0 but I now remember that I never saw anyone claim it is other than USB 2. Don't expect USB 3.0 performance. It might not even exceed USB 1.1...
  3. Replies
    6
    Views
    92

    Re: The Amazing Shrinking HDD

    The eBay listing was sold out. There may be others though.

    I see this $40US Amazon link:
    ...
  4. Replies
    6
    Views
    92

    Re: The Amazing Shrinking HDD

    Caveats:

    After I warmed it in my pocket for an hour after bringing it in from the mail, I first made sure that my desktop PC had autoplay disabled. Then I plugged it into a USB 2 port and...
  5. Replies
    6
    Views
    92

    Re: The Amazing Shrinking HDD

    The picture makes it look bigger than it is, like a 2000mAh power bank or something.

    No, it is only about 2 fingers wide. Case seems to be aluminum.
  6. Replies
    6
    Views
    92

    The Amazing Shrinking HDD

    Picked up one of these:


    180415

    Measures roughly 3 1/2" long x 1 5/8" wide x 1/4" thick. Tiny!

    A USB-C port, one dim LED. Cable USB-C plug to full sized USB 3 plug.

    2TB, yes, two...
  7. Replies
    16
    Views
    313

    Re: What's wrong with this oop program.

    I'd think if a Class like this was useful it would probably do those operations by combining itself with a 2nd instance, but I was trying to stick more closely to the requirements.

    This sort of...
  8. Replies
    16
    Views
    313

    Re: What's wrong with this oop program.

    You can hardly write any program in VB6 without "OOP." I think you have been wildly mislead by those with a very weak grasp on the subject. Almost everything in VB is an object or a class.
    ...
  9. Re: Registry functions & Unicode values

    I just tested this and Unicode text was both written and read, so my impression that they do conversions to/from ANSI is clearly incorrect.

    So that only leaves some other program bug as the cause,...
  10. Re: Registry functions & Unicode values

    Better to avoid problems like registry fragmentation and virtualization. SaveSetting/GetSetting are obsolete old ANSI operations carried over from 16-bit VB.

    If you insist on this instead of...
  11. Re: Querying an image control for the IPicture Interface

    Good point. For even more eyeballs I suggest you spam the VB.Net forum too.
  12. Re: Querying an image control for the IPicture Interface

    In VB6 all you have to do is:


    Dim IPicture As stdole.IPicture

    Set IPicture = Image1.Picture

    QueryInterface is built-in, part of data type coercion.
  13. Thread: Datetime

    by dilettante
    Replies
    6
    Views
    178

    Re: Datetime

    No, it doesn't. Date type data is not a String, it's a date and time represented as a double precision real number (float) basically identical internally to VB's Double type. There are no bits of...
  14. Re: Querying an image control for the IPicture Interface

    Controls don't normally implement this sort of interface. Typically many expose an internal StdPicture object reference as a property. Such objects themselves implement IPicture and IPictureDisp...
  15. Replies
    6
    Views
    169

    Re: Strange character set in vb6 program

    Fonts named with a leading @ symbol are used for displaying vertical-language characters (Chinese, etc.). No idea what would change those on you though for Greek.

    Why do some font names begin...
  16. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    I had asked, but a while back I realized this was a red herring.

    Your manifest is probably just fine, though the version you just posted lacks a proper strong name. "Astrocalc" could clash with...
  17. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    As long as the icon is loaded from a compiled PE file (like a DLL) then you should see the icon when you run your program within the IDE.

    But during IDE runs your program doesn't have any actual...
  18. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    Ok after more fiddling this one just sets Form icons from the resources of a PE file (DLL, EXE, OCX, etc.). For example a resource DLL as requested.


    As long as VB6.exe and your compiled...
  19. Replies
    530
    Views
    16,607

    Re: The US fragile democracy Exposed

    I wonder if Amazon's pricing could be manipulated to advantage by a large enough group working together?

    Say there is some current (lots of stock) specific well respected product a lot of people...
  20. Replies
    530
    Views
    16,607

    Re: The US fragile democracy Exposed

    What might the unintended consequences be? Doesn't that just encourage predators to raise the cost of living everywhere?

    More and more suppliers of goods and services to consumers have aggregated...
  21. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    Sadly it looks like the thread's initial activation context actually is "number 0" or NULL. So, manifest or not, a NULL comes back from GetCurrentActCtx() calls until you have pushed a new context...
  22. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    I started researching the problem.

    Your VB6.exe manifest may well be fine. That testing code does not seem to do what I had expected, so that problem is mine. Working on it.
  23. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    Runs in the IDE will not use the "capsule" icon because (as already stated) there is no compiled-in icon resource yet, you are not running a compiled EXE. The RES file cannot be used directly.


    ...
  24. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    I'm only saying you normally don't need more than 4 to 6 sizes. The gaps can be filled in by scaling, and the scaling is done better using the new API calls than the old ones left over from Windows...
  25. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    You seem to be missing the point.

    What if your ICO lacks the specific size required at run time?

    Sure, if a match is found then the matching size gets used. But if the current DPI settings...
  26. Replies
    7
    Views
    466

    Re: Simple NAS Appliances

    Looks like the router-as-NAS option is a good one. The little USR device I described above only takes 1 drive up to 2GB.

    My TP-Link Archer router can beat that:



    So I could use 2 USB drives...
  27. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    Also see LoadIconMetric function for cases where you just need the two "form" icon sizes.

    This also scales down from larger as needed, or if not found only then scales up. This is definitely...
  28. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    Easy.

    Scaling down from an image with more picture information is usually (almost always) better than scaling up from less information.

    If it wasn't true the new call would never have been...
  29. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    Actually it picks the closest match for current screen color depth and size. If no exact match is found it chooses the next smaller size and scales up. Always, unless (I suppose, though it is not...
  30. Re: Faster Maths with LongLong / Floating numbers

    If the issue is just the need to do some mass computation more quickly why not just write a static DLL in C and invoke that from your VB6 program?
  31. Replies
    530
    Views
    16,607

    Re: The US fragile democracy Exposed

    Most of that was framed to get a reaction. But many of the reactions seem to devolve into derangement, and entirely miss:



    If there is such a labor glut that the market can take advantage of...
  32. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    I was hoping that there might be some "secret format" used by StdPicture/IPicture to wrap a multiimage icon from an ICO file. But I tested OleLoadPicture() with an ICO file and it merely loads a...
  33. Replies
    7
    Views
    466

    Re: Simple NAS Appliances

    BTW: Many recent routers have a USB port that can accept a hard drive as well as support for sharing. Often these provide SMB file sharing, FTP on older devices, DLNA media sharing, and sometimes...
  34. Re: 3031 'Not a valid password' when compiled, works in IDE

    The "password" is probably a share-level password on the MDB. Few users seem to even be aware of Jet user-level security and database object permissions.

    We don't know what's going on because we...
  35. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    I tested at 175% DPI. Sees to work fine after adding a GDI Scaling node to the manifest ("System (enhanced)" scaling appcompat feature in Windows 10 1703 Creator's Update Redstone 2 March 2017, and...
  36. Replies
    530
    Views
    16,607

    Re: The US fragile democracy Exposed

    Low skilled, low end, temporary and part-time high schooler joblets were never meant to provide a living wage. What you seem to be after is some Slacker's Paradise at the expense of every one else....
  37. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    The problem is that SM_CXSMICON returns 24 at 150% DPI, etc.
  38. Replies
    530
    Views
    16,607

    Re: The US fragile democracy Exposed

    Yeah. Gotta love that thriving Windows Phone market, eh? Oh wait, that isn't a thing, is it?

    Too bad they trashed their lead and went .Net and shot themselves firmly in both feet.
  39. Replies
    530
    Views
    16,607

    Re: The US fragile democracy Exposed

    So not only would a lot of small business have to close or severely reduce staffing and hours, making it harder to compete will turn even more of the economy over to large corporate interests, and...
  40. Re: Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

    Size was less of an issue before High DPI. If you tried to include every size ever needed your ICO files get pretty darned big.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width