Search:

Type: Posts; User: fafalone

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds; generated 21 minute(s) ago.

  1. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    Who knows what the actual why is. You have to be doing something pretty unusual for version lie to be desirable; but then, why should *everyone* have to worry about it instead of just the people who...
  2. Replies
    1
    Views
    81

    Re: vb6 install under win10.

    I think there's an option to clean up previous installations... "Clean system" on the extras tab.
  3. Replies
    19
    Views
    379

    Re: GUID/CLSID/UUID Comparison API?

    Unlike twinBASIC, VB6 isn't smart enough to tell YourProject.RECT and oleexp.RECT are the same.

    I don't know why you *must* be able to use an identical RECT that's declared within your project,...
  4. Replies
    19
    Views
    379

    Re: GUID/CLSID/UUID Comparison API?

    If you want to compare memory, use... CompareMemory.

    #If VBA7 Then
    Public Declare PtrSafe Function CompareMemory Lib "ntdll" Alias "RtlCompareMemory" (Source1 As Any, Source2 As Any, ByVal Length...
  5. Replies
    19
    Views
    379

    Re: GUID/CLSID/UUID Comparison API?

    The stdole.GUID type uses types unsupported by VB6. Shockingly, there's a reason for decisions like substituting a VB-compatible equivalent named 'UUID' instead.

    Public Declare Function...
  6. Replies
    19
    Views
    379

    Re: GUID/CLSID/UUID Comparison API?

    And 'As Any' wouldn't let you pass a string containing a GUID to IsEqualGUID, which requires an actual GUID/UUID/IID type.

    The IsEqualGUID in oleexp is the API declare; you can't put macros in...
  7. Replies
    19
    Views
    379

    Re: GUID/CLSID/UUID Comparison API?

    What's wrong with IsEqualGUID?

    There's a macro version but it's also an actual export, from ole32. Your definition is fine as-is.
  8. Thread: Truth Social

    by fafalone
    Replies
    26
    Views
    605

    Re: Truth Social

    Truth Social loses money, has very little revenue, and no viable path to profit. Why else would major financial interests want it at such exorbitant valuations other than to get lots of money to...
  9. Re: Error &H8002802B on ITypeInfo::GetDocumentation vtable call

    Unfortunately there's no oleexp for 64bit VBA, which is what Angel is using I suspect.

    And making one here I suspect would be extremely difficult, as this is a force-included interface by midl,...
  10. Replies
    9
    Views
    257

    Re: Degree Minit Second in Visual Basic

    @Elroy, did you also get a Surface tablet over an Android or iPad option just so you could run your VB6 stuff on it? :D

    I finally got to play with code for touch UIs, autorotation, and radios.
  11. Replies
    23
    Views
    540

    Re: [RESOLVED] Listview loop

    There's something to be said for learning while doing things that interest you... it's a lot more practical in VB6 than less beginner-friendly languages. I never formally sat down and learned the...
  12. Thread: Truth Social

    by fafalone
    Replies
    26
    Views
    605

    Re: Truth Social

    It's a vehicle for foreign investors, in this case China, to funnel Trump money. They're 'investing' not in the money pit of Truth Social, but in the favors they'll get if he wins the election.
    ...
  13. Replies
    6
    Views
    568

    Re: twinBASIC poll

    Well I've explained this before but will again... I don't feel Carles is approaching things honestly. His public posts are extremely misleading about the progress of RB, and you need to pay money to...
  14. Replies
    6
    Views
    568

    Re: twinBASIC poll

    This was just to test the new polling feature, not a serious poll lol,

    But yes, tell us, are you most excited about RADBasic, or my next project? :D


    You're always welcome to make threads in...
  15. Re: Curiosity: What version of VB6 IDE is this?

    That looks like the options for Visual C++ 6.0.
  16. Re: VBHeader struct: (VBHeader)Who can directly make a structure like this?

    If you can't even translate it I don't know what you're going to do with it.


    Public Type VBHeader_t
    Signature(0 To 3) As char '00H ???????????PEHEADER????signature?????????VB????"VB5!"...
  17. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    Good catch, thanks
  18. Replies
    23
    Views
    540

    Re: Listview loop

    Dim i As Long

    For i = 1 To 10
    ...
    Next
  19. Re: Getting the ball rolling. Which VB6 projects are you working on?

    All those widgets you make would be perfect for controls :D
  20. Re: Getting the ball rolling. Which VB6 projects are you working on?

    Today I finally finished a project I started to make a Control Panel Applet.

    Since tB supports x64 and standard DLLs natively I did it in that, but it's entirely possible to do this in VB6 if you...
  21. Re: Getting the ball rolling. Which VB6 projects are you working on?

    I've recently created a UserControl/ActiveX control that wraps INamespaceTreeExplorer in twinBASIC; I wanted to try out some recent improvements in tB's ability to create ocxs.

    ucExplorerTree...
  22. Re: SHCreateDefaultContextMenu vs Ordinary IContextMenu handling

    Just use the regular method.
  23. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    Yup this is my new standard now... I keep version info around and call ReadWindowsVersion on startup.


    Private bIsWinVistaOrGreater As Boolean
    Private bIsWin7OrGreater As Boolean
    ...
  24. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    I updated the post with an even easier method. I realized you don't even need the declares.


    Dim dwMajor As Long, dwMinor As Long, dwBuild As Long
    CopyMemory dwMajor, ByVal...
  25. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    Seems even weirder to me that the address is the same on both 32 and 64bit, but it works. The address is documented; there's Microsoft-written articles talking about it and the struct has an MSDN...
  26. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    I'm not seeing any issue... I compiled an exe in tB in LAA and it worked fine; were you seeing a problem with however you get VB6 to compile with that?
  27. [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DATA

    The simplest version APIs all lie unless you have a manifest. If you want to be sure you get the real version no matter what, there's various more complicated techniques. The one I had been using...
  28. Replies
    5
    Views
    356

    Re: vb6 under win10

    If you're talking about the VS6Installer tool on nuke.vbcorner.net, the author unfortunately passed away and the payments can no longer be made. Due to this situation I've uploaded a copy at...
  29. Re: Why doesn't ICommDlgBrowser work with IShellBrowser?

    Where does it say otherwise? The documentation is perfectly clear: "This interface is implemented only by the common file dialog boxes. "

    That means IFileDialog.
  30. Re: How to click a button in a window with VB 6.0?

    Depends on the type of button. Classic Win32 button, no problem. I started my VB life making AOL pr0ggi3s that click buttons and controlled other UI elements. But now? Lots of **** using that...
  31. Re: UxTheme.dll/Visual Styles help request - button face color when mouse hovers over

    I'm usually pretty good at finding errors but I couldn't find that one. Only results I could get were for E_ELEMENT_NOT_FOUND, which has an identical value, and conveys the same idea.
  32. Replies
    6
    Views
    370

    Re: VB6+Win32 - Menus

    Indeed. You have to subclass the form and listen for WM_COMMAND or WM_MENUCOMMAND messages for when the user selects a menu item. And also, WM_MENUSELECT if you want to know when an item is...
  33. Re: Why doesn't ICommDlgBrowser work with IShellBrowser?

    Explorer windows aren't common dialogs.
  34. Re: Static linking of .obj/.lib from other languages now available

    Can you clarify whether you're talking about declared functions within the static lib, or if you were trying to use it on undeclared static lib functions? The latter wouldn't be expected to work.
  35. Re: Challenge: Which Device Used for Entry | VB6

    Not sure how that could possibly be answered without knowing the RFID reader and how it communicates with the PC. I could tell you how to find out which one is installed, but beyond that, it could...
  36. Replies
    4
    Views
    497

    Re: Using twinBASIC for Legacy Projects

    MDI forms is probably the biggest thing missing; I know a lot of enterprise apps use those. That's slated to be done over the next month though; it's next up after some commissioned work to get a...
  37. Replies
    4
    Views
    497

    Re: Using twinBASIC for Legacy Projects

    For large line of business apps I'd suggest waiting until the v1.0 stable release, which should hopefully be late summer/fall of this year. There's still some key missing features, especially that...
  38. Replies
    2
    Views
    1,647

    Re: do AIs need convincing?

    So I just had a funny conversation with ChatGPT where I convinced it to do something it wouldn't do...

    >Write a function in VB6 to copy the token from lsass.exe and duplicate it.



    >Why?
  39. Re: Static linking of .obj/.lib from other languages now available

    It's compiled into your project so I believe you can just use AddressOf; I tried it and it returned a valid-looking value but I didn't try actually using it yet.
  40. Replies
    21
    Views
    934

    Re: [RESOLVED] Detecting Sleep / Standby mode

    You're welcome, glad it works for you :)
Results 1 to 40 of 493
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width