Search:

Type: Posts; User: wqweto

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    1
    Views
    114

    Re: WIA 2.0 Vector.Add() method slow

    Here are some benchmarks on several VMs tested


    XP: Complete in 0.171
    Vista: Complete in 0.469
    Win7: Complete in 0.601
    Win8.1: Complete in 0.816
    Win10: Complete in 2.701 (not VM)...
  2. Re: how to read Excel workbooks without office excelapplication,without drives

    Images are stored as PNGs inside a folder much like xlsx format.

    It’s only XML parts that are stored as more compact BIN parts.
  3. Re: Access 2007 "Provider cannot be found" by VB6 after MS OneNote install.

    @PhuongNam: Please post in your own thread if you need reply from regulars here, do not hijack other (related or not) threads.

    cheers,
    </wqw>
  4. Replies
    4
    Views
    177

    Re: Pré-multiplying images

    Your image is already pre-multiplied.

    This works

    For x = 0 To bmi.bmiheader.biWidth * bmi.bmiheader.biHeight * 4 - 1 Step 4
    ' pix = BBYTES(x + 0): pix = pix * ABYTES(x) / 255:...
  5. Re: how to read Excel workbooks without office excelapplication,without drives

    @georgekar: The original purpose of ZipArchive was to be able to read/write .xlsb files -- the native binary BIFF12 worksheet format, not the diluted .xlsx XML based worksheet format made for...
  6. Replies
    33
    Views
    1,932

    Re: VB6 WebView2-Binding (Edge-Chromium)

    @xiaoyao: Does VFB have bindings for the WebView2 built-in?

    What's the point spamming every thread with links to it?

    @admins: Do cleanup my reply too, please.

    cheers,
    </wqw>
  7. Replies
    4
    Views
    187

    Re: Another json solution written for VB6

    This line


    If ch = "/" Then i = i + 1

    . . . should check for backslash instead IMO.

    You can try running all the tests from https://github.com/nst/JSONTestSuite with your parser to...
  8. Re: Access 2007 "Provider cannot be found" by VB6 after MS OneNote install.

    AFAIK there is no Microsoft.ACE.OLEDB.14.0

    The new Microsoft.ACE.OLEDB.16.0 OLEDB provider is very unfotunate decision, unless the change is big enough as from JET 3.51 to JET 4.0

    cheers,...
  9. Replies
    9
    Views
    659

    Re: [VB6] DirectX 11 for VB6 1.0 Type Library

    I'm certainly *not* a domain expert and I just ported the tutorials 1-to-1 and in the meantime created the typelib necessary to compile the code in VB6 but it is certainly lacking a lot of functions...
  10. Re: how to read Excel workbooks without office excelapplication,without drives

    Only .Net inside :-))
  11. Re: Excel - VBA: Code is generating unexpected numbers (0)

    These lines


    Range("D2:D2" & last).Select
    Selection.SpecialCells(xlCellTypeBlanks).Select
    Selection.FormulaR1C1 = "=R[-1]C[6]"
    must be the culprit.

    Btw, how did you get such '80s look of...
  12. Re: Microsoft PDF Printer - How do you set the file name and folder?

    Take a look at this repo: https://github.com/VBForumsCommunity/vbimg2pdf
  13. Replies
    4
    Views
    218

    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...
  14. Replies
    6
    Views
    316

    Re: Scatter Chart Problem - Hinky Plot Display

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

    cheers,
    </wqw>
  15. Replies
    13
    Views
    671

    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...
  16. Replies
    9
    Views
    420

    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...
  17. 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
  18. Replies
    9
    Views
    420

    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...
  19. Replies
    18
    Views
    516

    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...
  20. Replies
    18
    Views
    516

    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()
    ...
  21. Replies
    6
    Views
    414

    Re: VB6 with Firebase

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

    cheers,
    </wqw>
  22. 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...
  23. 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>
  24. 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...
  25. 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>
  26. 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....
  27. Replies
    58
    Views
    4,079

    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...
  28. Replies
    8
    Views
    452

    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>
  29. 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...
  30. 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>
  31. 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) ==...
  32. 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...
  33. 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...
  34. Replies
    58
    Views
    4,079

    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...
  35. Replies
    58
    Views
    4,079

    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...
  36. 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>
  37. Replies
    7
    Views
    592

    Re: Win10 version 2004 update

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

    cheers,
    </wqw>
  38. 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...
  39. Re: GetInternetDate via WMI hangs in line .POST?

    These lines of code


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

    Set colTimeZone =...
  40. 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.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width