Type: Posts; User: Schmidt
Search took 0.05 seconds.
In case you didn't switch your IIS/ASP environment to use 32Bit-WorkerProcesses (in the config),
your *.asp-Code will work with 64Bit COM-Versions of ADO and the OleDB-Drivers by default.
Ah, thanks - will keep that in mind ...
(never used any IDE-Addins with VB6).
Cannot reproduce that in the little Server-App which comes in the Zip -
neither on Win7, nor on Win8, nor on WinXP.
When the Server runs in the IDE, the behaviour is the same as when running...
Yes, of course... (it's part of the ADO-Replacement-Classes which are cConnection, cRecordset, cCommand).
But for VB to be able to recognize that type, you will have to put in a
Umm... as for the cConnection...
Anytime you declare a Variable with the 'As' Keyword, you're
defining the Type of that Variable.
Dim Cnn As cConnection
In case this is needed for a so called "Upsert-scenario" (an Insert Or Replace attempt),
then there's direct support for that in SQLite - as the followig Demo shows
(just paste the following into...
Only the most common file-endings are translated into their proper Mime-ContentTypes
(as .htm, .html, .js, .css, .xml, .txt - and the image-types .jpg, .gif, .png, .bmp, .ico),
for all the (quite...
Please make sure, that you run your VB6-IDE (by setting the appropriate Props on the VB6.exe file)
elevated (as administrator).
No, it has nothing to do with ADO.
If I understand you right, you have 3 Forms to consider in your scenario.
And sure, when you have only your MainForm running - and then show
You don't need any cAppServer (it was just a remainder of a Demo-encapsulation
of a simple WebServer).
All you need to ensure is, to start your App from Sub Main (reduced about the...
That's not a bug or something in the Control itself, but only a
negligence in the Form-Code... easily prevented by adding a few checks,
wheter the Data-Container already exists or contains any...
And again an example, which demonstrates that it is no problem to
perform other Read-Operations on the DB from within a transaction:
Private Cnn As cConnection 'usually...
Can't find your vhGrid anywhere - but as said, I wouldn't try to implement
a larger Grid-Control anymore these days... (as they come e.g. on PSC -
most of them overly complex with "thousands of...
A Virtual-ListControl is sufficient for almost any purpose,
since anything it will render will be triggered from the outside,
in appropriate OwnerDraw-Events - which will then visualize
I think you missed the point, that we talk about OwnerDrawn Lists.
FWIW, it took me 5 minutes, to change the output to this darker color-scheme here:
There's no deletion or addition when Groups are collapsed or expanded again.
In "virtual" OwnerDraw- or "OwnedData"-mode there's just no need for any
such actions, since what an OwnerDrawn...
That's the point I wanted to make...
Because *if* the ListView is OwnerDrawn (using a DataContainer,
which is sitting outside the Control)- then one doesn't really need
Could you show a "Photomontage" or something, so that one gets a better
"picture", what you want to achieve in the end?
Is this a "Grouping for Icon-View-Mode" (as shown in the C++ article) - ...
Please check out the small "IEFeatures-class" I've posted here (in #28):...
Either that, or one can write a *generic* ActiveX-Exe (which allows any 32Bit ActiveX-Dll to work with a 64Bit-Process),
by simply implementing a Public Instancing-Function within the ActiveX-Exe:
Thanks for the feedback with regards to the timings guys...
Yep, that basically matches with what I measure here too.
Yours are a bit "off" (although the relations are roughly...
When you take the module I've included in post #5 in this related thread here:
Then you can adapt one...
What's special is, that it is not a true Server-DB, but - (in the same way as the MS-JET-Engine)
thought as a "SingleFile-In-Process App-Database" instead (loading the entire DB-engine as a
When you describe your "ideal scenario" as:
You are generalizing.
And it is really sad, that my replies are often dragged into this "personal attack"-corner.
I'm not out there "to get you" (personally) or something.
Not true - not when you ensure "stable interfaces" (and then "pin them" either per BinComp - or per dedicated *.tlb).
It's not about "size" (or Mem-Consumption) anymore -...
No, not necessarily (e.g. when that portion of the memory-mapped File is already "paged").
That's true - but due to the way memory-mapped Files work (pages which were not yet
As soon as you pass a VB-StringArray to a Declared function (and that includes
a declared VarPtrArr-func on "msvbvm60") - VB will do its Unicode-Ansi-and-back conversions.
Not sure how reliable...
So why not just deliver your Executable in a Zip which contains
all the Dll-dependencies in a \Bin\-SubFolder?
And all of the above "cons" will go away, when you load your ActiveX-...
I guess, you used the Demo #0 (which constructs a "naked" COM-Object,
and comes - for brevity's sake - without a decent QueryInterface-Handling...)
That would explain the type-mismatch error (due...
Not sure where the requirement to treat double-quotes in the same way as single-quotes
originated - at least with SQLite (and afaik also with the JET-Engine and SQL-Server),
you will only need to...
StrComp is available and works fine also directly in the JET-SQL-dialect...
E.g. for a case-sensitive search/comparison (exact match on the Name-Field):
SQL = "Select * from T1 Where...
Just in case you are badly in need of SVG-export - and can't live with the simple solution
of a temporary File (which you then delete afterwards) - or with the potential solution
"The Trick" has...
Here's the Pipe-Class adapted (and a bit reduced) to what you only need IMO:
Into a new StdExe-Project - content of the Helper-Class, named cPipe:
Option Explicit 'Pipe-based helper to...
Some stuff for the advanced VB-users among the community (or the curious) ...
I was recently working on some things in this area (preparations for the
C-Emitter of a new VB6-compiler, with...
Perhaps you misinterpreted the second Param in the original Posting:
..., ByVal SvgPath as String
as some kind of "Graphics-Path"... (the naming surely is a bit ambiguous).
I only guessed, that...
Thats not surprising, since these Params are ignored, when you add dedicated color-stops
by addressing the appropriate GDIPlus-Member per:
No - it's not needed, when you look at the way I defined the last argument
(..., Byval lpOverlapped as Long)
in the Declare Satement for the WriteFile-call.
When a ByVal exists already in the...
Just posted an example into the CodeBank here:
Hope it works (after slight adaptions) also in...
VB6 has a nice feature, when it comes to UDTs.
It has builtin serializing/deserializing routines, which are capable to write
an even complex and deeply nested UDT to a File per VBs Put-statement...
Click Here to Expand Forum to Full Width
Survey posted by VBForums.