Search:

Type: Posts; User: wqweto

Page 1 of 13 1 2 3 4

Search: Search took 16.91 seconds.

  1. Replies
    4
    Views
    169

    Re: Filtered Recordset Structures

    > a filter applied to exclude records 1 and 4

    Is this something like rs.Filter = "ID <> 1 AND ID <> 4"?

    > if I clone the filtered recordset

    Is this something like Set rs2 = rs.Clone?

    For...
  2. Replies
    6
    Views
    274

    Re: Scatter Chart Problem - Hinky Plot Display

    This is hard to do in VB6 (not impossible).

    cheers,
    </wqw>
  3. Replies
    13
    Views
    585

    Re: sql autocomplete control?

    The problem with language parsers in editors is that these should understand broken syntax and recover. So this usually ends with some Error nodes in the AST. Also the problem of incremental...
  4. Replies
    9
    Views
    353

    Re: Gmail Authentication?

    > Gmail authentication via password

    You mean POP3 on port 995 with regular user/pass?

    I'm using App Passwords because plain user/pass auth on POP3 does not work for 2-FA accounts and have no...
  5. Re: VB6: how get RGB from ARGB color?

    Consider this snippet


    Option Explicit

    Private Sub Form_Load()
    Dim color As Long
    Dim r As Byte
    Dim g As Byte
    Dim b As Byte
  6. Replies
    9
    Views
    353

    Re: Gmail Authentication?

    Which authentication system? I'm using App Passwords w/ my gmail's POP3/SMTP mailbox as my google account has 2-FA turned on -- no problems with this.

    Have no idea how are we supposed to use "Sign...
  7. Replies
    17
    Views
    376

    Re: After form load, Combo Box is highlighted

    When you manipulate ListIndex *and* resize the control (set Width property or call Move method) the bug is manifested.

    I just fixed it in a custom multi-column combobox control of mine with...
  8. Replies
    17
    Views
    376

    Re: After form load, Combo Box is highlighted

    This is a *bug* in the built-in Windows combobox control and here is a repro: Add a CommandButton1 and Combo1 (in that order) and use this snippet


    Option Explicit

    Private Sub Form_Load()
    ...
  9. Replies
    6
    Views
    381

    Re: VB6 with Firebase

    It's simple: Firebird is a data-base and Firebase is a bird-in-the-clouds :-))

    cheers,
    </wqw>
  10. Re: VB 6.0 Project is not runing on Windows 10 what is reason

    This happens to some VB 6.0 Projects when there are latent bugs which get exposed by a change in the OS. For instance a project might start failing on Windows 10 Version 2004 while working on...
  11. Re: VB 6.0 Project is not runing on Windows 10 what is reason

    This is probably a bug in your VB 6.0 Project

    https://www.vbforums.com/images/ieimages/2020/11/3.jpg

    cheers,
    </wqw>
  12. Re: create a activex used combox and move all methods and properties to this new cont

    You can use Cltr+F9 to set next statement to be executed by interpreter. The same IDE command is available in the right-click context menu in the code editor during a debug session only.

    When IDE...
  13. Re: Loading a IniFile into a Dictionary

    Well, this is just an example how to access section Profiles and then element ProfilesCount within it.

    Check out Olaf's sample -- it's the same "model" he loads the .ini file to.

    cheers,
    </wqw>
  14. Re: [RESOLVED] VB6 command-line executable sending "result" code back to caller

    These are perfectly fine and I don't think there is anything else you can use in this regard. It's the OpenProcess that is superfluous. This is like starting a process and then attaching a debugger....
  15. Replies
    58
    Views
    4,014

    Re: Simulate TLS 1.3

    Yes. The TLS "backends" are written in Sans-IO manner so that the actual networking can be done with whatever socket library anyone would like to use.


    Yes. Newer CNG calls are kept to a minimum...
  16. Replies
    8
    Views
    405

    Re: MySQL (with VB6) questions

    Btw, MSSQL uses the same syntax for GRANT


    GRANT SELECT(employeeNumber, lastName, firstName, email) ON dbo.employees TO bob
    cheers,
    </wqw>
  17. Re: Loading a IniFile into a Dictionary

    Check this out


    Option Explicit

    Private Declare Function GetPrivateProfileSectionNames Lib "kernel32" Alias "GetPrivateProfileSectionNamesA" (ByVal lpszReturnBuffer As String, ByVal nSize As...
  18. Re: How is the behaviour of VB6 compiler while comparing two string?

    What else can it be besides some crypto constant-time implementation?

    cheers,
    </wqw>
  19. Re: How is the behaviour of VB6 compiler while comparing two string?

    This is CComBSTR implementation in ATL


    bool operator==(_In_ const CComBSTR& bstrSrc) const throw()
    {
    return VarBstrCmp(m_str, bstrSrc.m_str, LOCALE_USER_DEFAULT, 0) ==...
  20. Re: [RESOLVED] VB6 command-line executable sending "result" code back to caller

    That would be helpful only for intellisense in the IDE. The performance of an early-bound out-of-process call is more influenced by it being out-of-process than early-bound.

    I'm not even sure we...
  21. Re: How to add text from textbox 2 in the middle of text of textbox 1?

    You don't say this on your first post in a VB6 forum. We all here are *big* fans of VB6 and mightily disagree it's not cool. . . anymore.

    Anyway, let me show you how easy it is to do what you want...
  22. Replies
    58
    Views
    4,014

    Re: Simulate TLS 1.3

    Btw, just comitted BareboneTls sample which uses the TLS backends with traffic over standard MS Winsock Control.

    The sample includes an https client in Form1 (~200 LOC) and a minimal https server...
  23. Replies
    58
    Views
    4,014

    Re: Simulate TLS 1.3

    Cannot even remember what was I thinking but this is plain wrong. SNI and ALPN deliver orthogonal data -- it's like machine vs service or IP vs port.

    There is some experimental effort to replace...
  24. Re: (VB6) Replicate control interface or encapsulate control into UserControl

    @Black_Storm: Do you use Break on All Errors or on Unhandled only in VB6 IDE options?

    cheers,
    </wqw>
  25. Replies
    7
    Views
    589

    Re: Win10 version 2004 update

    Well, he could've been upgrading from 1703 probably :-))

    cheers,
    </wqw>
  26. Re: How to handle handles in vb6, differences during dev and when compiled

    No, VB6 debugger is different that C/C++ or the C# debugger in Visual Studio. VB6 uses an *interpreter* to run you project inside its own process. VS compiles C/C++ to native code and C# to managed...
  27. Re: GetInternetDate via WMI hangs in line .POST?

    These lines of code


    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!" & strComputer & "\root\cimv2")

    Set colTimeZone =...
  28. Re: How to handle handles in vb6, differences during dev and when compiled

    You can kill your application in Task Manager this will be equivalent to it crashing and getting terminated by the OS itself.
  29. Replies
    5
    Views
    336

    Re: Email Client issue

    Ooops, there is no glitch in gmail's servers and secp256r1 group is working perfectly fine for ECDHE.

    After modding the TLS client for this particular test it was sending X25519 public key in...
  30. Replies
    7
    Views
    589

    Re: Win10 version 2004 update

    You've been automatically shimmed on update :-)) I don't have them here.

    cheers,
    </wqw>
  31. Replies
    5
    Views
    336

    Re: Email Client issue

    All of these gmail endpoints support secp256r1 in ClientHello w/ TLS 1.3 incl. the STARTTLS one on port 587

    Edit: The logs were irrelevant. . .

    The weird thing is that if X25519 is missing w/...
  32. Replies
    5
    Views
    336

    Re: Email Client issue

    Which protocol on which port?

    Webmail is served by completely different servers than SMTP, POP3 or IMAP -- all different server farms.

    Edit: Btw, you could use OS built-in Schannel/SSPI as well...
  33. Replies
    3
    Views
    198

    Re: Vb6: winhttp proxy socks5 support

    No, I'm not aware of direct support in winhttp but could be wrong.

    Also, there must be an http proxy that can tunnel through a socks5 proxy available somewhere on the interwebs.

    I'm positive...
  34. Replies
    9
    Views
    401

    Re: Can't make Planet Source Code CD work

    https://github.com/Planet-Source-Code

    There you have all submissions from PSC CDs with descriptions and screenshots from the .mdb database and with each .zip archive extracted and commited...
  35. Replies
    21
    Views
    976

    Re: Paint PNGs via DrawIconEx()

    Now I remember there was a redist for legacy OSes (I've never seen) but 100% sure it's not installed with IE4 (or IE6)

    https://www.vbforums.com/images/ieimages/2020/11/2.png

    It comes...
  36. Replies
    9
    Views
    401

    Re: Can't make Planet Source Code CD work

    You need SP3 on XP to have a remotely usable system.

    cheers,
    </wqw>
  37. Replies
    3
    Views
    198

    Re: Vb6: winhttp proxy socks5 support

    I guess SetProxy expects http/https proxy (not sure about the second) so something like this would explain the idea


    winHttpReq.setProxy 2, "http://proxyserver:8080", ""

    Probably using...
  38. Replies
    23
    Views
    897

    Re: [RESOLVED] Special sorting/ordering problem

    deldeldel
  39. Replies
    21
    Views
    976

    Re: Paint PNGs via DrawIconEx()

    Yes, this works on Vista but does *not* work on XP (tested on both). Loading PNGs with GDI+, converting to 32-bit premultiplied alpha DIBs and painting these with AlphaBlend does work on XP though.
    ...
  40. Replies
    21
    Views
    668

    Re: Vb6: winhttp get cookies

    There must be something non-obvious going on which generates more traffic or (less likely) more server load.

    You can try using external "connector" application to handle http requests/responses...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width