Search:
Type: Posts; User: Schmidt
Search:
Search took 0.33 seconds.
-
I actually use even VBs current IIF() kinda like that with objects
(often when filtering into "two different baskets" like the code below shows):
Private Sub Form_Load()
Dim Num, Evn As...
-
If it comes with the compiler itself (and then "sits there" in a wellknown location),
then there's not even a registry-entry needed on the target-machine, to work with that COM-lib in the...
-
Yep, as it stands there (D6=8) - it looks quite funny...
Cannot test it - but according to this docu-page here:
https://odbc.postgresql.org/docs/config-opt.html
...instead of the...
-
I think, on the Form where it works, he has a userdefined Scalemode of (0,0)-(1,1).
Here is an example, how to ensure the User-Scalemode explicitely (by hand) -
so this should work on "any Form...
-
If you select your own Font into the PicBox-hDC, then you will have to use SetBkMode:
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-setbkmode
Olaf
-
Or perhaps (alternatively) try it with proper casting of the result-field
since Numeric(18,4) is apparently transported correctly over ODBC...
..., Cast( ccosto * (1 - cdescuento01 / 100) * (1 -...
-
Have you tried:
select ...(ccosto * (1.0-cdescuento01/100.0) * (1.0-cdescuento02/100.0))...
Olaf
-
I'd appreciate, when at least that will work in the future.
And as for "back-syncing" into the twinbasic-projectfile... (from the dynamically created workspace-file).
If it succeeds, all is well...
-
RC6 is primarily a "free available COM-lib" (an ActiveX-Dll)... just another "Project-reference" you can check-in if needed.
We do these "reference-check-ins" in our daily work with MS-FlexGrid,...
-
The output in the upper half of my ScreenShot in #1, is based on:
- Select * From Res ... ( AppDB.GetTable("Res") under the covers resolves to that "Full-Table-Select" SQL-string)
So the returned...
-
This Demo has a dependency to RC6 (but would work with RC5 as well).
The framework-dependency was included, to be able to conveniently "Select" resource-data via SQL -
(from the ZipFile -...
-
The "single file concept" can later be quite handy, when it comes to the "publishing" of small or midsized Demos...
(only one file to upload to GitHub or Bitbucket, or to "drag into an Email").
...
-
For those interested - here's how the RC6-cairo-wrapper can handle that reflection-task:
Option Explicit
Private CC As cCairoContext '<- CC is the Context of the Form-covering...
-
But it isn't.
What you still recommend is, that Image-Resources have to be stored in an age-old platform-specific container:
- a Dll in "MS-PE-format"
Nobody out there is storing resources in...
-
Ok, but I still cannot see, what advantages VB6 will offer in this endeavour...
If you want to work with (or better understand) typescript, then either use the existing online-tools -
or install...
-
Being able to "derive" hIcons directly from a ByteArray is quite handy.
(e.g. when you store these Ico-Resources in a DB-Table BlobField, or when they come in via a Download)
Olaf
-
Just to make sure, there's no confusion ... the above is wrong and will mislead others...
Here again a fully working example (Form-Code which should work on any machine) -
which does make use of...
-
What I mean is, that you have to leave the ByteArray intact in its entirety (exactly as it sits in the *.ico-file).
The reason it didn't work in your last posted code (with a Proper "DesiredSize"...
-
The second Argument of this function wants your "Desired" (or "Prefered") IconSize (not the Ubound of the ByteArray).
And that DesiredSize should be in the typical range for IconSizes between 16...
-
It's based on "hardwired Byte-Offsets", to loop through the "Icon-FileHeader-parts"
(without applying RtlMoveMemory, to copy the current Byte-Contents into "more speaking UDTs").
...
-
Let me repeat my question:
Let's assume, everything works out in that regard (and you can use the TypeScript-compiler in VB6 with proper bindings)...
What would you do next, once that goal is...
-
Just change it back to what it was before (there was nothing wrong with it).
Olaf
-
An "Icon-file" has a different format, compared to what is stored in an "Icon-resource".
So you have to "pre-parse" this Icofile-ByteArray, to retrieve the proper Offsets to the resource-stream.
...
-
Generally spoken - when a native compiling language allows *also* the execution of some "scripted parts" -
this enhances its flexibility in certain scenarios...
E.g. you don't need to recompile...
-
All of your above points (and more) are accumulated (and hardened over the last decades) in the RC6-framework.
You've just started with "modern UI stuff, including your first steps with...
-
This can be accomplished by the Cairo-COM-wrapper (behind RC6.dll, freely available at vbRichClient.com).
I've posted an appropriate line-example for that Vector-graphics-lib in #10...
And...
-
As for the "expected input-size" (since I've so far posted an InMemory-approach):
I've just played that through with 1Mio Lines of CSV-Text (in the 4-Column-Format of the OP)...
Private Sub...
-
The code above (in post #19) needs a project-reference to "RC6".
Before you see this ActiveX-Dll-reference, you will have to download the RC6BaseDlls.zip from vbRichClient.com
(unzipping into an...
-
Since your Text-Data seems to adhere to "normal CSV-files" (comma-delimited, Text in DoubleQuotes -
according to the standard, defined here: https://www.ietf.org/rfc/rfc4180.txt)...
The least...
-
I don't know what you mean exactly.
A cCairoSurface-Object (of type Image), is comparable to a DIBSection in 32BitPerPixel (without using any GDI-Handles).
And if you want to paint something on...
-
That depends on, whether your BG-Picture is UC-specific (exists once for your UC) -
or if you mean "an inherited Parent-Background".
Generally spoken - any Image you use, is a resource.
And the...
-
With RC6 (not RC5) the following works:
With Cairo.ImageList.AddImage("", "c:\temp\dancer.svg")
Debug.Print .Width, .Height
'.WriteContentToPngByteArray SomeByteArray
End...
-
Thanks for the indirect hint ...
(regarding the fmod-function I've posted in #6, which fails to return a zero with that negative Divisor-input).
Here's a correction:
Public Function...
-
Before you resort to a GDI-call (which is the case with your above Srf.DrawToDC someHDC),
you will have to ensure the BackGround on a given Surface yourself...
So, instead of Me.Cls (which...
-
The WebKit-Browser-addon above is BTW "the smallest Browser-Control" (not "Miniblink") -
and it is thought as a "local use only Control, don't go online with it" - for the RC5
(the RC6 has its...
-
First of all - as soon as you start using the RC6, there is no need anymore for any GDI- or GDIPlus-routines.
(cairo contains "everything GDIPlus offers and more" - and GDI only comes into play,...
-
There is no sawtooth (the antialiasing works).
Instead the problem is the same as with all your other "micro-benchmarks" and "comparisons"...
Your knowledge is in the most cases not sufficient,...
-
Yep, a floatingpoint-mod-function needs to take these "small epsilons" into account:
Private Sub Form_Load()
Dim a#: a = 58333.31
Dim b#: b = 8333.33
Debug.Print a - b * Fix(a /...
-
I have no clue, what you mean...
(cairo can be used with several "degrees" of AntiAliasing, but it is normally not set to "CAIRO_ANTIALIAS_NONE" by default).
Please show the complete code you've...
-
Have seen similar symptoms before... a likely reason could be an "identical IP on a different device"
(in our case it was the similar Server-IP in a Test-VM we occasionally started, which then threw...
|
Click Here to Expand Forum to Full Width
|