Search:
Type: Posts; User: fafalone
Search:
Search took 0.08 seconds; generated 22 minute(s) ago.
-
Did you save it in the property bag properly? You can't just reference another file and have it automatically load.
-
There is an IPicture interface but it's hidden and like the other interfaces in stdole2.tlb, VB6 restricts what you can do with it.
Here it wouldn't matter anyway-- the default definition of...
-
1) That mess is part of why VB6/VBA don't allow you to use Implements on interfaces that inherit from anything besides IDispatch or IUnknown, and it handles those two under the hood. In twinBASIC...
-
I would check the behavior on Win7 and 8 too because even though those APIs and interfaces are supported, I'm not sure if they had long path name support prior to 10. Of course it would be like XP...
-
Unfortunately SHCreateShellItemArrayFromDataObject, IEnumShellItems, and IShellItemArray are only available on Vista+, so it would work on Windows 7, but not XP. You could do something similar to get...
-
It's about as similar to VB6 as VB.NET is, so yes, entirely different.
And you could have just conceded the point instead of make ridiculous claims like a "professional" such as yourself can write...
-
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_...
-
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...
-
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...
-
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...
-
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,...
-
Yes I read somewhere that by Windows 10, IShellItem could support long path names.
-
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.
-
Have you tried the method in post #2?
-
GdipCreateBitmapFromResource
Or you can load them and get an HICON or HBITMAP... GdipCreateBitmapFromHICON, GdipCreateBitmapFromHBITMAP.
-
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...
-
Why learn FreeBasic when twinBASIC supports standard DLLs from existing VB6 code? :wave:
-
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 ...
-
You can pass a ByVal 8 bytes to As Any? And it puts them all on the stack?
-
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...
-
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,...
-
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...
-
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...
-
https://github.com/fafalone/LinebreakRepair
Need to add .dsr to the extensions list if you're running it on an addin.
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
My UserNotification2 sample with the oleexp COM interfaces is still working normally for me on Windows 10.
-
How are you setting it? Probably getting caught up with ANSI/Unicode issues.
-
Have you still not downloaded the SDK to check the definitions?
typedef struct _NOTIFYICONDATAW {
DWORD cbSize;
HWND hWnd;
UINT uID;
UINT uFlags;
UINT uCallbackMessage;...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|