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 (or sort of...)]Evaluating boolean value of a string...?

    And to post an example of a simple expression-parser which has support for your own
    Userdefined functions - demonstrating, that it is not possible anymore, to work with
    un-escaped...
  2. Re: [RESOLVED (or sort of...)]Evaluating boolean value of a string...?

    As Doogle already demonstrated - it is possible to leave String-Literals "un-escaped"
    (without enclosing the Str-Content in quotes), when the Script-Interpreter or -Parser
    remains simple and...
  3. Re: Using a mathematical identity to speed up certain calculations.

    All of the algos I've posted had the same quality (apparently the one Olaf Schmidt
    was able to come up with).

    In my very first version-pair they had "Schmidt-non-Optimized quality" -
    and after...
  4. Re: Using a mathematical identity to speed up certain calculations.

    There's no bias against one method or the other - since both are valid algorithms in their own right.
    For certain scenarios one would be choosen over the other.

    Feel free to optimize the...
  5. Thread: A base 0 array

    by Schmidt
    Replies
    21
    Views
    600

    Re: A base 0 array

    In almost all situations I prefer to work with zerobound-arrays - so if you produce those
    arrays at the VB6-end (or within VBA) with zerobounds, then leave them at it...
    The write-direction (as...
  6. Re: Using a mathematical identity to speed up certain calculations.

    It's about 650 times slower - but yes, the difference is quite large - and overproportionally so,
    when we e.g. compare it with the VB6-native-compiler-timing when I run the same task:
    n = 100000,...
  7. Re: Using a mathematical identity to speed up certain calculations.

    Well, below is the link to the Zip I've posted the SHA1-checksum for in #25:
    http://vbRichClient.com/Downloads/GaussSumFormulaArchive.zip

    And below's the code to paste into a VB6-Form - in the...
  8. Thread: A base 0 array

    by Schmidt
    Replies
    21
    Views
    600

    Re: A base 0 array

    AFAIK (and just tested it) - you can fill an XL-Range directly also from a Zero-based (2D) Array.

    E.g. this fast, simple test did work here:



    Private Sub Worksheet_SelectionChange(ByVal...
  9. Re: ObjectEvent handler method of VBControlExtender never called from C# user control

    Then the Events you defined on the C#-end perhaps are not compatible with VBs COM-based
    Event-mechanism (IConnectionPoint, IConnectionPointContainer)...



    The mechanism works for most native...
  10. Re: Setdibits & Bitblt -> 2 Neat routines (one of them working)

    Glad it's still useful these days...
    Posted quite some graphics-stuff at this time, all surrounding this GetArrFromHdl-call,
    so if there's an interest in a few more demos (based on those ...
  11. Re: Setdibits & Bitblt -> 2 Neat routines (one of them working)

    FWIW, dug out some code from an old post of mine, which shows the usage
    of a (32bpp) GetArrFromHdl- as well as a DrawArray-function which takes into account
    what Tanner already mentioned.
    ...
  12. Re: Using a mathematical identity to speed up certain calculations.

    That's again wrong information - and as for trolling - IMO you're doing it
    the whole time in our "conversation" (if it may be called that).



    Nope - I can only repeat myself here - you so far...
  13. Re: Using a mathematical identity to speed up certain calculations.

    Sure - take a good look at the IIF-function and what it finally accomplishes,
    since that was the only thing I was struggling with the whole time, until the light
    finally came on... ;-)

    Olaf
  14. Re: Using a mathematical identity to speed up certain calculations.

    FWIW, I have it working here now (sha1-checksum for my Zip-File is: b08cec4ca48ba84043b38040e94b14c4896cdff0)

    (...just waiting a bit for Maven to finish his implementation too...) ;)

    And sure,...
  15. Re: Using a mathematical identity to speed up certain calculations.

    See, that's the problem I have with your postings.

    You didn't gave us *anything* so far in this thread.

    What you gave us, was the (quite wellknown) story about little Gauss -
    and *his* famous...
  16. Re: Using a mathematical identity to speed up certain calculations.

    That was already posted in #10 (the first function).



    Well - "easily" is a bit optimistic, as we already found problems with simply
    "subtracting the intersections".

    Please show us, how...
  17. Re: Using a mathematical identity to speed up certain calculations.

    I've read it - and am aware of what Hoare/Knuth were really saying, before posting the link.

    I'm just not sure about a practical use-case for the Gauss-optimization in most
    of a developers daily...
  18. Re: Using a mathematical identity to speed up certain calculations.

    Yep - I'm trying to find a generic function which internally makes use of the O(1)-category n*(n+1)/2 approach,
    to avoid the O(n) looping over the whole range.

    Not sure, if your function in #12...
  19. Re: Using a mathematical identity to speed up certain calculations.

    Well, that's what I'm currently struggling with (to come up with a generically usable approach, handing out similar results as the Looping-Function).

    I'm not a mathematician - and although the...
  20. Re: Using a mathematical identity to speed up certain calculations.

    And as for the "balance" of the whole thing with regards to "performance vs. efforts"...

    The "naive loop" is still not bad performancewise, even when we consider the task being:
    "Do that for a...
  21. Re: Using a mathematical identity to speed up certain calculations.

    Believe me or not Colin, but I was aware of the problem of "multiples of the factors" being sumed-up
    twice, when I posted my examples (the OP mentioned the problem clearly enough in his post).

    My...
  22. Thread: VB6 is DEAD!

    by Schmidt
    Replies
    690
    Views
    26,837

    Re: VB6 is DEAD!

    No, what I've seen is your (continuing) misconception about the motivation of VB6-users
    to stick with their tool.



    See - that's what I mean...
    You're apparently convinced about what you...
  23. Re: Using a mathematical identity to speed up certain calculations.

    I'm tempted, but from what I've seen so far I'm not sure if that is a good idea... ;)



    Well, among "dumb things a developer can do", premature optimization has a high ranking.

    So, what's...
  24. Replies
    7
    Views
    469

    Re: mjwPDF Class under Windows 8

    I'd guess that this is a "Path-problem" (having insufficient rights to either read stuff,
    the mjwPDF-class needs - or it is insufficient write-permissions (in case the mjwPDF-class
    creates Files)...
  25. Thread: VB6 is DEAD!

    by Schmidt
    Replies
    690
    Views
    26,837

    Re: VB6 is DEAD!

    Just in case this is meant (again) as a kind of "VB6 developers are unwilling to change and are stuck in their universe"-pun...

    IMO it is you who is stubbornly *clinging* to that wrong perception,...
  26. Re: How to hide a UserControl from the Toolbox?

    In case of an OCX-project, the MyControlPart.ctl simply would have to be made Private
    (setting its Public Property to False in the Property-Grid).

    Doesn't work for Private Usercontrols in...
  27. Replies
    18
    Views
    758

    Re: Convert Dword TO String

    I'm aware of those fractional zones - but the "official correction range" is not larger than +-12:00




    Yes, because of the offset of 16:30 which seems necessary, to come up with the results...
  28. Replies
    18
    Views
    758

    Re: Convert Dword TO String

    Yep - but they were stored wrongly - making a weird offset of 16:30 hours
    necessary now (to get to the results the OP wants - and +16:30 is not in the
    correction-range for UTC anymore - so the...
  29. Replies
    18
    Views
    758

    Re: Convert Dword TO String

    It seems to be a self-invented thing with a:
    - tick-progress of 0.670823261670224 seconds per tick
    - and a start-date of: "1984-08-23 20:01:28"

    Really weird - but with those two infos, the...
  30. Replies
    23
    Views
    2,267

    Re: MJPEG Webcam Receiver

    ...which is the important part, since it is usually the (much) larger allocation...



    Your search-String "00dc" is small - and well in the ASCII-range (and therefore making no problems on...
  31. Re: [vbRichClient] Error in cWebkit & VB6-WebKit.tlb

    Thanks for the Upload ... that did help.

    I've downloaded your example, commented out all the unnecessary Debug.Prints which were
    left over from the original Demo - and then ran your example......
  32. Re: Create Kerio/VPN/SOCKS/Tunnel Connections With VB6

    Sorry, but as it seems, nobody here has worked with anything from Kerio.

    Not that easy to give advise then - but what about asking in their Forums directly?
    http://forums.kerio.com/i/2/

    Olaf
  33. Replies
    16
    Views
    1,383

    Re: VB6 executable slow on Windows 8

    Upload either the real code you are using - or a similar (smaller) Test-App which uses the same APIs and
    principles and which you're absolutely sure about, that it shows the same difference in...
  34. Re: [vbRichClient] Error in cWebkit & VB6-WebKit.tlb

    Could you put a project, which reliably reproduces the error into a zip (and upload it somewhere).

    Would like to take a look whilst using the same context you are using.

    Olaf
  35. Re: Where are all the big VB open-source projects?

    Whilst it is true, that VMWare, VirtualBox & Co. can extend the life-span of "legacy stuff" -
    as soon as we let that happen, we would agree and admit that: "VB is truly dead now"...

    Aside from...
  36. Re: Where are all the big VB open-source projects?

    Not if we use (as is the current practice in VB6) a C or C++ Code-Emitter (with an
    existing C or C++ compiler in the backend, which does the final translation into native
    CPU-instructions for a...
  37. Re: Where are all the big VB open-source projects?

    Yep, currently Apple is holding its own - though at the bottom of the article I posted a Link to (here it is again):
    http://www.businessinsider.com/iphone-v-android-market-share-2014-5
    there's a...
  38. Re: Where are all the big VB open-source projects?

    Glad we have established at least that ...



    Then let's hope, that said geeks will keep reminding those who claim otherwise. ;)

    Olaf
  39. Re: Where are all the big VB open-source projects?

    If those who currently think, that "mobile devices will take over the world by storm" are right
    (and MS clearly belonging into that camp), then Linux has already won (by a huge margin).



    Well,...
  40. Replies
    23
    Views
    2,267

    Re: MJPEG Webcam Receiver

    Final update on the posted RC5-WebCam-code in #14 (now with a true dT-based measuring for the FPS, along
    with a decoupling of the GUI-refresh from the socket-events with a OneShot-Timer (which fires...
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.