Search:
Type: Posts; User: Schmidt
Search:
Search took 1.41 seconds; generated 25 minute(s) ago.
-
In the above Add-Method, the later "Item-Text" of the DropDown -
needs to be passed in the second (the Key-) Parameter.
Whereas the first one (the Value) will receive the associated "ItemData".
...
-
As always, you argue from your own (hobbyist) perspective of "speculation".
Whereas I know, why I made my recommendation (to implement a Std-Dll in FreeBasic).
What escapes you (due to not...
-
Just a suggestion...
If you would feed your ICAO-http-query-results into an SQLite-File-DB,
then you'll be able to perform such DataBindings even easier, based on cRecordsets.
(usually via a...
-
Entirely different??? It's JAB (Just Another Basic) faf...
Don't project onto others from your own experience as a hobbyist... ;)
Olaf
-
Yep, have rarely seen a TypeLib-param flagged with [out], which wasn't one.
In that regard, the "As Any"(Ptr) recommendation from VGG was not *that* bad... :)
Olaf
-
Because the compiler is out of Beta-stage for years.
If couttsj is planning to distribute his Dll (if it's not for "hobby-usage on his own PC"),
then FreeBasic is the better option currently.
...
-
If that Dll was planned, to be used of from VB6/VBA/tB -
then I don't see why you try to avoid to produce a normal ActiveX-Dll...
If it "has to be" a Dll with stdcall-Exports, then why not use...
-
I could implement such a version relatively fast from the existing one -
but ideally this would sit in its own RC6-Class (to set all the Methods to ByRef Key As String) ...
Hmm, thinking about a...
-
Here's a simple Demo, how to use the RC6Widgets.cwDropDownList:
(needs - beside an RC6, also a RC6Widgets reference)
Private WithEvents Panel As cWidgetForm 'Widget-Host (for siting)
Private...
-
The system is sometimes caching "shim-info" for existing Exes in a weird way.
So, what I have on my system is a true copy of VB6.exe, named VB6_NoAdmin.exe (without any shims) -
both having...
-
You're right, I've messed that up ...
Here's the corrected version:
Private Declare Function InternetTimeToSystemTimeW Lib "wininet" (ByVal psTime As Long, ST As Any, Optional ByVal...
-
Please post the complete code of your Class...
Olaf
-
Yep, that slight difference is mostly due to "all the different Key-Types" RC6.cHashD supports
(FWIW, Keys may be given even as Object-References)...
Private Sub Form_Load()
Dim HD As...
-
To convert an "Internet-TimeString" to an OleDate (a VBA/VB6/VBScript-Date) -
the following helper-function does just that (as optionally either GMT-, or Local-Time):
Private Declare...
-
There's no need to use .NET-stuff...
(the usage of the WinHttp_5.1 COM-Class was explained several times to you already, in former threads).
Const URL =...
-
Have adapted the Test-Code in #12 to your wishes -
and the results are still comparable - even with 1Mio Items.
191122
Please note, that with cHashD, as well as this new Dictionary -
you...
-
This seems to be a PCode/VBA-comparison.
Native compiled the comparison between Christians new "Mini-Dictionary"-Class and (RC6).cHashD
has nearly similar results in my test-runs:
191121
...
-
Right, I've allowed it only for non-compatible mode (cannot remember the reason, why I did that)...
Have just fixed that for the next, upcoming release...
(vbNullstring as well as "" will now...
-
First of all - good work so far...
(I'm considering, integrating it into RC6Widgets, after the "dust has settled").
For that to happen, all the remaining Win32-APIs which are (still) used so far...
-
With the WebView2, the underlying engine is "chromium-based" -
but it is nevertheless derived from the "Mother-Ship" (the chromium-based "MS-Edge-Browser").
And MS-Edge simply has different...
-
Not sure, what you want to express with the "Anger-part" of your snippet -
but it could have been written more efficiently this way:
Option Explicit
Private WithEvents H As VB.HScrollBar,...
-
No - just play that through for a "zerobased" Coin-Toss... (a 50:50 distribution between result 0 or 1).
For that case - your proposed Int(Rnd * 1) will produce a 100:0 distribution
(always...
-
If your 20 procedures are defined in the Form itself, then just make them Public there.
Then calling (also from within the Form):
CallByName Me, "Random" & Format(Int(Rnd * 20), "00"), vbMethod...
-
If you want to write an App that behaves like CorelDraw (which is Vector-Graphics) -
then why not use a proper Vector-Graphics-lib (as e.g. the one in the RC6-Cairo-Wrapper)?
Here's some few...
-
Here's some new Code for Form1 of your Zip:
Option Explicit
Private WithEvents Grid As cwGrid, WithEvents TxtBox As cwTextBox
Private WithEvents VBar As cwVScrollBar, WithEvents HBar As...
-
I've seen it...
But so far, this is just a DAO-helper-module (of ~3000 lines! - with incomplete dependency-modules).
What's missing in your Codebank-entry, is a simple accompanying CRUD-App (a...
-
Could you post some Demo-Code, which underlines that claim?
I highly doubt, that you really tried...
I'd be willing, to post an ADO-Demo which does the same thing as your DAO-Demo, in case...
-
In case you mean "RC6-cCSV -> Sqlite-imports" vs. "HugeFile-class -> MariaDB-imports" -
the performance is about factor 3 better with RC6/sqlite (according to my own tests).
Olaf
-
If you add the two following Private Helper-Routines to your module...
Private Sub CopyFromCol(ColPlaceHolder As UDT, ByVal pUDT As Long, Dst As UDT)
PutMem4 ByVal VarPtr(pUDT) - 4, pUDT
...
-
Then don't fight it (within the Browser-Control)... ;)
The nice thing about these "Dual-Apps" is, that you can always choose the side more suited for the task -
so why not show a modal...
-
Yep, and that "printing" can also be a simple "CC-based drawing" on a cCairoContext (derived from a Surfacetype of PDFSurface).
Demo-wise I've provided a "SimplePDF.zip" for that already here in...
-
[ "Insert (Or) Ignore" ... SQL Statements ]
It is related to the problem at hand (how to "merge" a smaller Import-Set into a larger, existing DB-Table) -
since it allows to handle potential...
-
MySQL (as well as MariaDB) should both support "Insert Ignore", as described here:
https://www.mysqltutorial.org/mysql-basics/mysql-insert-ingore/
You will need a (unique) index on your...
-
I do the "opposite", and run the VB6-IDE in "non-Admin" (non-elevated) mode...
(via a renamed, separate copy of VB6.exe in the VB6-root-folder)...
Olaf
-
You don't need any JS or CSS to render a bunch of particles -
when VB6+RC6 can do it "on its own" (in half the lines of code)...
Start an empty VB6-Project which starts from a *.bas modules Sub...
-
For centering a Form on a certain Monitor, there's a special method...
(CenterOn ... passing the Display of your choice as a Parameter) - as e.g.:
Form.CenterOn New_c.Displays(1)
Olaf
-
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...
|
Click Here to Expand Forum to Full Width
|