Search:

Type: Posts; User: wqweto

Page 1 of 13 1 2 3 4

Search: Search took 0.34 seconds.

  1. Replies
    13
    Views
    309

    Re: Synchronous processing?

    These have troubles when run by non-admin users on Win10. Test yourself if working ok once registered on the machine by an admin.

    cheers,
    </wqw>
  2. Replies
    4
    Views
    102

    Re: Correct use CreateDirectory API

    If the user can copy the portable exe to C:\Windows\System32 then his security context must allow him to create directories there so you application will be able to as well.

    If the CreateDirectory...
  3. Re: I opened chrome using shell, how can I close all instances of open Chrome using V

    Malware kills :-))
  4. Replies
    13
    Views
    309

    Re: Synchronous processing?

    I would go with multi-process *Standard* EXE the way chrome or AnyDesk are implemented.

    For instance AnyDesk spawn multiple processes of the single portable application with parameters like...
  5. Replies
    1
    Views
    132

    Re: Call a service ("GET") via .vbs

    Find curl version with openssl support for TLS 1.2 + 1.3 that works on XP and then use shellexec to call it and access the web service.
  6. Replies
    24
    Views
    429

    Re: Different Boggle Question

    Nothing like Building a computer in Conway's game of life. . . This is mind-boggling!

    cheers,
    </wqw>
  7. Re: Flashing a warning on the taskbar REVISITED

    . . . with all internal links totally broken rendering docs next to unusable. Not suprising as most articles are last modified like in 1999.

    cheers,
    </wqw>
  8. Replies
    8
    Views
    304

    Re: Why did this trigger Defender?

    Most probably imperfect signatures combined with flawed heuristics. It's impossible to know if a piece of code is malicious. They try to use AI for guessing and fail spectacularly sometimes.
    ...
  9. Replies
    8
    Views
    304

    Re: Why did this trigger Defender?

    We have a large applications split into several DLLs/OCXs which are 5-20MB in size. Although we use a lot of thunking and other virus-like techniques these never get flagged by any AV on VirusTotal....
  10. Re: how can i get the GDI+ declaration functions\types?

    You can add 4th point but most probably it will be ignored. The text explicitly states that the API can draw parallelograms which are uniquely defined by only 3 points. The API might ignore the extra...
  11. Re: how can i get the GDI+ declaration functions\types?

    https://github.com/Planet-Source-Code/avery-use-gdi-aka-gdiplus-with-vb6-and-win98__1-37541/blob/master/GDIPlus%20API.bas
  12. Replies
    7
    Views
    452

    Re: Winsock LocalIP is not the correct IP

    The problem is the link to the ZIP in your OP is very hard to notice! I'm posting a link to the original Planet Source Code submission you are having troubles with for the rest of the members to...
  13. Replies
    21
    Views
    465

    Re: Read background color of a bitmap

    You can try the AlphaBlendImage control: https://github.com/wqweto/AlphaBlendImage/blob/master/src/AlphaBlendImage.ctl

    It has Gdip/WicLoadPictureArray functions that can load PNG byte-array from...
  14. Replies
    21
    Views
    736

    Re: Problems with IDE and W10

    Probably time to bite the bullet and reinstall both VB6 and SP6.

    cheers,
    </wqw>
  15. Replies
    8
    Views
    329

    Re: Connection string for Integrated Security

    Use backslash for SQL instance name, e.g. SAGE\SQLEXPRESS

    cheers,
    </wqw>
  16. Replies
    0
    Views
    142

    [VB6] DirectX 11 Desktop Duplication

    This is a work in progress of a remote control utility. This is the screen capturing part using DirectX 11 (DXGI).


    Option Explicit
    DefObj A-Z

    #Const SHOW_DELTA = False
    #Const...
  17. Replies
    21
    Views
    736

    Re: Problems with IDE and W10

    Do you have Service Pack 6 of VB6 installed? (See in Help->About)

    cheers,
    </wqw>
  18. Re: After text colorize in RTB, it returns to black after form minimize

    Form_Activate event is raised when a different form is focused within our application only. If the current active form of our application is focused from external application then Form_Activate is...
  19. Replies
    13
    Views
    687

    Re: VB6 and FontAwesome

    Try this completely new snippet then


    Option Explicit

    Private Declare Function SelectObject Lib "gdi32" (ByVal hDC As Long, ByVal hObject As Long) As Long
    Private Declare Function DrawTextW...
  20. Replies
    21
    Views
    736

    Re: Problems with IDE and W10

    Is this the first API call executed in the IDE that is trashing it? Could it be that OS decided to shim the vb6.exe when it misbehaved for itís own compatibility reasons? Other might chime in how to...
  21. Replies
    9
    Views
    449

    Re: WebSocket Secure (wss) Server in vb6.

    This is a TLS handshake, the ClientHello message. First byte 0x16 means TLS_CONTENT_TYPE_HANDSHAKE, second and third bytes 0x0301 mean the protocol version which is TLS 1.0, etc. So you need a TLS...
  22. Replies
    13
    Views
    687

    Re: VB6 and FontAwesome

    Set AutoRedraw = True on the test form at design-time.

    Should have set it in code to be explicit, sorry about that. . .

    cheers,
    </wqw>
  23. Replies
    13
    Views
    687

    Re: VB6 and FontAwesome

    You don't need LOGFONT to create hFont from StdFont instance. Just acquire its IFont interface and use IFont::hFont property like this


    Option Explicit

    Private Declare Function SelectObject...
  24. Re: Finding a subfolder with the highest number that matches a pattern

    Finding the highest value (maximum) of a sequence can be done with a single temporary variable, no need to sort the whole sequence.

    Something like this


    Dim vElem As Variant
    Dim...
  25. Replies
    9
    Views
    449

    Re: WebSocket Secure (wss) Server in vb6.

    A few pointers:

    1. Search for "vb6 for secure websocket https" in google
    2. In top 5 results there is this github project: VbAsyncSocket

    cheers,
    </wqw>
  26. Re: [RESOLVED] Sqlite how to check if a field is empty?

    Nullable columns are implemented by most RDBMs with a bit which indicates if the column is null or it has actual value.

    If all possible non-null values of a column have business meaning then a...
  27. Re: [VB6/VBA] A clipboard management class (currently have issues in x64)

    OP does use Win64 in stdClipboard.cls so they must be aware of VBA7 vs Win64 preprocessor constants.

    Btw, the error handling with CriticalRaise call is error prone itself. For instance in...
  28. Replies
    36
    Views
    2,456

    Re: Simulate TLS 1.3

    Upload a working sample that I can test against openssl-dev server and will try to debug what's wrong with bulk secrets post handshake.

    cheers,
    </wqw>
  29. Re: [VB6/VBA] A clipboard management class (currently have issues in x64)

    Btw, now you have GlobalFree(hClipMemory) commented out but you *do* need to call it if SetClipboardData fails for some reason.

    This is a common pattern when handles are transfered to the system...
  30. Replies
    43
    Views
    1,127

    Re: Vb6: Winsock data arrival multiple packets

    browse it = download pages

    You do need http protocol downloader.

    What you need is a standard Winsock control based http downloader with the ability to submit custom headers (incl. cookies) so...
  31. Re: Sporatic err 380, Invalid Property Value, but only in compiled exe

    This is about the only use-case when DoEvents makes sense with a couple of prerequisites:

    1. The form with the Cancel button has to be modal i.e. no other form can get focus

    2. The Cancel...
  32. Replies
    43
    Views
    1,127

    Re: Vb6: Winsock data arrival multiple packets

    Here is a generic downloader that implements the state machine for the http protocol:


    Private Enum UcsStateEnum
    ucsIdle
    ucsWaitRecvHeaders
    ucsWaitRecvBody
    ucsWaitSendBody
    ...
  33. Replies
    36
    Views
    2,456

    Re: Simulate TLS 1.3

    Do you use openssl-dev from above? Do its local IV/Key dumps match remote secrets you come up at your side of the communication?

    I reached the same point and this is *exactly* why I had to...
  34. Replies
    24
    Views
    712

    Re: Catalyst SocketWrench

    Wow, it works with SocketWrench -- each Read call receives *only* the datagram the Read event is in response of.

    The "coalescing" in my impl was entirely self-inflicted. Winsock reported on...
  35. Replies
    24
    Views
    712

    Re: Catalyst SocketWrench

    I'll test it with SocketWrench.

    What happens with WSAAsyncSelect (so called hwnd message-based notifications) is something like this:
    1. Datagram received by LAN card
    2. Receive event fired on...
  36. Replies
    43
    Views
    1,127

    Re: Vb6: Winsock data arrival multiple packets

    I have it switched on here on my 2004 and SSPI/Schannel is not working against TLS 1.3 only servers at all.


    Connecting to tls13.1d.pw
    Error: The message received was unexpected or badly...
  37. Re: Sporatic err 380, Invalid Property Value, but only in compiled exe

    https://en.wikipedia.org/wiki/Heisenbug -- ". . . a heisenbug is a software bug that seems to disappear or alter its behavior when one attempts to study it."

    About app being "suspended" you can...
  38. Re: [RESOLVED] Sqlite how to check if a field is empty?

    With the risk of going way off-topic most languages are backing off on Null/Nothing nowadays.

    Most prefered way of dealing with errors and unknown values is by using sum types so called Maybe...
  39. Re: Sporatic err 380, Invalid Property Value, but only in compiled exe

    What actually might help is if you remove *all* DoEvents from your code :-)) Not joking about it!

    Heisenbugs are very hard to debug. You'll need to instrument a lot of logging. Logging that can be...
  40. Replies
    24
    Views
    712

    Re: Catalyst SocketWrench

    Btw, while porting this I decided to broadcast on *all* subnets as returned by GetAdaptersInfo, not only the default LocalAddress as returned by winsock and uncovered another problem with the current...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width