Search:

Type: Posts; User: fafalone

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: [VB6] Register any control as a drop target that shows the Explorer drag image

    It's meant as an alternative to the DragQueryFiles method. First, the zip download containing oleexp.tlb comes with a file called mIID.bas, add that (Project menu->Add File...) so all the IID_...
  2. Re: Enum items in Devices and Printers possible on x64?

    Oh by the way, looks like I never posted the solution to the original question. While there's no way to enumerate 64bit control panel items from a 32bit program (although ucShellBrowse is now...
  3. Did DragDrop UIAccess requirements get raised?

    I was disappointed to find that simply enabling UIAccess on a token wasn't enough to get cross-elevation drag drop to work, but everything I've read on here and elsewhere suggested running from...
  4. Re: [VB6] Register any control as a drop target that shows the Explorer drag image

    Bad news; I was able to start programs with UIAccess enabled on the token, but it doesn't bypass the trusted location and signature requirements :(

    Edit: Even more bad news, apparently self-signed...
  5. Re: [VB6] Register any control as a drop target that shows the Explorer drag image

    The official way to do it is enable UIAccess in the manifest. In addition to that, your exe must be signed and reside in a trusted location like Program Files.

    I was actually looking at another,...
  6. Re: [VB6] Register any control as a drop target that shows the Explorer drag image

    Yes I read somewhere that by Windows 10, IShellItem could support long path names.
  7. Re: How to load a .WEBP image into a PictureBox using WIC?

    What do you mean crashes hard; and with which method? Both my typelib and Victor Bravo's class should just return an error HRESULT, not hard crash.
  8. Re: [VB6] Register any control as a drop target that shows the Explorer drag image

    Have you tried the method in post #2?
  9. Re: Use GDIPlus to display image from a resource file?

    GdipCreateBitmapFromResource

    Or you can load them and get an HICON or HBITMAP... GdipCreateBitmapFromHICON, GdipCreateBitmapFromHBITMAP.
  10. Replies
    26
    Views
    908

    Re: MakeDLL problem

    Your "professional" standpoint is that you should pick an entirely different language, inevitably poorly implement your code in it because you won't have any experience, then use that, because this...
  11. Replies
    26
    Views
    908

    Re: MakeDLL problem

    Why learn FreeBasic when twinBASIC supports standard DLLs from existing VB6 code? :wave:
  12. Replies
    4
    Views
    296

    Re: WIN 10 COntrol Panel

    You can list the applets and some go deeper.

    It's a problem because 32bit, though.

    Grab my ucShellBrowse control and see where you can go; give the 64bit tB version a try to see the difference ...
  13. Re: Typelib translation: is in,out BYTE somevar[8] a pointer?

    You can pass a ByVal 8 bytes to As Any? And it puts them all on the stack?
  14. Typelib translation: is in,out BYTE somevar[8] a pointer?

    If I saw this in a UDT I know the answer is no, and even if I saw it as plain in; but since I'm always getting errors about out parameters needing to be pointers...

    What's the correct...
  15. Re: how to dropfile from explorer to chrome/ie file area?

    I need to do more research to figure out if the pointer can be used as is or needs something like CoMarshalInterface, but it starts with getting an IDropTarget pointer from GetPropW(hwnd,...
  16. Thread: TwinBasic

    by fafalone
    Replies
    1,818
    Views
    890,124

    Re: TwinBasic

    Setting aside WebView; I don't think ParamArray can be used in the way you're trying. The values are passed on the stack; it's fixed at runtime. You can pass an array as a single argument inside a...
  17. Re: SHBrowseForFolder doesn't show folders in devices

    The Windows shell (Explorer) represents items as an IShellFolder and item id list. IShellItem wraps these and allows access to more properties and methods.

    What exactly are you trying to do? Even...
  18. Replies
    26
    Views
    908

    Re: MakeDLL problem

    https://github.com/fafalone/LinebreakRepair

    Need to add .dsr to the extensions list if you're running it on an addin.
  19. Re: SHBrowseForFolder doesn't show folders in devices

    IFileOpenDialog in FOS_PICKFOLDERS mode can handle it I believe (as can my ucShellTree [VB6 version, twinBASIC version] and ucExplorerTree [twinBASIC only; can compile ocx for VB6] controls); but...
  20. Replies
    26
    Views
    908

    Re: MakeDLL problem

    What exactly is happening? And what are you looking for to compare; do you need the original source files? Might be some arcane registry issue; compile with a higher version number and no...
  21. Replies
    21
    Views
    761

    Re: Sudden Icon Problemos..

    10000 examples of using lstrcpyW on this site, we need to explain what you're doing wrong twice because you won't look at them?

    You didn't correct all of the issues I already pointed out. Or let...
  22. Replies
    36
    Views
    1,755

    Re: Legality and future of VB6

    Yeah RadBasic has been working on that for 3 years and still is at the 'Hello World' phase; can barely manage the most trivially simple things, can't even make API calls yet, and last I checked can't...
  23. Re: Using IUserNotification Interface to show system-tray balloon

    That wasn't an issue on Windows 7?

    Not sure how to handle it; nothing is working. Made the variables module level, set IQueryContinue to cancel it then Sleep 2*polling interval, and still it hangs...
  24. Replies
    21
    Views
    761

    Re: Sudden Icon Problemos..

    lstrcpy expects a pointer to where it's copying to passed ByVal; you're passing 0. And then if you changed it to VarPtr, you're copying the string into the tail end of the arrays and overwriting the...
  25. Re: Using IUserNotification Interface to show system-tray balloon

    My UserNotification2 sample with the oleexp COM interfaces is still working normally for me on Windows 10.
  26. Replies
    21
    Views
    761

    Re: Sudden Icon Problemos..

    How are you setting it? Probably getting caught up with ANSI/Unicode issues.
  27. Replies
    21
    Views
    761

    Re: Sudden Icon Problemos..

    Have you still not downloaded the SDK to check the definitions?


    typedef struct _NOTIFYICONDATAW {
    DWORD cbSize;
    HWND hWnd;
    UINT uID;
    UINT uFlags;
    UINT uCallbackMessage;...
  28. Replies
    21
    Views
    761

    Re: Sudden Icon Problemos..

    No idea how it showed up at all.

    NOTIFYICONDATA is defined wrong (Long can't be substituted for fixed-length C-style arrays), so everything starting with szTip is corrupt; the callback message is...
  29. Replies
    36
    Views
    1,755

    Re: Legality and future of VB6

    Conversion wasn't simple at all unless you had a dead-simple app using no API calls. There was no VarPtr etc! It was, and still is, an entirely different language built on an entirely different...
  30. [VB6, twinBASIC] Code snippet: Toggle airplane mode

    https://www.vbforums.com/images/ieimages/2023/12/26.jpg

    Newer versions of Windows have an 'Airplane mode' toggle like cell phones that turns off all the radios, which on a desktop might only be...
  31. Replies
    36
    Views
    1,755

    Re: Legality and future of VB6

    MS doesn't go after individuals, but if you're a business, and they come for a license audit, the issue is you'd get hit for VB6 too. I'm not sure if they'd initiate an audit over it though unless...
  32. Re: [VB6] Modern Shell Interface Type Library - oleexp.tlb

    Thanks :)

    HRESULT... In C/C++ there's no automatic error handling... an interface method informs you an error occurred by returning a negative HRESULT. VB consumes this and hides it for its...
  33. Re: [VB6] Modern Shell Interface Type Library - oleexp.tlb

    I apologize to the handful of people who've already downloaded the new 6.5 release, I forgot to include the new radio management APIs in the build list, and the source file was missing the...
  34. Re: [VB6] Modern Shell Interface Type Library - oleexp.tlb

    Project Updated - Version 6.5

    This brings oleexp.tlb up to date interface-wise with the latest Windows Development Library release, which I posted earlier today, adding a large expansion of...
  35. Re: SHAddToRecentDocs API do unexpected stuff

    Why do you need to mess with SHChangeNotify(Register) to know if a file exists?

    Just check it yourself before calling the add to recent API.
  36. Re: I have an urge to FULLY remake the oleexp.tlb by Fafalone

    That's correct. You put anything other than HRESULT there, or if you modify the definition of HRESULT, VB6 will not let you use Implements interfaceName. tB won't either, but that will change some...
  37. Re: I have an urge to FULLY remake the oleexp.tlb by Fafalone

    No, didn't you read my last comment? :wave:
  38. Re: I have an urge to FULLY remake the oleexp.tlb by Fafalone

    I'd tell you where to find where HRESULT is defined but you wouldn't listen when I strongly advised against editing that file and then you'd spend the next week asking questions to fix everything you...
  39. Re: Can I use VB6 User Controls in TwinBasic?

    Yes you can use them. Both .ctl and .ocx.

    Right now to import them you need to import a VBP project file that contains it (any program using it, or the VBP you use for compiling to ocx-- Forms are...
  40. Replies
    3
    Views
    320

    Re: What is IZombie for kind of Interface?

    It grays out a usercontrol, like when you view a form with the UC on it while the UC designer is open.
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width