Type: Posts; User: Schmidt
Search took 0.09 seconds.
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
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...
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" -
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...
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...
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,...
Well, below is the link to the Zip I've posted the SHA1-checksum for in #25:
And below's the code to paste into a VB6-Form - in the...
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...
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...
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 ...
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.
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...
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... ;-)
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...) ;)
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...
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...
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...
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...
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...
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...
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).
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...
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.
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
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,...
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...
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...
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...
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...
...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...
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......
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?
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...
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.
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"...
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...
Yep, currently Apple is holding its own - though at the bottom of the article I posted a Link to (here it is again):
Glad we have established at least that ...
Then let's hope, that said geeks will keep reminding those who claim otherwise. ;)
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).
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...
Click Here to Expand Forum to Full Width
Survey posted by VBForums.