Search:

Type: Posts; User: wqweto

Page 1 of 13 1 2 3 4

Search: Search took 0.29 seconds.

  1. Re: pos device,connect control payment success and process

    You can search Ingenico site for any general codes.

    Doubt anyone of the POS providers is monitoring VBForums.com, so any waiting in here will be most fruitless.

    cheers,
    </wqw>
  2. Replies
    28
    Views
    1,758

    Re: JACMail4 with TLS 1.3

    On Send/Receive button Outlook downloads all "unread" messages from pop.gmail.com in a single connection, so I think it should be possible even with its non-compliant POP3 implementation.

    cheers,...
  3. Re: Memory leak GdipCreateBitmapFromScan0

    It can stabilize even faster if instead of on a timer the image allocation/free is done repeatedly in an infinite loop, optionally with a single DoEvents to make UI responsive.

    cheers,
    </wqw>
  4. Thread: C++ DLL to VB6

    by wqweto
    Replies
    54
    Views
    4,740

    Re: C++ DLL to VB6

    Yes, you have to deallocate it but your SysAllocStringByteLen API declare does not allow this. It has to be tweaked to return a raw Long pointer so it can be invoked like this


    Dim sText As...
  5. Thread: C++ DLL to VB6

    by wqweto
    Replies
    54
    Views
    4,740

    Re: C++ DLL to VB6

    This patch is not working (now and 15 years ago). You'd better get the whole thread google translated if you think my russian is that rusty :-))

    cheers,
    </wqw>
  6. Re: how to Get Sha512 Fast by vb6 use api CryptCreateHash

    You have everything to figure it out in the code you posted.

    Which part is slow for you? Have you micro-benchmarked it already?

    cheers,
    </wqw>
  7. Replies
    9
    Views
    153

    Re: Read Bitmap into a 2D array ?

    GetDIBits and SetDIBits actually *copy* DIB pixel data from/to the system DIB pixel buffer into a separate user-provided "offline" buffer.

    When you call CreateDIBSection the system allocates an...
  8. Re: pos device,connect control payment success and process

    Solution? You don't even mention the model of the device you are interested in.

    There is no general "solution" and there is no general "driver" to communicating with bank POS devices. Some use...
  9. Re: pos device,connect control payment success and process

    Sorry, I don't have sample code, only production code that you will not be able to compile without support classes which I'm unable to share.

    I'm still not sure we are talking about the same POS...
  10. Re: [RESOLVED] TreeView ... get Node index from Node hItem.

    This sucks!

    I'm using this with a reference to Microsoft Windows Common Controls 5.0 (SP2) in C:\Windows\SysWOW64\COMCTL32.OCX with OCX file version 6.0.81.5

    Is it with some other OCX version...
  11. Replies
    32
    Views
    805

    Re: Fix the TwipsPerPixel rounding?

    Yes, must be the Move method that fails only and if the UserControl is Windowless=True the SetWindowPos hack is impossible.

    Also if you set Align property so that the parent form repositions the...
  12. Replies
    76
    Views
    1,974

    Re: Should i learn VB6?

    It's hard to be objective talking about VB6 when for N-th consecutive year VBA is the most disliked programming language on SO and most other sites while VB6 is ignored in those surveys as not worthy...
  13. Replies
    76
    Views
    1,974

    Re: Should i learn VB6?

    VB.Net is better than VB6 like C# is better than VB.Net and Rust is better than C# -- is this so offending? It must be objective evaluation if I feel it's so :-))

    cheers,
    </wqw>
  14. Replies
    32
    Views
    805

    Re: Fix the TwipsPerPixel rounding?

    I have no idea what you are testing here but if you change RTB to a custom VB6 created UserControl (with a blue background for instance) and try to span it with Move 0, 0, Me.ScaleWidth,...
  15. Re: A solution for registration-free COM libraries

    I doubt I can help any more if you cannot figure out how it works from the project's README and probably this tool is too complicated for your uses anyway.

    cheers,
    </wqw>
  16. Replies
    32
    Views
    805

    Re: Fix the TwipsPerPixel rounding?

    SetWindowPos works but ScaleX/Y fail when actual TwipsPerPixelX/Y are not integer values in 175% scaling.

    Even if Form's ScaleMode is pixels the initial control position (in pixels) is scaled with...
  17. Re: A solution for registration-free COM libraries

    The name of UMMM is Unattended MMM i.e. it's an utility to be used in unattended builds of some large applications.

    Large applications have many inter-dependant VBP and .Net projects. For instance...
  18. Re: A solution for registration-free COM libraries

    You can grab latest exe from release tab of the github repository. It's a command line utility so if black terminals are not your favorite this will suck big time.

    Check out the README in repo's...
  19. Replies
    7
    Views
    502

    Re: simple inventory help.. please

    Here is the same submission on PSC clone on github: https://github.com/Planet-Source-Code/jerry-barnes-ado-tutorial-for-absolute-beginners__1-12050

    cheers,
    </wqw>
    p.s. I'm hoarding backlinks to...
  20. Re: Is the VB6 community capable to grab the bull by its horns?

    Heh. . . The guy who operates this site has already replied in this thread in post #42 so everyone seems aboard listening :-))

    cheers,
    </wqw>
  21. Re: pos device,connect control payment success and process

    There are different models of POS devices like there are different models of printers for instance. Each different POS manufacturer uses its own proprietary protocol to communicate with the device....
  22. Replies
    5
    Views
    197

    Re: QuickSort Caseless

    In QuickSort_NoCase you are recursively calling QuickSort, not QuickSort_NoCase

    After the fix it works here as expected but the performance is dog-slow.

    This one is using CompareStringW API and...
  23. Replies
    19
    Views
    667

    Re: Getting hWnd from VBIDE.Window

    It's the secret sauce! :-))

    Otherwise you could use CopyMemory API to access Window object's internal state as well -- makes no difference.

    cheers,
    </wqw>
  24. Re: Using DCR files in later editions of web browsers, like Edge and Firefox etc

    Impossible! It's all over your signature. . .

    cheers,
    </wqw>
  25. Re: Initial open of form with particular OCX takes 30+ seconds | SLOW

    Control's OCX file might by code-signed by vendor. Then on first load Windows would be checking for certificate revocation by phoning CRL server that is provided in the code-signing certificate. The...
  26. Re: pos device,connect control payment success and process

    Card-reader for customer cards is not what I meant in previous post.

    I meant credit, debit or prepaid cards (VISA, MasterCard or whatever bank cards) or contactless/RFID payments (Apply Pay and...
  27. Replies
    78
    Views
    6,823

    Re: Simulate TLS 1.3

    Btw, I just tested CryptEncodeObject idea above and the API based encoding works as far back as NT 4.0 (tested on Win7, XP and Win2000) something like this


    Option Explicit

    Private Declare Sub...
  28. Replies
    5
    Views
    241

    Re: Internet Zone Idenifier

    Which code are you talking about?

    Add your file to a ZIP file and then extract with overwrite to get rid of the Alternative Data Stream (ADS) that triggers "Internet zone downloaded file" popup...
  29. Replies
    32
    Views
    805

    Re: Fix the TwipsPerPixel rounding?

    Last time I delved into it the TwipsPerPixelX propertiy was retrieved from an internal structure and the value in this struct was a 32-bit integer which I tried to convert to 32-bit float by patching...
  30. Replies
    13
    Views
    408

    Re: Out of Memory Error - Make - CommandButtonW

    I mean reference in Components (Ctrl+T).

    Can you put Debug.Print Timer, "Event_Name" on all UserControl events in CategoryPageUserControl to compare. Here is my dump on F5


    45304.27 ...
  31. Replies
    13
    Views
    408

    Re: Out of Memory Error - Make - CommandButtonW

    I just opened Project1.vbp and put some breakpoints in CategoryPageUserControl and started it with F5.

    The UserControl_Resize event is fired *after* UserControl_ReadProperties so everything seems...
  32. Replies
    77
    Views
    1,687

    Re: listview table colors

    When you hit a road block best would be to research the issue at hand in a *separate* smaller side-project so that it's faster to compile and tear apart without breaking your main project and second,...
  33. Re: pos device,connect control payment success and process

    Is this some kind of card-reader POS you are talking about? These use different protocols to transmit status to PC (on the serial port or LAN) so there is no one-size solution that fits them all.
    ...
  34. Replies
    13
    Views
    408

    Re: Out of Memory Error - Make - CommandButtonW

    Ooops! Yes, this is easier!

    I'm using "Break on All Errors" and didn't even think about "smashing" it like that :-))

    cheers,
    </wqw>
  35. Replies
    78
    Views
    6,823

    Re: Simulate TLS 1.3

    The ECDSA plain signature has to be ASN1 encoded. Check out the pvAsn1EncodeEcdsaSignature in mdTlsSodium for sample implementation.

    There might be API based implementation with...
  36. Replies
    13
    Views
    408

    Re: Out of Memory Error - Make - CommandButtonW

    @Krool: There is a bug in VB6 compiler when both user-control in question and constituent control-array's user-control (CommandButtonW) are in the same project then and only on *compile* it fails at...
  37. Re: VBCCR17SideBySideAndVisualStyles failed to start side-by-side incorrect

    You can use Visual Studio 20xx resource editor or Resource Hacker utility to read and update manifest resources in a .res file.

    After you create your projectname.manifest file (one way or another)...
  38. Replies
    20
    Views
    866

    Re: CCur Function

    That's why I'm scared to even peek at Decimal multiplication disassembly :-))

    cheers,
    </wqw>
  39. Replies
    20
    Views
    866

    Re: CCur Function

    I just compiled c3 = c1 * c2 with all Currency variables and here is the disassembly


    c3 = c1 * c2
    00401BF0 FF 75 C0 push dword ptr [ebp-40h]
    00401BF3 FF 75 BC ...
  40. Replies
    26
    Views
    537

    Re: SQLite Rename column

    Makes no difference and you can test it youself. Just make sure to wrap both batch-updates in a DB transaction.

    Even better -- check all your updates are wrapped in separate transactions with...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width