dcsimg

Search:

Type: Posts; User: fafalone

Page 1 of 13 1 2 3 4

Search: Search took 0.43 seconds; generated 20 minute(s) ago.

  1. Re: VB6 - QUESTION - Is it possible to add tooltiptext to individual items in a treev

    If your TreeView is subclassed you can have it displayed automatically by responding to TVN_GETINFOTIP

    https://i.imgur.com/UjHuOoB.jpg

    (Note you'll want to use TVN_GETINFOTIPA if you're not...
  2. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    1) This is by design. It restores focus to the file list; but if no item previously had focus, it won't focus a specific item because the user has not picked a file to be focused. I could write a...
  3. Re: [VB6] Modern Shell Interface Type Library - oleexp.tlb

    Well in this particular case, that's how it was defined in the original olelib that this project expanded.

    But more generally, VB doesn't support user-defined structures with unions, so you can't...
  4. Re: A program that searches within all files in a directory for a specific string

    Yes the class I linked to also will search any file name matches for a string in the contents (the SpecificWord property); if you didn't want to narrow it down by name at all you'd just search *.*...
  5. Re: A program that searches within all files in a directory for a specific string

    Leandro Ascierto's search class does this:
    http://leandroascierto.com/blog/clase-para-buscar/

    The code itself is English-based so don't worry that the article isn't.

    It doesn't support Unicode...
  6. Re: How can I display the thumbnail of a video file in a Picturebox?

    Instead of Picture1.Width and Picture1.Height, pass Picture1.ScaleWidth and Picture1.ScaleHeight
  7. Re: [VB6] ucShellTree: Full-featured Shell Tree UserControl

    Project Updated
    ucShellTree v2.12
    This is a minor update to correct the Windows 10 Virtual Device Navigation Bug (Phones, cameras, etc, couldn't be browsed past the root, because of an API bug)....
  8. Replies
    4
    Views
    353

    Re: New Windows 10 developments and vb6 apps

    There's wayyyyy too much legacy code out there for them to stop supporting Win32 apps; and the VB6 runtime is officially supported for the lifetime of Win10.
  9. Re: How can I display the thumbnail of a video file in a Picturebox?

    Did you change the picturebox's AutoRedraw property to True? Probably want to change ScaleMode to vbPixel as well. These are on the design-time Properties box like where the Name is.


    And also...
  10. Re: How can I display the thumbnail of a video file in a Picturebox?

    It will probably depend more on the size and format of the video more than anything else.

    Explorer caches thumbnails, so if the cached thumbnail is available the...
  11. Re: [RESOLVED] Using DIR function with multiple specific file types

    I ran that code on a folder 3 levels deep printing all names, didn't get . or .. in the list.
  12. Re: [RESOLVED] Using DIR function with multiple specific file types

    Oops yeah Dir just returns the filename, been a looooooong time since I enumerated files without some fancy way lol
  13. Re: [RESOLVED] Using DIR function with multiple specific file types

    Right(File, Len(File) - InStrRev(File, ""))

    That will return a blank string, it should be Right(File, Len(File) - InStrRev(File, "\"))

    **I presume that's what you actually posted but it seems...
  14. Replies
    25
    Views
    757

    Re: Change icon for OLE_DRAG

    The cursor is still present; not changed-- see my pictures in post #3... we're using a shell interface explicitly designed to set a drag icon. I suppose if they're rendered by the same subsystem...
  15. Replies
    25
    Views
    757

    Re: Change icon for OLE_DRAG

    Actually I just noticed... the routine I've been using isn't identical to yours after all. Instead of CreateCompatibleBitmap, I've got a function called Create32BitHbitmap that the hDC from...
  16. Re: Using DIR function with multiple specific file types

    @wqweto yes MSDN lists it as available in Win2k pro and Win2k server.
  17. Replies
    25
    Views
    757

    Re: Change icon for OLE_DRAG

    If it's looking different than Explorer (I'd recommend testing those specific icons), then it's gotta be a problem with the conversion, but I'm really clueless when it comes to drawing apis; though I...
  18. Replies
    12
    Views
    949

    Re: [vb6] Thunks - A new breed

    Yeah it's a little crazy, Sub+Function+Property totals 797 right now :wave:

    LaVolpe, I'd even suggest retaining the default of 512; I've seen a number of UserControls that would exceed 256 (UC's...
  19. Replies
    12
    Views
    949

    Re: [vb6] Thunks - A new breed

    The joke was that this exact problem happened, because my shell browser UC has over 512 methods just in the .ctl file :eek2:
  20. Replies
    25
    Views
    757

    Re: Change icon for OLE_DRAG

    You mean it's making pixels transparent that are opaque in the icon, or just that the whole icon looks ghosted? If it's the latter, that's how it's supposed to work, as you see in Explorer:...
  21. Replies
    12
    Views
    949

    Re: [vb6] Thunks - A new breed

    Baby you're singing my song :afrog:



    What? That's crazy talk, who would ever have a class with more than 256 methods??? Or even more impossible, needing to up it above the 512 limit that was in...
  22. Re: Using DIR function with multiple specific file types

    The PathMatchSpec API supports multiple filters, passed as semicolon delimited e.g. *.jpg;*.gif;*.bmp etc., I think that's a much better option than the Like statement when you're going beyond a...
  23. Re: Your first BASIC computer? Has your software survived?

    Well some other stuff was making me feel old today, but this thread made me feel young (I'm in my mid 30s) :)

    I didn't start with BASIC until it was on VB3, just a little bit before VB4 came out....
  24. Replies
    25
    Views
    757

    Re: Change icon for OLE_DRAG

    Sorry I haven't been online for a while.

    The Demo project is showing how to use an HBITMAP as the drag image, and to get one of those (without a messy conversion), you'd really want to use...
  25. Replies
    8
    Views
    364

    Re: FIle Exists

    I ran the code and it works fine for me... are you sure the files you're checking exists? And do other APIs work, like PathFileExists?
  26. Re: [VB6] Modern Shell Interface Type Library - oleexp.tlb

    It's not defined as PROPVARIANT, it's defined as Variant, which should be used in place of PROPVARIANT, which never works right. Use VB's Variant type then PropVariantToVariant (to another VB...
  27. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Note: I sent you a PM with link to a .ctl version that implements all the below temp fixes.


    I believe I have found the bug responsible for #5. ImageList_Add returning 0 is valid and was not...
  28. Replies
    25
    Views
    757

    Re: Change icon for OLE_DRAG

    http://www.vbaccelerator.com/home/VB/Code/Controls/ImageList/Custom_Drag_Drop_Images_Using_ImageLists/article.html

    is the method I believe dilettante is referring to.

    Of course, we all know how...
  29. Re: How can I display the thumbnail of a video file in a Picturebox?

    You can also just use the Explorer thumbnail...
    (with oleexp.tlb, and mIID.bas or IID_IShellItemImageFactory otherwise defined)

    Private Function GetFileThumbnail(sFile As String, pidlFQ As Long,...
  30. Replies
    19
    Views
    794

    Re: [RESOLVED] Trying to implement IShellItem

    Just a heads up on SHCreateItemFromParsingName, as of Win10 it fails beyond the root path on device virtual paths (cell phones, cameras, etc). This caused me all manner of headaches after building...
  31. Re: Is it possible expand lenght of cell's string in API-ucListView 1.0?

    Unlikely, underneath it's just an API-created ListView, and MSDN lists that as the limit for ListView items:
  32. Replies
    19
    Views
    794

    Re: Trying to implement IShellItem

    Wouldn't it just be the standard ordinal for that interface, there's only that one call so 4, since while IShellItem implements IShellItemImageFactory, IShellItemImageFactory inherits directly from...
  33. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    1) Will take a look at it; a lot of focus issues are difficult if the ListView isn't already focused; this is easily fixable for UC's that only have a single focusable item, but I don't know how to...
  34. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Sorry about that. Just copy/paste the IsIDE function into the UserControl (somewhere before the last 13 procedures; the current last 13 must stay the last 13, but anywhere above those is fine).
    ...
  35. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    I meant was developing XP-compatible projects wasn't really my thing. Of course I'll send you Brad's projects.
  36. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    My project is a new generation of previous shell browsers, such as Brad Martinez's VBExplorer/EnumDeskVB, in order to demonstrate new capabilities only available on Windows Vista and above. It's not...
  37. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    1) Fair enough, it was mainly to keep track of things myself but I'll leave the old filenames for the final release.

    2) Finalizing it now, should update tonight.

    3) It's always a good idea to...
  38. Re: How to programmically open a file by an application

    If you're interested in a more robust solution for #2, see my project about Association Handlers;

    [VB6] List/Execute File Handlers: IAssocHandler and IAssocHandlerInvoker (Vista+)
    ...
  39. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Fixed.

    Sorry about that, no idea how that got changed between the test compiles and zipping it :blush:
  40. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    I'm attaching the most recent version of this control down here... there's some serious bugs that have been corrected, but a major navigation bug is looking like an even longer term fix since Windows...
Results 1 to 40 of 498
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width