Type: Posts; User: Schmidt
Search took 0.04 seconds.
Ok, then it's not a hack, but a "manipulation of the vbRuntimes default-startup-
mechanisms, which involves TLS, in case binaries are loaded and initialized".
Sounds a bit nicer I guess... ;)
Downloaded your "Threading in Standard-Exes"-Examples, the Zip which contains 4 Folders:
Test1, Test2, Test3 and Test4...
Opened the Project in Folder Test2 and added a new line (in...
Because in your approach you're overriding VBs Default-TLS-Handling with
your own TLS-creation in an ASM-thunk:
' push tlsIndex
' call TLSGetValue
' pop ecx
' push ...
Did you see the Demo I've posted in #38?
It replaces already most of the functionality of the FSWrapper with other typelibs (which come preinstalled on the system).
I already did that some time ago - and it is a bad written example, which doesn't play by the rules...
The example is passing a (mainthread-created) CWnd to the workerthread - and then changes...
That much I gathered as well - my question was: Why?
VB will work *reliably* across threads only:
1. when COM-Method-Calls are either marshalled -
2. or when they are avoided - and...
The reason nobody replies anymore is perhaps, because you still didn't clearly describe,
what it is you're after.
I have no clue what all this "hacking around" on VTables has to do with the ...
That's actually not true - you can do aggregating Group-Selects quite fine with the JET-engine. Olaf
There will be no graininess, when you work with a good graphics-lib, which handles
Alpha-channels and supports anti-aliasing.
The VB6-methods (as well as the Win-GDI-APIs) are not really suitable...
If this snippet of data came from a DataBase, then a simple Select (with a " ... Group By Your_Col2 ..." Clause) should be sufficient to hand out what you want. In case you plan to avoid using any...
You should not do it this way.
As I explained already in your other thread here (last posting):...
Nothing wrong with that - there's also the possibility to "Lock all other Cells"
(input only allowed on the "Form-Fields")...
But that requires all Users having Excel (or OpenOffice-Calc)...
I'd think that the already proposed way (looking up some Hardware-Descriptions per WMI),
isn't all that bad.
Private Sub Form_Load()
Now consider, what's the most direct representation of a DB-Table(SubSet)?
Right, it's the Recordset.
And to re-adjust your above sentence accordingly (in a more common meaning):
Sorry, have mistaken you for someone else (thought you were
the guy, I had the discussion about "flat-file-databases" with)...
I meant the free lib-package on vbRichClient.com...
You could use the RC5-lib for that, to solve this conveniently (without worrying
that the outfile might become larger than 2GB)...
Private Sub Form_Load()
Dim DL As cDirList 'create a...
The formulas are not all that difficult (simple addition or subtraction,
divided or multiplied with "seconds per day")
Here's the reverse:
Private Sub Form_Load()
Well, I guess it was more my frustration speaking there... ;)
Wasn't meant as a slight at Leandro - who, as far as I can see here:
Your code is crashing, because you're using an incorrect struct-definition (in conjunction
with the W-APIs).
So, either use well-tested libraries - or API-Definitions/Implementations from...
...without giving us the name(vendor) of your USB-Device, there's only so much one can do from here...
They usually come with drivers - or in one of the HID-categories - or support...
Here's another service:
with a bit more "requests per timeunit" in their free offer:
60 per minute and 50000 per day is not...
I was only guessing, that the produced docs would be send per Mail to several recipients.
(avoiding to send an executable or something in a *.zip, to keep it simple and the spam-
Yeah - sure, the VB-Code is both (template and field-generator).
The Field-Generator already encapsulated in a function, so not really difficult,
to use it in a loop.
You can adjust also the...
By far the easiest way is (IMO), when you work over HTML already from the beginning.
The needed VB-Code to produce such HTML is pretty small and straight-forward,
so with this Code:
The problem with that is, that nobody here really knows,
what the purpose of the whole exercise is.
From what you posted so far, your problem seems to be that you
don't want to move certain...
No, not really - in the link above (http://www.sqlite.org/lang_transaction.html) is clearly stated:
"no other database connection ... will be able to read the database ... until the transaction is...
That's also not possible in C/C++ ...
(hWND - and hWnd-derived cross-thread hDC-Painting per GDI is not threadsafe,
it should only be done from within the thread which runs the Message-Loop)
Sure, but I thought the problem was, how the OP could achieve an AutoScaling for his BitMap-based BackGrounds.
And in case of EMF-wrapped Bitmaps (as the above RC5-code would produce them),
Ah, well - that's thought to reflect what comes back over the Data-Connection -
for example what comes in from the NLST and LIST commands will be reflected there
(although that reflection is not...
With a small "Helper-Widget", one can achieve free scaling (and rotation)
on any Widget that's contained in the vbWidgets.dll (the GitHub-based Project,
which is based on vbRichClient5) - on an...
The above function: ConvertStdPicToEmf
(when placed in a Module of the OPs Main-Project)
could then be used, to convert his 10 Form-BackGround-images
directly in the Immediate-Window (without...
Nah - once in an *.emf (or the older *.wmf), a VB.Form (or VB.PictureBox)
will always scale such content automatically (since for EMF-content, the VB-IPicture-
Implementation will return...
To expand a bit on what Bonnie said about these not met "plumbing-requirements":
1) the compiler does compile *.bas-Module Methods always to the normal __stdcall ABI
2) whereas Method-Defs in...
You can use the Format-Function, to convert from a VB-Date-Type to a DateString.
E.g. in ISO-Format like this:
I take this "yes" as:
Yes the PriceCosts shall be "associated" with the (distinct) PriceName.
And since there are different (multiple) PriceCosts you will have to somehow
Thanks for the confirmation (and for not taking things personally)...
Well, that could already serve as a good example why well-tested and fast "general purpose libs"
(as e.g. the SQLite-DBEngine) make so much sense (compared to "handwritten parsing-code for a narrow...
No, that's not logical at all, since the question was asked in a VB6-Forum.
What you will have to consider is, that the so called "Access Format"
(the well-known *.mdb's) is simply the...
Well, that's a start then... :)
Adding records: Rs.AddNew
Editing records: just change the Rs.Field(SomeFieldName).Value
Delete records: Rs.Delete
All followed by an Rs.Update or...
That count is right - but an additional condition was covered by the Select,
which only returns Records (Lines) which start with "And the LORD" and:
- occur more than once in the bible
Click Here to Expand Forum to Full Width
Survey posted by VBForums.