Search:

Type: Posts; User: Ellis Dee

Page 1 of 13 1 2 3 4

Search: Search took 0.74 seconds.

  1. Re: Instantiate internal class object with name in string

    You can reference controls by name. For example, a textbox named Text1 can be referenced in code by name like this:

    FormName("Text1").Text = "Hello, world!"

    Not sure if that helps or not.
  2. Re: VB6 GameMenu (like a start menu) with Joystick / Xbox Controller support

    ...and of course I forgot to apply the joystick settings from the settings file to the joystick usercontrol. Program reads them, but then doesn't use them. Doh! I've edited the attachment in the OP...
  3. VB6 GameMenu (like a start menu) with Joystick / Xbox Controller support

    When exiting one controller game and launching another, it's annoying to have to reach for the mouse in between. Here's a game menu the joystick can control. Works flawlessly with my brand new xbox...
  4. Re: VB6: Windows 10 Known Folders / SHGetKnownFolderPath

    Ah, fair enough. I was confused by Randy's use of lstrlenW vs dilettante's lstrlen, but I think it's just because Randy uses a byte array where dilettante uses a string directly.

    Normally when I...
  5. Re: VB6: Windows 10 Known Folders / SHGetKnownFolderPath

    Agreed. Which is exactly what I did, and why I consider this module easy to use.

    You know, your condescending schtick wears very thin very quickly.
  6. Re: VB6: Windows 10 Known Folders / SHGetKnownFolderPath

    Got any links? I searched high and low but never found any on these forums.

    EDIT: I do like the core logic of yours better. It's a touch cleaner and tighter. But I think an enumeration of the...
  7. Re: VB6: Windows 10 Known Folders / SHGetKnownFolderPath

    For sure, if you need extended interaction with known folders (like writing your own custom-made Explorer replacement -- which might not be a bad idea in terms of privacy) then that's an excellent...
  8. Re: Attaching files doesn't appear to work in Firefox

    Trying it just now, it brings up the same thing as that toolbar button, so the same issues.

    I did figure out how to switch the attachment style. Using Edge (so the popup works) I selected the...
  9. Re: Attaching files doesn't appear to work in Firefox

    Hrmph.

    My Firefox is version 44.0.2, and sadly the About dialog says it's up to date.
  10. Re: Attaching files doesn't appear to work in Firefox

    Adding an exception for vbforums.com doesn't appear to do anything. The attachment dialog still replaces the current page, which is the forum reply I'm trying to attach to. Same results as the video...
  11. Re: Attaching files doesn't appear to work in Firefox

    Here's video of how it fails for me in Firefox: (The little red circles at the mouse are me clicking. The buttons, they do nothing! hehheh.)


    https://www.youtube.com/watch?v=U2xamhQ4FBA
  12. Re: Attaching files doesn't appear to work in Firefox

    Well, hmmm. I definitely prefer your old-style download interface (showing at the bottom of the post with a download count) to the inline version I ended up using. How do I do it that way instead?
    ...
  13. Re: VB6: Windows 10 Known Folders / SHGetKnownFolderPath

    Finally figured out how to attach the module to the OP. (It wouldn't work in Firefox; I was reduced to use Microsoft Edge. *shudder*)
  14. Re: FolderView: Enhance Folder View "Templates" in Windows 10

    For this project I'm going to need to know the location of all Windows 10 special folders. That way I can find the appropriate shellbags when, say, you open Documents, then in the left side panel you...
  15. Attaching files doesn't appear to work in Firefox

    I spent a long time trying to attach a bas module to a post in the CodeBank, but it never worked. I was using Firefox, and even after disabling all add-ons it still never worked.

    Finally in...
  16. VB6: Windows 10 Known Folders / SHGetKnownFolderPath

    In Windows XP, the recommended practice to find special folders was to call SHGetFolderPath(), but this was deprecated starting in Windows Vista. From Vista on, we're supposed to use...
  17. Replies
    2
    Views
    368

    Re: Day Of a date

    I wouldn't put that -1 outside the function call. Technically, I wouldn't use it at all:

    Last = DateSerial(Year(myDate), Month(myDate) + 1, 0)
  18. Re: FolderView: Enhance Folder View "Templates" in Windows 10

    Ran across another forensics paper that may be of use at some point:

    PDF: Windows ShellBag Forensics in Depth
  19. Re: FolderView: Enhance Folder View "Templates" in Windows 10

    Found a link on these forums from ten years ago to:

    Easy-to-use Registry Editing Class

    Testing just now, this properly reads binary data from some test keys I added to the registry. I copied...
  20. Re: FolderView: Enhance Folder View "Templates" in Windows 10

    Apparently my (very old) registry library doesn't read/write binary values properly. (Or at all.) So now I'm trying to figure out how to get that working.

    Anyone know how to read/write binary...
  21. Re: FolderView: Enhance Folder View "Templates" in Windows 10

    Aha, I see the human-readable path names under the BagMRU key, not the Bags key. Not for CharacterBuilderLite; I haven't figured out how to connect the MRU list to the slot numbers when just given a...
  22. Re: FolderView: Enhance Folder View "Templates" in Windows 10

    My first question is how to translate these strings. For a test, I used the linked ShellBagsView utility to locate a longish folder name for one of my apps: CharacterBuilderLite. ShellBagsView says...
  23. Initial Research

    Folder View Settings - Back Up and Restore in Windows offers a BAT file for backing up and restoring your folder settings. The backup portion of this BAT file saves the following registry entries:
    ...
  24. User Interface

    I envision the following features:

    Templates:
    Save the current folder's view as a custom template, letting the user name it whatever. These custom templates will be saved to...
  25. Context Menu

    For a proof-of-concept, I added an "open command prompt here" item to that context menu:

    137789

    This opens a command prompt to whatever folder is open when you right-click the whitespace on the...
  26. FolderView: Enhance Folder View "Templates" in Windows 10

    Something that bugs me about Windows 10 is how few Folder View Templates there are to choose from:

    137785

    So I'm rolling up my sleeves and trying to figure out how to enhance/replace this...
  27. Replies
    8
    Views
    1,178

    Re: Disk Activity Monitor for multiple disks

    Actually, now that I'm running my backup in preparation for adding the second hard drive I'm noticing that my disk monitor is showing writes to the flash drive. And I kind of like it. Given that, I...
  28. Re: Array - Striiping ClipBoard into lines; removing blanks

    For the single-dimension version, Instr, Replace and Split should handle everything, plus it's relatively fast and efficient in terms of execution speed. Freehand code:Private Function...
  29. Replies
    8
    Views
    1,178

    Re: Disk Activity Monitor for multiple disks

    This was my first choice, but after throwing together some mockups I don't think there's enough width on split columns to be readily seen at a glance.

    Here's a mockup of the split columns, blue...
  30. Replies
    8
    Views
    1,178

    Re: Disk Activity Monitor for multiple disks

    In the meantime, anyone have any ideas/suggestions for how to show activity on two drives in a single icon?

    The most obvious is splitting the indicator vertically, so the left side (currently...
  31. Replies
    8
    Views
    1,178

    Re: Disk Activity Monitor for multiple disks

    Cool, that's at least a place to start. Thanks much.

    I'll post back here with follow-up questions and/or results once I get my second drive installed.

    For the class itself, I'm thinking...
  32. Replies
    8
    Views
    1,178

    Disk Activity Monitor for multiple disks

    I'm adding a second hard drive -- woohoo! -- and was wondering how to update my hard drive activity monitor to differentiate activity between the two physical drives.

    Looking at the code I use for...
  33. Replies
    21
    Views
    39,693

    Re: "continue" in vb6?

    Mostly to avoid the GoTo, but it also enforces proper structure. For example, you could GoTo out of a With block, but you can't structure a Do loop that jumps from inside to outside of a With block....
  34. Replies
    21
    Views
    39,693

    Re: "continue" in vb6?

    I find myself wanting a Continue statement way more than you'd expect. I tend to solve this problem with Do loops, almost solely to avoid the dreaded GoTo.


    For i = First to Last
    Do
    ...
  35. Replies
    10
    Views
    1,416

    Re: Many small bitmaps

    Excellent points.

    I played around with one of those just to get a feel for it. Sprite sheets do indeed look like the simplest, cleanest way to go. And while they still don't crunch down small...
  36. Replies
    10
    Views
    1,416

    Re: Many small bitmaps

    That's exactly what they're considering, yes.

    This seems weird and inelegant to me, which is why I started this thread. But I don't know C++; if there's really no elegant way to bundle graphical...
  37. Replies
    10
    Views
    1,416

    Re: Many small bitmaps

    I just now saved one of the bitmaps as a png file (using Paint) and then ran it through pngoptimizer.

    Original bmp: 5238 bytes
    "Clean" png: 3072 bytes

    That's nice, but not nearly enough to...
  38. Replies
    10
    Views
    1,416

    Re: Many small bitmaps

    From what I can tell, C++ "resource files" are stuffed into the end of the exe itself.

    Stuffing 2800 bitmaps into an exe file would result in a 30mb exe, which doesn't seem workable. Is there a...
  39. Replies
    10
    Views
    1,416

    Many small bitmaps

    Hypothetically, if I had a C++ program that uses 3,000 different small bitmaps (mostly 32x32, but maybe a hundred or two are bigger than that) that had a total size of 30MB combined, is there some...
  40. Replies
    40
    Views
    2,554

    Re: Daylight Saving nightmare

    Okay, I figured out where we got our wires crossed.

    You're saying my program doesn't need to change the archive bit, robocopy handles it.
    I'm saying that if my program calls robocopy, I consider...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width