Type: Posts; User: Schmidt
Search took 0.04 seconds.
That's what the Cnn.CopyDataBase method is for...
You can use it to either copy a FileDB into another FileDB -
or alternatively (as is your aim), to copy from an InMem-DB to a FileDB -
It was just the first "unobtrusive Char" which came to mind (since prefixing with an underscore is only doable over square-brackets,
which I don't like). Without prefixing, the Names of the...
Short answer: "The only dependency you will ever need for VB6..." ;) (SCNR)
Longer answer: As jpbro has already mentioned, it's a well-tested Class-Library for VB6,
the philosophy being:...
Here's my take at it... not using any TypeLibs, since in most cases where the TLB-Defs
are not VB-Friendly - as e.g. due to returned WStrings, or other not directly mappable types -
Nothing wrong with the JScript-code itself - but you have a character
with the Ascii-Code &H01 in it (SOH) - shortly before your closing "curly brace" of the func-definition.
With a somewhat...
Wouldn't say that... DataBinding can save quite some lines of code on your end -
and it doesn't have to be used in "full-automatic-mode" (with support from the IDE).
In "Semi-Automatic-Mode" (as...
Yep, here's a more conveniently usable version of the approach (encapsulated in a little modRsWatcher.bas-Module):
'enter the static Variable 'Rows()' of the following...
A relative "cheap" method, to view or "browse" the current content of (smaller or midsized) ADO-Recordsets,
would be over "Watch-Variables" or "Watch-Expressions" in the appropriate Viewer-Window:...
Everything you've mentioned above, is already built-in for some time - the current RC5-version is:
5.0.50 (with current SQLite version 3.13)
Please download again from vbRichClient.com - and run...
Yep, the Extra-Modulo-Op adds a few CPU-cycles (the spared If condition apparently not saving enough cycles to balance that) -
not sure whether you tested with "all extended options checked" in...
Come on Ben... don't you think that "your tone" is a bit unfair?
there is larger tutorials out there for nearly everything the RC5 has to offer -
so that's not only "documentation" - that is...
Here's my 0.02$:
Private Sub Form_Load()
Const Min As Long = -1, Max As Long = 1
Debug.Print GetNewValue(0, -1, Min, Max)
Private Function GetNewValue(ByVal PrevValue As...
Passing Pointers to your Strings is definitely the right way... - so I guess it has to do
with, how you retrieve the Handle in the first place...
To get some Value into a VB(Long)-Variable (with...
You need to pass the char-pointers also as pointers from the VB-end:
ret = Con.cdeclCall(retInteger, pFunc, Handle, StrPtr(tmpLocalPath), StrPtr(tmpRemotePath))
Let me know, how the above...
... <shrug> It was a general "numerical puzzle" which interested me...
And I think, the "school-assignment-problem" (if it is indeed one), will solve itself
automatically, in case the OP presents...
Place them in any Folder you like ... then call the "RegisterInPlace-Script", to register
You need the vbRichClient5-BaseDlls, which you can download from vbRichClient.com,
to be able to run the example.
This isn't all that hard, when you do the Imports of your CSV-based Sets into DB-Tables first -
and then later use SQL to query any result you want.
The problem itself is a "gaussian" one,...
For such stuff it is best, when you write a little DB-independent version
(around a free-standing Rs, which one can create quite easily).
The following Demo wants to be placed in an...
Of course you would - especially if the Excel-Instance runs "Out-Of-Process".
Ok, one could avoid addressing Excel "cell-by-cell", when the GetRows-method would
be provided and called with the...
You are wrong, I've posted correct information!
GetTickCount is absolutely bound to the Clock-*Chip* (its Interval-Interrupts), which
you can easily test yourself, when you forbid a certain...
Here's a solution, which doesn't force you to deviate all that much from what you're currently doing...
Simply Select your Data in chunks (instead of retrieving all records in one call)...
Just as a shot into the blue... (since you mentioned the DataGrid).
Check on the failing machine, whether the following files exist
(either in SysWOW64 when the OS is a 64Bit one - or in...
Why are you trying to confuse the OP?
That there's "a layer of hardware-abstraction" involved (to deliver
these values in a good performance) should be obvious.
The GetTickCount-APIs are...
Yes, the GetTickCount/GetTickCount64-APIs are using the Clock-Chip (lower resolution, but very reliable and with great "long-term accuracy").
It's also explained (in more detail) in the first...
In my first post in this thread, I've included a Link to the MSDN-Docu for GetTickCount64.
And the first sentence is:
Retrieves the number of milliseconds...
Yes, that's how it should be - the TickCount64-Values are read every second (triggered by a normal,
dynamically added VB.Timer-Control) - so the "right Column" of your immediate-window-output...
No, the GetTickCount64-API is safe in this regard (whereas QueryPerformanceCounter-based stuff
had problems with what you just mentioned... at least in the past)
Although working with a much...
Ermm... did you try out the Demo-Code in a new Form on your Win7-machine?
(no Controls needed, just Copy&Paste ... and then run it, looking at the output in the Immediate-Window).
As for a WebSocket-Demo, which shows hot to subscribe for "Server-Push"...
I wrote a simple example based on the cWebServer-Class of the RC5, so that one can easier
test things out...
And since the OP has left XP behind as it seems - there's even the GetTickCount64() API
(which doesn't "overflow" after 49 days anymore)......
I'm not sure - but perhaps it's only a little bit of "Scripting" the OP is looking for...
In that case, a simple *.vbs Textfile could be enough, to query for a password
(e.g. per VBScripts ->...
The RC5-SQLite-Wrapper ensures "Unicode-capable Like-queries" -
by overriding the built-in Like with its own Userdefined-Function...
This function will map in turn to VBs Like-Operator - so in...
If you get VB6 to work, you could then easily switch over to VB6-based GUIs -
(using the VB6-IDEs Form-Designer) by hosting normal VB6-Forms within an ActiveX-Dll.
The exposed Classes of that...
Yeah, the MSXML-tools work differently, depending on their version...
(the newest versions, which have more features are overly complex in their handling).
The older version 3.0 of the...
Hmm - isn't that a bit overkill, when VB6 already supports Windowless-Controls?
Here's, what's needed (in a Project-Private UserControl with its Windowless Property at True),
to do exactly what...
If this is for "offline-usage on Windows" (in a LAN for example) -
then I'd take a look at Fossil: https://www.fossil-scm.org
Fossil is more feature-rich than GIT, but has a very small footprint...
How did you declare the Function at the VB6-side?
(please show the Declare-statement, or the Typelib-def)...
How did you declare the Function at the VB6-side?
(please show the Declare-statement)...
The RichClient doesn't use the (Scripting-)FSO - it has its own cFSO-Class which contains
a lot more than what the Scripting.FSO has to offer.
As for "customizing" - the RC5-threading-Demo in #28...
Click Here to Expand Forum to Full Width
Survey posted by VBForums.