Search:
Type: Posts; User: Schmidt
Search:
Search took 0.10 seconds.
-
As long as the new question is "On-Topic" and wasn't already answered in the older thread,
I see no logical reason why stuff like that should be discouraged.
Olaf
-
I use it almost exlusively in "non-compatible-mode", because it performs a little bit faster this way.
In this case there isn't - so the next version will support PropTry also in...
-
No - and "not really"...
The New_c.Collection constructor creates (by default, when leaving out the first optional Param) -
a Collection which is compatible to the VB6-Collection.
It should...
-
That's because you're operating on "Pre-multiplied" 32Bit-PixelTuples (BGRA) -
breaking some of the "rules"
And the rules for premultiplying say, that no ColorChannel shall contain (after...
-
Yes, on top of that -
it allows stable regfree instancing of COM-Classes on their own threaded STAs also in the VB6-IDE.
(that's the main-reason it comes encapsulated in a Std-Dll).
Olaf
-
The syntax is indeed correct...
In case you're looking for a super-small C-compiler -
I've successfully ran your code with "tcc" (the tiny-c-compiler from Bellard).
Its download-size is less...
-
The only way to read-out a Variant which contains a ByteArray:
(where TypeName(VariantBytes) = "Byte()")
... is by converting the whole ByteBlob into a "non-WideChar-String" first:
S = CStr(B)
...
-
Thanks for the Code-Zip (makes things easier here)...
And yes, the Blurred-Shadow-removal is a necessary first step...
(let's talk about the "contour"-stuff later)...
What characterisitcs...
-
That line assigns a new Long-Value into the Cairo-Surface (by setting Pxl(x, y)).
That Long-Value is 32Bit == 4Bytes == BGRA-components of a TrueColor-Pixel (plus the AlphaChannel-Byte).
There's...
-
In any case (no matter if RC5 or RC6) your project gets now compiled with a (non-default) COM-dependency.
And as is usual in such cases - these dependencies needs to be shipped (in case it isn't a...
-
If you have a 1024x1024 Pixel-Area - then the x,y inputs can still be inserted fast -
(because only a "single Line" of x and y Values will need to be inserted... 1024 inserts in tx - and 1024 in ty)...
-
If you want to "think" (in your Pixel-Formulas) of "with Coord-Values between 0 and 1"
(then producing Result-Valuss for R, G, B between 0 and 1 as well)...
...then storing x, y already...
-
I always ship my regfree-Apps in a "Zip with an internal Folder-Strucure":
ZipRoot
-- MyApp.exe
-- \Bin\
------\MyDll.dll
------\MyOCX.ocx
This (when unpacked without destroying this...
-
vbRichClient5 (the prior version, aka RC5) still works on XP -
and the necessary code-changes to the demo are minimal
(RC5 did not yet support "one-dimensional Long-Array-mappings on...
-
You need to unzip *all* Files in the BaseDlls-Zip into a dedicated (local) Folder -
(keeping them "all together" - before trying to register RC6-Dll via the *.vbs-Script).
Also note, that RC6...
-
There's also an MS-commandline-tool, which allows to verify the hash locally...
example-cmd:
certutil -hashfile C:\ServicePacks\setupsp6.exe SHA256
Olaf
-
Here is two helper-functions, which encapsulate the needed commands:
- one for creating an encrypted copy from an already opened SrcCnn-Object
- and the other, to conveniently open such an...
-
Via Forum-local search for example... (the Google-Box at the topcenter of this page)
You should find a lot of examples, when you google for the class-names:
- cMemDB, cConnection, cRecordset...
-
Here is, what a Forum-Search (via Google-SearchField at the Top of this Page),
spits out for the term "SQLCipher":
...
-
Here's basically the same thing again -
now with a fast transfer into a "Cairo-Surface-DIB"
(calculating a diagonal GreyScale-Gradient across the whole Surface-area):
Option Explicit
...
-
The DB-based approach is no that bad, when you calculate the whole "graphics-area" in one single query
A Cross-Join is easy to define - and requires only Width Plus Height preinserted Coord-Values...
-
What's a "Cypher DB" in your definition?...
Do you mean a binding for the "cypher-graph-based query language" -
or simply "encrypting the SQLite-DB-data" (like e.g. used via SQLCipher)?
Olaf
-
Another one which plays in the same ballpark is Ratcliff/Obershelp:
https://en.wikipedia.org/wiki/Gestalt_pattern_matching
These algos do not work like "Google" (which is a FullText-search, based...
-
https://learn.microsoft.com/de-de/windows/win32/api/winuser/nf-winuser-fillrect
Olaf
-
That's not really the case...
Most decent DB-engines can be configured for transparent compression (allowing direct queries)
at either row, column or page-level - (for example SQLite, MySQL,...
-
What about writing your own (windowless) "ucLunarCell.ctl",
which incorporates 3 of the FirenceLabel-Controls on its "Control-Rectangle"...?
Olaf
-
Since the Firence-Label is windowless (using relatively few resources) -
why not solve this problem via:
- multiple Label-Controls
- instead of multiple Captions per Label-Control
IMO such...
-
So far, there's no support for importing Excel-Files in RC5/RC6...
Only partial-support, as e.g.:
- unzipping an *.xlsx via SQLite-Zip-Module queries
- and then unpacking/parsing all the relevant...
-
If you look at the code I'Ve posted - it should be clear how to use it...:
0) place the CsvCallback-Function in your Form- or Class-module
1) create an instance: Set CSV = New_c.CSV
2) call the...
-
If you want to speed this up by about factor 8 (~1sec, when native-compiled, all options checked) -
you can use the superfast CSV-Parser-Class of the RC6 (which requires much less code as well)...
...
-
CC.Antialias (at its default-setting) provides the same Antialiasing-quality as RC5 (at slightly better performance).
If you set it to "Best", you will get better Antialiasing than RC5 - but at...
-
If you have a fully transparent Widget, you now need to explicitely clear its background -
as the first "3-line-operation" inside W_Paint (this was introduced for performance-reasons):
Private...
-
The least amount of code would be produced, when you:
- not define any explicit Field-Variables (avoiding data-copying from an Rs, when the Form loads)
- not use "Execute"d Update- or Insert-...
-
I've answered that in the CodeBank-Thread:
https://www.vbforums.com/showthread.php?845221-VB6-FIRENZE-LABEL-label-control-with-so-many-functions&p=5635019&viewfull=1#post5635019
So, RC6 requires...
-
At the end of the Draw-Routine (in the "karo" Control) - enforce the FillColor-Setting for Text again:
...
'At the end fill all the stored text
CC.SetSourceColor m_ForeColor
...
-
Hmm, ...you are aware, that RC6 allows regfree distribution (without any setup) -
along with your executable (in a ca. 4MB-zip...which then occupies about 0,0004% of your End-Users disk)?
...
-
In case dilettantes Class has an "automatic Handle-Cleanup" in Class_Terminate -
then simply compiling his code into an externally referenced AX-Dll would help.
If you want to test the behaviour...
-
The "Sub Main()"-entrypoint (functionality) is also available for VB6-Dll-Projects...
It gets triggered, when a "consuming Userproject" ex- or implicitely calls LoadLibrary... (with your Dll as...
-
I really *do* recommend the timer-based solution -
unless there's already "a SubClassing in place" in that App (and on that Form).
As is so often the case here, "unfounded myths" are...
-
Well, he could also use his existing Timer-based solution in conjunction with GetAsyncKeyState
(disabling the Timer, and doing the "final Resize" only when the Mouse is "not down anymore")...
...
|
Click Here to Expand Forum to Full Width
|