dcsimg

Search:

Type: Posts; User: fafalone

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Version 6.5 Released!

    This version has a number of small behavior and performance improvements, adds the ability to rename all drive types as well as portable devices, and fixes the bug where the...
  2. [VB6] Intro to the Windows Imaging Component (WIC): Scale and convert to JPG or PNG

    https://i.imgur.com/GCjbQwT.jpg
    Windows Imaging Component Demo

    Intro
    The Windows Imaging Component has been included in Windows since Vista, but there's been no easy way to use it from VB, not...
  3. Is the MSXML 6.0 Typelib (in msxml6.dll) VB6-compatible?

    I poked through it a bit and didn't see any unsupported types or pointer types, but thought someone might know for sure?

    Going to need it and would be great if it could just be referenced directly...
  4. Re: PictureBox not displaying module level image if drawn from different sub (bizarre

    Awesome that was it.

    The Picture1.Cls and/or Picture1.Refresh calls I made to clear/show changed the hDC and I was using the hDC value I stored in mHDC from OpenFile rather than having it passed...
  5. [RESOLVED] PictureBox not displaying module level image if drawn from different sub (bizarre)

    Working on Windows Imaging Component interfaces, and I set up a picture to be drawn in a class-level object, and all objects used in this process are also class level.

    The problem can be summed...
  6. Re: OleSetClipboard to place text in Clipboard.

    See this project, which covers creating such a data object and both setting it to the clipboard and dragging it to other apps (since both the clipboard and dragdrop use the same system). There's no...
  7. Re: Anyone familiar with Windows Imaging Component, or odd IDL pointer types in gener

    I thought it was wrong but was trying a bunch of other stuff when the right way, which is how I did it with countless others, wasn't working before I came up with the memory access theory (you...
  8. Re: Anyone familiar with Windows Imaging Component, or odd IDL pointer types in gener

    @LaVolpe - passing zero causes an app crash, as does passing a pointer to a RECT with 0,0,0,0. Or a rect with 0,0,originalwidth,originalheight. This seems like an even bigger problem. pvImageBits is...
  9. Re: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

    Wow I have no idea how that version got the names mixed up. The mTDSample.bas included in the zip is the only module you need; you can just add that or re-download it, I updated it.

    In the vbp it...
  10. Replies
    7
    Views
    255

    Re: Centering text in a MsgBox

    For XP there's no getting around rolling your own. Not that difficult to make a form look like a message box.
  11. Re: Anyone familiar with Windows Imaging Component, or odd IDL pointer types in gener

    Full code is a class,

    Option Explicit

    Private mFile As String
    Private mWidth As Long, mHeight As Long
    Private mFrame As Long, mFrameCt As Long
    Private mLoaded As Boolean

    Private pFact As...
  12. Anyone familiar with Windows Imaging Component, or odd IDL pointer types in general?

    So I'm trying to get this sample working in VB. All goes good to start; can open the image and get width/height, but the trouble comes with the last call to render it.

    It's failing with 'Invalid...
  13. Re: [RESOLVED] Can The Size Of Zip File Attachments Be Increased?

    Wow I was just about to come ask for this too since the upcoming version of my TLB is set to be just over 500k with just the bare minimum of things I didn't want to separate.

    Thanks guys....
  14. Replies
    1
    Views
    134

    Re: Change USB device label?

    Well DAMN it's excessively complicated but working, I can't believe I pulled this off


    Public Sub dbg_Device()
    Dim pMgr As PortableDeviceManager
    Set pMgr = New PortableDeviceManager
    Dim nDev...
  15. Replies
    1
    Views
    134

    [RESOLVED] Change USB device label?

    So to rename things in 'Computer'/'This PC' you can't just use the normal rename command... changing anything with a drive letter is fine, I've implementing renaming those using SetVolumeLabel... but...
  16. Re: [RESOLVED] FYI: StdFont scaling for DPI awareness

    Rounding up was better than not rounding up but not as good as the new way.

    e.g. the target size--the font size applied to the VB controls after .SetRatio, would be equivalent to -17, then...
  17. Re: FYI: StdFont scaling for DPI awareness

    Wait lfHeight is pixels, not 'point size'?

    I was taking the StdFont, already scaled by the SetRatio call you posted, and
    .LFHeight = -MulDiv(CLng(CrRoundUp(Font.SIZE)),...
  18. Re: Virtual ListView - Show Subitem Text in TileView

    IID_PPV_ARGS is just a language feature that automatically looks up the IID for whatever interface you've passed it and fills in the argument for it. So if you've got a method with riid As UUID, ppv...
  19. Re: Virtual ListView - Show Subitem Text in TileView

    I got it so execution doesn't stop; it returns from all the calls on it, but then just doesn't display anything (even the text of the listitem in the Name column doesn't show up) and eventually...
  20. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Critical Bug Update

    Version 6.4.1 Released
    FileExecute event was not being raised in almost all circumstances.

    In the last version, I eliminated an event raise that triggered it on every...
  21. Replies
    27
    Views
    3,525

    Re: VB6 - updating vhGrid 1.7

    lol thanks :afrog:
  22. Re: Virtual ListView - Show Subitem Text in TileView

    I've got the GetPropW calls working; it is indeed meant for the hWnd

    GetPropW(hLVVG, StrPtr("#43281")) returns 49154
    then GetAtomNameW valueSubAppName, ByVal StrPtr(pSubAppName), 300& returns...
  23. Re: [RESOLVED] delete all files and subfolders

    Warn people what could happen if they aren't careful, don't refuse to tell people about things seriously guys
  24. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Version 6.4 Released!
    IMPORTANT: This version requires you to update your oleexp.tlb version to 4.61 released today (October 3rd, 2019).

    Unfortunately there were some major issues with the new...
  25. Re: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

    Thanks for letting me know, fix will be included in the next release.
  26. Re: [VB6] API Open With Dialog with enhanced functionality

    What you mean the icon displayed for a document in the dialog? Yes, there's many, many different ways to get the icon for a file type, search for e.g. SHGetFileInfo, you can pass just an extension...
  27. Re: FYI: StdFont scaling for DPI awareness

    This provides better scaling on my VB controls than I was using: because it uses fractional sizes, i.e. was setting size to 8.25

    Is there any way to set a non-integer font size on an API-created...
  28. Re: [RESOLVED] Suddenly lost ability to create IShellItem or pidl for Devices and Pri

    Everything in this thread applies identically in Windows 7 and Windows 10; the can't resolve w/o 'shell:', the full parsing path return, and the GUID that is referenced in this thread itself.

    But...
  29. Re: Suddenly lost ability to create IShellItem or pidl for Devices and Printers??

    Just in case anyone else ever has this problem and finds this thread, the solution is to prepend 'shell:'

    shell:::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{A8A91A66-3A7D-4424-8D24-04E180695C7A}...
  30. Thread: AllAPI

    by fafalone
    Replies
    4
    Views
    291

    Re: AllAPI

    The Way Back Machine seems to have it; tried some random APIs and every one checked was there.
  31. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Version 6.3 Released!

    https://i.imgur.com/2c8dSkh.jpg

    IMPORTANT: This version requires you to update your oleexp.tlb version to v4.6 or higher.

    The main update in 6.3 is a new search system...
  32. Re: [VB6] Using Structured Queries to conduct a Windows Search by any property

    It's not in the Demo project but if you wanted to just get a list of all the results, you'd pass siResultsItem to:

    Private Function PrintAllResults(psi As IShellItem)
    Dim lpFile As Long
    Dim...
  33. [VB6] Using Structured Queries to conduct a Windows Search by any property

    Structured Queries (ICondition) and the SearchFolderItemFactory
    https://i.imgur.com/oeJTSsl.jpghttps://i.imgur.com/YJz7XiU.jpg

    IMPORTANT: You need the new version of oleexp.tlb released on...
  34. Re: How to sort file names exactly as Windows Explorer does

    StrCmpLogicalW doesn't just produce the same results; it *is* the API that Explorer calls to sort its strings; back a while ago I had put an API logger on Explorer to see.
  35. Re: Suddenly lost ability to create IShellItem or pidl for Devices and Printers??

    I don't update my Win7 desktop because of all the backported spyware and 'Upgrade to 10!' spam...

    But just checked my Win10 laptop though and that doesn't seem to be working right either.......
  36. [RESOLVED] Suddenly lost ability to create IShellItem or pidl for Devices and Printers??

    So I was messing around with my shell browser project, and in my bookmarked folders was the entry for 'Devices and Printers' that I could swear up and down I had been using a while back to open this...
  37. Re: [VB6] Adding Custom Tasks and Items to the Jump List (Taskbar Right-click)

    Still need to figure out why Firefox would work, but glad there's at least a way to get it completely working. Thanks for finding that setting.
  38. Re: [VB6] Adding Custom Tasks and Items to the Jump List (Taskbar Right-click)

    Compile and pin the demo program --- Windows remembers the commands, and they'll appear for that too.
    (They're saved as a file in an unlisted folder invisible in Explorer only accessible by manually...
  39. Re: [VB6] Adding Custom Tasks and Items to the Jump List (Taskbar Right-click)

    That seems to be an Access Denied error... which seems.. odd.. if it allows tasks, which aren't really different. Does it work running as administrator? Is your Firefox running as admin? It doesn't...
  40. Re: How to watch file changes *and get process id, including when no timestamp change

    You actually can't link it though. When you get a list of processes and look at their file handles, only currently open files are shown. Like open a text file in Notepad, then use a utility that...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width