Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.44 seconds.

  1. Re: Integrate Node.js to VB6 (or RC6)

    Not quite right.
    The Browser is the Client - and NodeJS the (Web)Server...
    (so we have separate Processes, which can only communicate via sockets ... aka "http(s)-based RPCs")

    The...
  2. Replies
    195
    Views
    19,915

    Re: https://www.radbasic.dev/

    You think wrongly - not much more to say - other than that I can prove my claims, whereas you cannot.


    That's wrong, there's enough occasions, where you need to pass an instance of a "local...
  3. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    In ExtendedLastCol-mode, "Mouse-based"-resizing will not be possible (on the current last Column).

    And "Program-code-based"-ColWidth-changes on the current "last-column" will happily accept the...
  4. Replies
    195
    Views
    19,915

    Re: https://www.radbasic.dev/

    [About COM-ABI compatibility, as a requirement of any compiler, which wants to be 100% compatible...]



    Carles -again - this is wrong on so many levels (and the reason I'm not supporting your...
  5. Replies
    11
    Views
    306

    Re: VB6 Base58 encoding

    This site is not reachable (at least not from germany, not sure why...)

    But a local forum-search revealed this posting of jpbro...:...
  6. Re: Integrate Node.js to VB6 (or RC6)

    There's ways to configure e.g. VSCode to allow NodeJS-debugging for that IDE.

    Not sure, why you are not investing this "one day of configuring-efforts, until debugging works in VSCode" -
    and...
  7. Re: vb6 Fast ReadLine,QuickSplit(Like streamReader.ReadLine)

    Just in case it was mine, please adjust the routine, resetting I = 0 before the second loop
    (or just use the complete code below).



    Option Explicit 'generic and simple Split-replacement as a...
  8. Re: vb6 Fast ReadLine,QuickSplit(Like streamReader.ReadLine)

    Here's my own take on a "simple but performant also in IDE-mode" Split-Version which (when placed in a *.bas),
    overrides the Split-calls in your App (the original Split as always still available via...
  9. Thread: TwinBasic

    by Schmidt
    Replies
    146
    Views
    12,544

    Re: TwinBasic

    That might happen, if you didn't keep the Dlls from the zipped packages together in their "unzipped Folder-location".

    Perhaps make another attempt with the RC6BaseDlls.zip-Download?
    - unpack it...
  10. Re: vb6 Fast ReadFile, ReadLine,QuickSplit(Like streamReader.ReadLine)

    Sure, "SuperNotepad by xiaoyao"... What's not to like? (now you're getting rich)....

    Just don't tell your Users, that they are not allowed to edit the first line of text in "SuperNotepad",...
  11. Re: Integrate Node.js to VB6 (or RC6)

    NodeJS's primary "modus operandi" is as a WebServer -
    (started at the commandline, or simply "shelled" by a VB6-ClientApp).

    There's several npm modules one can install, to make the usage of the...
  12. Re: vb6 Fast ReadFile, ReadLine,QuickSplit(Like streamReader.ReadLine)

    [About the usefulness of artificial tests with Millions of Strings...]
    (from a related thread which got deleted)...


    No, you didn't...



    Sure, 300MB Dictionary-Files with 3Mio Strings in...
  13. Re: API For StrConv(Block, vbUnicode)

    There's no "bug in the design of VB6" ...
    All the bugs are in your own code (and in the way you express yourself).

    When will you learn, to post complete examples (in an uploaded *.zip)?
    And when...
  14. Re: vb6 Fast ReadLine,QuickSplit(Like streamReader.ReadLine)

    Seems the xiaoyao account is now operating in chat-bot-mode again...
    (producing posts which make no sense at all).

    Olaf
  15. Re: vb6 Fast ReadLine,QuickSplit(Like streamReader.ReadLine)

    There is no such thing as "your algorithm" (the english comments alone are proof for that).

    It was in all likelihood copied from Merri's contributions, discussed and provided here:...
  16. Replies
    43
    Views
    2,604

    Re: This forum is why VB6 is still usable today

    Interesting - thanks for digging into that...

    Olaf
  17. Replies
    43
    Views
    2,604

    Re: This forum is why VB6 is still usable today

    Regarding "stack-duplication" - it's what Fibers usually ensure, to allow CoRoutine-like behaviour (without involving new threads) - hence my suspicion in #26, that "stuff like that" is probably...
  18. Replies
    43
    Views
    2,604

    Re: This forum is why VB6 is still usable today

    Have written a ton of code in the last 30 years with VB6,
    but never a Routine which required more than "a handful" of params to pass to sub-routines.

    If you have "dozens of arguments" to pass...
  19. Replies
    43
    Views
    2,604

    Re: This forum is why VB6 is still usable today

    What I meant was, that you will have to check them all (to see an additional speedup-factor of about 3).


    3.7 * SpeedupFactorFromFromCheckingAllAdvancedOptions = 11.1 (roundabout)


    I don't...
  20. Replies
    43
    Views
    2,604

    Re: This forum is why VB6 is still usable today

    Not really... (since one can always use a real sub-routine instead) -

    Only for those who'd want to squeeze out the last bit of performance (in a 5-10% range)
    from a "heavy math-routine" which...
  21. Replies
    43
    Views
    2,604

    Re: This forum is why VB6 is still usable today

    Sorry, should have used "advanced optimizations" (have translated straight from my german IDE-texts)...

    https://www.vbforums.com/images/ieimages/2021/04/6.jpg

    Checking these options, usually...
  22. Re: Insert multiples files txt into table sql server

    Currently you have a function-signature with a param-list like this:


    Function ImportTextFile(cnn As Object, ByVal tblName As String, _
    Optional FieldDelimiter As String = "|", Optional...
  23. Replies
    9
    Views
    374

    Re: Access VB6 object from another class

    WebClasses are just "another way to interact with a COM-Class" behind the MS-WebServer (IIS).

    Their advantage over "manually configured IIS->VB6-IDE-Class debugging" were never really large
    (so,...
  24. Replies
    43
    Views
    2,604

    Re: This forum is why VB6 is still usable today

    It probably would (have a place), if there wasn't a huge performance-penalty...

    Against all logic, Gosub is about factor 10-15 slower when native compiled
    (compared with calling normal...
  25. Re: Looking for some direction with this simple program

    Are you sure, you've posted in the right forum?
    (your last postings indicate, that you are using VB.NET)...

    Olaf
  26. Thread: Rotated text

    by Schmidt
    Replies
    34
    Views
    1,004

    Re: Rotated text

    Well, and for as long as it does -
    VB6/VBA or twinBasic-Users can handle advanced graphics with a decent Class-wrapper for Cairo...

    The "other OSes" (no matter what they are) usually offer a...
  27. Thread: Rotated text

    by Schmidt
    Replies
    34
    Views
    1,004

    Re: Rotated text

    Ah - good...



    No, my intent with the code (as posted in #19) was, to give you a replacement for a PictureBox (on an empty Form).

    If you want to render within the confines of a "real...
  28. Thread: Rotated text

    by Schmidt
    Replies
    34
    Views
    1,004

    Re: Rotated text

    In that case it should work...

    Perhaps you should check the following things:
    - close all IDE-instances which might have a reference to RC6
    - make sure, you didn't already have another...
  29. Thread: Rotated text

    by Schmidt
    Replies
    34
    Views
    1,004

    Re: Rotated text

    Please leave this Variable "PB" Privately declared at the Level of the Form it will then "act-on" as a PicBox-replacement.

    Otherwise, your err-message hints at a "not properly registered RC6".
    ...
  30. Thread: Rotated text

    by Schmidt
    Replies
    34
    Views
    1,004

    Re: Rotated text

    That's not really true.

    The RC5/RC6 vector-drawing-classes do follow the original cairo-API quite well (you even get Intellisense-Popups) -
    therefore you can google easily for the original...
  31. Thread: Rotated text

    by Schmidt
    Replies
    34
    Views
    1,004

    Re: Rotated text

    Just in case you don't want to invest "another week" into that simple problem...

    You have the RC5 (or even RC6) installed on your machine...

    So, why don't you use its Drawing-Classes, to solve...
  32. Thread: TwinBasic

    by Schmidt
    Replies
    146
    Views
    12,544

    Re: TwinBasic

    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...
  33. Re: VB6: NEWS - TwinBasic VB6's Second Potential Replacement

    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...
  34. Re: Vb6 problem with odbc for postgresql and columns calculated in query

    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...
  35. Replies
    3
    Views
    239

    Re: The size of the radius of a circle

    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...
  36. Replies
    3
    Views
    287

    Re: Transparent text

    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
  37. Re: Vb6 problem with odbc for postgresql and columns calculated in query

    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 -...
  38. Re: Vb6 problem with odbc for postgresql and columns calculated in query

    Have you tried:


    select ...(ccosto * (1.0-cdescuento01/100.0) * (1.0-cdescuento02/100.0))...


    Olaf
  39. Thread: TwinBasic

    by Schmidt
    Replies
    146
    Views
    12,544

    Re: TwinBasic

    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...
  40. Re: VB6: NEWS - TwinBasic VB6's Second Potential Replacement

    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,...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width