Search:

Type: Posts; User: fafalone

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds; generated 4 minute(s) ago.

  1. Re: Non-DPI-aware, scaling down and then up again (how to avoid)

    I wouldn't think this would be possible unless you're managing it yourself.
  2. Replies
    151
    Views
    35,306

    Re: Direct2D Typelib+ for VB6

    Weird, the version of the Direct2D library that loads when I open it has

    Sub BindDC(hDC As Long)
    Member of D2DVBLib.ID2D1DCRenderTarget


    No RECT member at all. Check exactly what it's...
  3. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    Sure but there's no individual right to force a company to do business with you or allow you on their property, with narrow exceptions for if they're excluding you based only on your membership in a...
  4. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    Under our legal system that's an example of a law that's legally null and void, just never removed from the books. If you were actually arrested under those charges, you'd have a slam dunk lawsuit...
  5. Re: Class module callback method crashing in VBAx64

    right but isn't the code working with EbMode and KillTimer going to interfere with that?

    I don't understand this at all... I mean I understand that the timer proc is a vtable entry in the class...
  6. Re: Using Windows XP "Compressed Folder" shell extension to work with .zip files

    What exactly do you need to do... just creating/listing/extracting with IShellItem is trivial; you only need complex solutions like the thread you linked if you need to do partial extractions and...
  7. Re: Class module callback method crashing in VBAx64

    Unfortunately I don't know nearly enough about assembly to turn that into a general method to get the address of a class member... I was able to turn the thunk back into asm, but that's as far as I...
  8. Re: Using Windows XP "Compressed Folder" shell extension to work with .zip files

    Your best bet is to use IShellItem and related interfaces. This will work with not only with compressed folders (.zip and .cab), but also any virtual location lacking a file system directory, such as...
  9. Re: Class module callback method crashing in VBAx64

    Ok instead of resolving this specifically, does anyone have a class callback method that *does* work in VBA7 x64?
  10. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    I didn't want to get into a country by country breakdown, there's certainly perfectly tolerant countries within Africa, but Africa and the Middle East do have numerous countries with legal bans...
  11. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    People like you. People like you drive their children to suicide by refusing to provide care when they're trans, for example. I don't know if you've personally had the opportunity to inflict your...
  12. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    I disagree that the suffering people like Niya inflict on others is not enough to qualify as "radical right". Science denial is radical. Overt bigotry is radical. There's milder positions that would...
  13. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    Yes, we have something called "science", which you might not believe in, but it works pretty good.

    It's a simple question: What are the outcomes with the intervention, and without the...
  14. Class module callback method crashing in VBAx64

    I'm using the following method to have a callback for TaskDialogIndirect... it works in VBA7 32bit, VB6 (32bit), twinBASIC 32bit, and twinBASIC 64bit, but crashes in VBA7 64bit (In all scenarios I'm...
  15. Replies
    2
    Views
    160

    Re: hInstance?

    Application.hInstance doesn't work in Excel either (present but fails), but it does seem to match hInstancePtr, thanks.
  16. Replies
    2
    Views
    160

    [RESOLVED] hInstance?

    I was surprised there were no results I could find for this.

    How do I get the hInstance in VBA? The only answer I've seen is Application.hInstance, but this does not seem to be valid outside of...
  17. Re: convert .png image to gif or .jpg, via vb6 code?

    Public Function WinTranscode(sSrc As String, sDest As String, DestType As TI_FLAGS, Optional lMaxWidth As Long = 0, Optional lMaxHeight As Long = 0) As Long
    'This function is provided as a reference...
  18. Re: What do the colon and number mean in this struct definition?

    I'd add to this a note that if you're translating these to VB for use with APIs,


    Public Type COMSTAT
    dwBitfield As Long
    cbInQueue As Long
    cbOutQueue As Long
    End Type
  19. Re: What code is this? I need to edit and compile .dll file for 64-bit compatibility

    vs2015 had pgi visual fortran which can compile fortran90... not sure about newer versions.
  20. Re: Check if a drive letter is a HDD/SSD or a CD/DVD/Card reader

    Thumb drives show up as DRIVE_REMOVABLE.
  21. Replies
    6
    Views
    263

    Re: Inked.dll crashes simple VB6 app

    Well first try using the current installed version. dil is right, bad idea installing a separate older one.
  22. Re: Check if a drive letter is a HDD/SSD or a CD/DVD/Card reader

    Can probably get away with the much simpler GetDriveType:



    Public Enum DriveTypes
    DRIVE_UNKNOWN = 0
    DRIVE_NO_ROOT_DIR = 1
    DRIVE_REMOVABLE = 2
    DRIVE_FIXED = 3
    ...
  23. Re: Using VB6 to set clock with 0.1s precision. Is it possible from VB6?

    Date doesn't seem to support ms too well,,, cann't get it from DatePart... anyway:


    Private Function DateToSystemTime(dt As Date, Optional ms As Integer = 0) As SYSTEMTIME
    With...
  24. Re: [twinBASIC/VB6/VBA7] TaskDialogIndirect: cTaskDialog universal implementation x86

    Apologies, it should be

    ptrBtn = VarPtr(m_uButtons_VBA7(0)): ptrRbn = VarPtr(m_uRadioButtons_VBA7(0))

    There's also the same issue in NavigatePage;

    ptrBtn = VarPtr(uBTN_VBA7): ptrRbn =...
  25. Replies
    6
    Views
    322

    Re: Error Vb6 in W10

    Need to run as admin, not just be one.
  26. Re: MS's description of the RTL_USER_PROCESS_PARAMETERS structure is wrong

    Old thread but since there's relevant info missing... MSDNs description is incorrect in that despite the full structure being known forever, they still refuse to properly document it. Same for PEB......
  27. Thread: TwinBasic

    by fafalone
    Replies
    1,266
    Views
    499,366

    Re: twinBASIC programming IDE - download and install

    tB applies comctl6 visual styles by default; if you did want the old style back you could uncheck 'VisualStyles" property for the control.
  28. Re: Using VB6 to set clock with 0.1s precision. Is it possible from VB6?

    What's the problem with SetSystemTime? Is it ignoring the milliseconds field? Or is it giving permission denied and you need help with enabling the permissions?
  29. Replies
    3,471
    Views
    1,439,785

    Re: CommonControls (Replacement of the MS common controls)

    You probably saw it on the Discord but I'll add it here for tracking purposes...

    Would be really nice to have an option for PictureAlignment when CommandButton style = graphical, so the image can...
  30. Replies
    13
    Views
    502

    Re: Event tracing (ETW) filters

    In case you missed it I edited my post to explain much better.
  31. Replies
    13
    Views
    502

    Re: Event tracing (ETW) filters

    I wasn't saying that you should put a pointer there, I was explaining that when you have Events() As Integer, behind the scenes *that* is a pointer-- VB is hiding what it's actually doing; Events()...
  32. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    Transwomen, not men, are competing but they're not "utterly crushing" the competition, the lies of bigots notwithstanding. The IOC has allowed trans competitors for years. How many medals have they...
  33. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    JK Rowling might have been able to play some of her first comments off in a 'concerned for women' way, but she's since escalated the rhetoric well beyond that, making it clear she is, in fact,...
  34. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    Dude I literally quoted the post I took the "impulsive" and "hormones" from. Why are you continuing to lie and say you didn't post it? You didn't even edit your post to delete it. It's still there....
  35. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    LOL so the latest thing: Musk asked everyone "who actually writes software" to come show him up to 10 screen shots of their code "so he can understand the tech stack". :lol: :lol:

    Also you have to...
  36. Re: Setting the clock using VB6 - permissions and millisecond resolution

    The SYSTEMTIME type has ms.

    You might need to enable SeSystemtimePrivilege and SeTimeZonePrivilege; admins have these permissions but they're disabled but default.
  37. Re: IAudioEndpointVolume::SetMasterVolumeLevelScalar method

    Probably going to need to see more of the code. How it's declared, how pIAudioEndpointVolume was set...
  38. Replies
    13
    Views
    502

    Re: Event tracing (ETW) filters

    I did. But since the only idea I've currently got relates to the pointers, figured I'd reply here. Get more eyes on the problem, hopefully someone sees what we're missing.
  39. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    So anyway, over/under on Twitter actually reopening now that they've closed their offices and blocked all employee badges?

    I wonder if the Elon fans will rewrite history so his "brilliance" was...
  40. Replies
    1,033
    Views
    25,585

    Re: Musk buys Twitter

    LOL knock off the bad faith arguing.



    You're playing a bad faith game here, trying to imply you have legitimate concerns about impulsivity while acting like then saying the opposite is some...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width