Search Results - VBForums

Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: [RESOLVED] Help communicating with web API (bitfinex)

    Yep, Orderbook is quite similar to the Lendbook-query, which we already have an example
    (further above somewhere)...

    Here' Lendbook in conjunction with the MemDB-storage:



    Dim BitFinex As...
  2. Replies
    8
    Views
    237

    Re: How to hash a file

    Yes - that call is capable to handle streams, when correctly fed...

    In either case you should test and compare your filehasher (when finished) using
    checks on the same binary file for example...
  3. Re: VB6 Rendering of Nodes in a Graph (with Hover over Connections)

    The Demo is related to the Discussion here: http://www.vbforums.com/showthread.php?792225-Program-Testers
    and I plan to post an extended version here in this thread soon.

    But reexre has made some...
  4. Re: [RESOLVED] Help communicating with web API (bitfinex)

    A ClassName *is* a user-definable DataType (as are Enums, or "normal TypeDefs" - and as are
    Form-Classes, which I prefix with 'f' ...and also UserControl-Classes, which I prefix with 'uc' for...
  5. Re: VB6 + vbRichClient5 (lightweight, fully Alpha-aware Windowless-Controls)

    I'm able to run your project (in the VB6-IDE) without any problems (on Win8, as well as on Win7).

    A few points maybe, which could cause the behaviour in IDE-mode on your Dev-machine:

    - As I've...
  6. Re: [RESOLVED] Help communicating with web API (bitfinex)

    Maybe a few suggestions in that regard...

    Your mRequest.bas module is looking nice so far (codewise) - though from an architectural point of view,
    you should consider the case (e.g. when you plan...
  7. Re: VB6 + vbRichClient5 (lightweight, fully Alpha-aware Windowless-Controls)

    As said, I cannot help much, when I don't see *concretely* what you have
    done in your own project.

    In my Demo-Zip I don't use fTestBak for example.

    I also don't know if you have specified Sub...
  8. Replies
    22
    Views
    618

    Re: Events – How They Work, CPU Intensive

    Instantiation over the ProgID can be done in VB6 in two different ways:
    - CreateObject (usually used to create Instances which are not Control-COMponents)
    - Controls.Add (used to instantiate - and...
  9. Re: Compare string1 to string2 and identify differences

    To elaborate a bit more, the problem is not as trivial as it seems at the first glance...

    Here's a Wikipedia-Link to that topic.
    http://en.wikipedia.org/wiki/Longest_common_substring_problem
    ...
  10. Re: Compare string1 to string2 and identify differences

    I think, that this was the question which was asked (your Step1 and Step2 were already solved as it seems).

    Olaf
  11. Replies
    8
    Views
    210

    Re: Need a little help with a Mod

    You might want to Fix your version (avoiding the usage of the Int-Function), in case
    you want to stay compatible to VBs built-in Mod-Operator (for negative Dividends):

    e.g.


    Debug.Print -16...
  12. Replies
    43
    Views
    1,871

    Re: Program Testers

    I've implemented your suggestion in cwFileList now.

    Please wait a few days for a new release of vbWidgets
    (since I also implement a cwPropertyGrid currently, which I need for a Form-Designer...
  13. Re: Revisit Font Color from Excel to VB6 RTB

    Was on the same track - but I did it per OutOfProcess-COMServer-Remoting -
    and the whole thing was slow as hell here, tried to optimize a bit, but not much luck.

    Even with the optimizations (to...
  14. Poll: Re: How can a project only respond a truth keyboard?

    Did you check the GetAsyncKeyState-API already?
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms646293%28v=vs.85%29.aspx

    This might worth a try.

    Well, and I'll refrain from...
  15. Re: VB6 + vbRichClient5 (lightweight, fully Alpha-aware Windowless-Controls)

    Just played that through:
    - after downloading the latest RC5-BaseLibraries, and registering them
    - on a Win7-64Bit
    - using the Project from the original Zip - as linked to in Post #1

    and...
  16. Re: [RESOLVED] Visual Basic - Code Syntax Speed

    Well, wasn't *that* obvious to me, that the VB6-native compiler was *that* clever in this case,
    so let's just encapsulate the same code in a small function, and return 'dump' as a result.


    ...
  17. Replies
    26
    Views
    501

    Re: Check byte array for no value

    It is quite fast - but why has a check for a correctly initialized Array be faster than,
    say, ... 0.2µsec (Micro-, not Milliseconds), ... as is achievable with this function:



    Public Function...
  18. Re: Visual Basic - Code Syntax Speed

    As already mentioned by others, for a true comparison on max achievable speed,
    you would need to:

    - use the VB6-native-Compiler (checking in all the extended Options in the appropriate Dialogue)...
  19. Replies
    26
    Views
    501

    Re: Check byte array for no value

    The On Error Check (as in the small routine I've posted) is necessary *only*
    for VB-Array-Variables, which are completely uninitialized (have an ArrPtr of Zero,
    aka: no SafeArray-Struct assigned...
  20. Replies
    43
    Views
    1,871

    Re: Program Testers

    Always put it beside vbRichClient5.dll for regfree deployment, so this is correct.



    No, what's already there inside Sub Main was correct - and ensures that
    the vbWidgets.dll can use *other...
  21. Replies
    26
    Views
    501

    Re: Check byte array for no value

    No, such a test is not necessary, since the case is completely covered by:
    UBound(Arr) - LBound(Arr) + 1 (not triggering any error then)

    The "0 to -1" case is just a SafeArray which is already...
  22. Replies
    26
    Views
    501

    Re: Check byte array for no value

    This routine would return incorrect sizes for any LBounds which differ from Zero...

    You might want to correct this function to:


    Private Function GetbSize(bArray() As Byte) As Long
    On Error...
  23. Re: [RESOLVED] Help communicating with web API (bitfinex)

    Just noticed (after a closer look) that you're using the MemDB in a converter-function
    which works at the "single-value-level".

    That's quite inefficient, to create a MemDB-instance (and a table...
  24. Re: [RESOLVED] Help communicating with web API (bitfinex)

    Yep, nice code... :)

    Just one last suggestion - when you use a Class-Encapsulation instead of the
    Module-Code you have so far, you could spare yourself the BitFinex-
    instantiation (and...
  25. Re: [RESOLVED] Help communicating with web API (bitfinex)

    Upon Process-Termination, any memory-allocation which happened inside a Process is cleaned up of course.

    During Runtime, there's an (SQLite-library-internal) Cache-allocation of a few Megabyte...
  26. Replies
    43
    Views
    1,871

    Re: Program Testers

    Well, took you "3 full days" or so (spread over a week) - and that's not bad for incorporating
    and understanding a so far not used, new approach to "nice and powerful GUI-stuff".

    And yes - in...
  27. Re: [RESOLVED] Help communicating with web API (bitfinex)

    Well, these "UnixEpoch"-Timestamps are apparently in UTC.

    So, simply adding the Unix-StartDate will not be enough.

    SQLite for example has a nice built-in function-set for this kind of...
  28. Replies
    22
    Views
    618

    Re: Events – How They Work, CPU Intensive

    Short answer:

    With COM-Events there's no queuing-mechanism at all - it's just delegated function-calls we talk about here -
    (calls, which always "go through" to the EndPoint-Sink, if there is one...
  29. Re: [RESOLVED] Help communicating with web API (bitfinex)

    Glad you have it working also with Parameter-calls (in Authenticated Mode).

    For completeness, I've updated the Base-Class in post #3 one last time
    (this time just a small enhancement on the...
  30. Re: [RESOLVED] Help communicating with web API

    That's (basically) the right approach - meaning, the Methods in the Class should be used
    generically (for any authenticated ot unauthenticated API) - and if Parameters are
    requried, then those...
  31. Re: [RESOLVED] Help communicating with web API

    That's only the output of the unparsed content of the JSON-Collection
    (which works on any content, and I listed it therefore as the "generic example" in #3).

    Though the whole point of...
  32. Re: [RESOLVED] Help communicating with web API

    Ok, thanks for testing that...

    As for your question above, any API should be doable now with the Class - so the following is,
    how to use it in that case: according to ...
  33. Re: [RESOLVED] Help communicating with web API

    Ok, in case of the "/balances" call, the error happened, because the JSON-result is not returned as a JSON-Object,
    but as a JSON-array - and thus I cannot simply add a Key/Value pair as e.g. my:...
  34. Re: Help communicating with web API

    Max, could you please try with an absolutely unchanged cBitFinex-Class (as updated in #3)...

    I've even added a second Public Method DoUnauthenticatedRPC to it now, so that the complete...
  35. Re: Help communicating with web API

    Yes, sorry - forgot to give the correct JSON-decoding-method (for UTF8-ByteContent) in the above code:



    Set DoAuthenticatedRPC = New_c.JSONDecodeToCollection(http.ResponseBody)


    had to be:
  36. Re: Help communicating with web API

    Here's a VB6-class-encapsulation which covers the above,
    (it has dependencies to vbRichClient5 and WinHttp 5.1):

    Edit: Note, that the RichClient-version has to be at least 5.0.26 (the SHA384 and...
  37. Replies
    4
    Views
    239

    Re: RTF Print Preview

    There's tons of example-code out there for that (when you google for [VB6 RTF EM_FORMATRANGE] )

    Here's one of them (first link in the google-results ... haven't tested, if it's any good though...)...
  38. Re: Calling a function from a structure and passing the arguments

    In place of your question-mark, there (obviously) needs to be an Object
    (a Class-Instance, which has all your different "Function-Names" defined as Public Methods).

    e.g. a Class, named...
  39. Replies
    2
    Views
    436

    Re: Displaying errors in ASP page?

    On your site you're currently using only "modernizr.js"...

    You could avoid a whole lot of trouble with "navigating roundtrips" (resulting in a new page),
    when you'd do some Ajax-calls instead (to...
  40. Replies
    6
    Views
    180

    Re: Multi Tabbed Web Browser using webBrowser

    Ah - I see where your misunderstanding comes from...

    Well, the COM-library of the MS-Browser-Control which is available to VB6-users,
    is by no means "outdated" or something...

    (the .NET...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.