Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 1.04 seconds.

  1. Replies
    8
    Views
    227

    Re: Microsoft.ACE.OLEDB problem

    So, if your goal is to use a SingleFile-Desktop-DB "without deployment-hassle" with your App, you have two choices:
    1) use the JET4-OleDB-Driver (which comes preinstalled and requires no deployment...
  2. Replies
    67
    Views
    928

    Re: Some thoughts on VB6 forum

    No, to explain again...

    I was not arguing with Niya just for the sake of arguing.

    Instead I was correcting his wrong statement, which basically was:
    - VB6 is not the right tool, to write...
  3. Re: [RESOLVED] VB6: Question - Databases, where do I start?

    Yep, that's (IMO) what Niya does not keep strictly separated currently (what exactly runs client- or serverside in a modern SinglePage-WebApp).

    To write a modern WebApp, "starting a local...
  4. Thread: About array

    by Schmidt
    Replies
    20
    Views
    511

    Re: About array

    ... on Public interfaces of your own, self-compiled COM-Binaries, that is ...

    On the inside of your Binaries, UDTs offer significant performance-advantages over Classes
    (when you have to handle a...
  5. Re: VB6: Question - Databases, where do I start?

    Which contained about 90% uninformed nonsense (especially with regards to "the role of VB in modern WebApps").

    It's possible since about 20 years, to develop (and rollout) modern and fast...
  6. Replies
    13
    Views
    296

    Re: Curiosity! (about Controls at Runtime)

    You've overwritten your (single) WithEvents-Variable (cmdButton) with the second CommandButton-instance.
    To do it properly, you'd have to define one WithEvents-Variable per added Control.

    As for...
  7. Re: Connectivity to Oracle broken after lates Win10 update

    32Bit OleDB-Client-Drivers (in version 12.2) are available here:
    https://www.oracle.com/database/technologies/odac-nuget-downloads.html

    Olaf
  8. Re: How to access SQLite database file's Application ID in vb6 using VBRC6?

    This sounds, like a simple DB-Encryption(Key) would solve it...
    (more reliably than using an SQLite-FileHeader-Field which could be read or overridden by anybody).

    Olaf
  9. Replies
    10
    Views
    378

    Re: About RC6.cDataSource

    Well, you could write it this way, to avoid an "uninitialized mDS-State":


    Private Sub InitDataSource(sJSON As String)
    RemoveTreeCtrl

    Dim jsObj As cCollection
    Set jsObj =...
  10. Replies
    10
    Views
    378

    Re: About RC6.cDataSource

    Sure, if you don't give a unique Key for the DataSource in the Init-call, then you should use:
    If oDS.DataSource Is Nothing Then ...
    instead of the Key-based check...

    But as said, such a check...
  11. Replies
    10
    Views
    378

    Re: About RC6.cDataSource

    No, a simple check like:
    If oDS.DataSource Is Nothing Then ...
    or (alternatively)
    If oDS.Key = "" Then ...
    would be sufficient.



    The cDataSource-Class was written, to host 3 different...
  12. Re: RC6 SQLite - how to store/read a LONG-Array?

    Yep, that's the reason I made the comment in #6:

    "All 3 methods should work (as long as your Arrays have an Lbound of Zero)."

    Olaf
  13. Re: RC6 SQLite - how to store/read a LONG-Array?

    Your CopyMemory-call needs to be adjusted to either:
    Redim LArray(0 To UBound(bArr) \ 4 ) As Long
    CopyMemory ByVal VarPtr(LArray(0)), ByVal VarPtr(bArr(0)), UBound(bArr) + 1

    or...:
    CopyMemory...
  14. Re: RC6 SQLite - how to store/read a LONG-Array?

    It could (when you pass it the Pointer to the first member - and the right ByteLen)...

    But generally, when you deal with Blobs, you deal with ByteArrays.
    So, what you'll get back (in a Recordset)...
  15. Replies
    21
    Views
    855

    Re: run time error

    Judging from the amount of TextBoxes on your Form, you're probably organizing them in a kind of "Grid".

    And that's usually not the way to go...
    Instead (for that amount of Text-inputs), you...
  16. Re: Help me i'm drowning in my source code, hey dudes

    I've uploaded this PRNG-based "crypto-routine" about 20 (25?) years ago in the ms-vb6 NewsGroup.

    Olaf
  17. Re: Help me i'm drowning in my source code, hey dudes

    I'd suggest to make these 2 Bytes of yours -> Zero-Bytes...

    Then combine these with a Zero-Point-Device - and you can prodcue basically evrything from that...
    (Free-Energy, Black-Matter, Black...
  18. Replies
    35
    Views
    1,157

    Re: Template for RichTextBox

    I hope you do... (not sure, whether you've properly tested the "Write-Direction" I've covered in the example above yet).



    As said, get rid of any RTF-TextBoxes... (they are not needed with this...
  19. Replies
    35
    Views
    1,157

    Re: Template for RichTextBox

    Not sure, what you mean, because the goal should be, to get rid of any RTF-Texts (or -Controls).

    If I understood you correctly, then the scenario is a bit like a questionnaire, and you need:
    - a...
  20. Replies
    35
    Views
    1,157

    Re: Template for RichTextBox

    If you really want to do that, then don't go down the "RTF-route", I'd say...

    Everybody is using HTML these days to show, edit and render "RichText"...

    And if your "RichText" has (on top of...
  21. Re: About RC6.Collection.Prop (JSONObject.Prop)

    The example does not look very realistic to me.

    Why does an ID-Property has to be an Object (it usually is a Value-Type, like a String or an Integer).

    Furthermore, when the ID-Prop (for some...
  22. Replies
    14
    Views
    626

    Re: Change Event of Textbox

    I'd handle that in a dedicated ChangeIDto(NewID) routine:



    Sub ChangeIDto(NewID)
    tbID.Text = NewID 'just reflect the ID in a disabled TextBox
    ShowData NewID 'do some additional action,...
  23. Re: Convert SVG shape to cairo path for clipping operation with RC5/RC6 in vb6

    Sorry for the delay...

    I could probably provide the cSVG-Class with a few more methods, to "ease access of the DOM-Nodes" from the outside -
    but then - there's already cSimpleDOM, which allows...
  24. Re: [RC6]Install,Is RC6 unable to register under XP system?

    There already is such a thing (without the exclusive features of the RC6) -> RC5 works on XP.

    In most Projects it is really just a switch of the reference - then recompile - and you are back in...
  25. Re: Explanation of bi-dimensional Arrays ... Please!

    Not sure, but perhaps the OP wants to use Z as a kind of "LookupTable"?
    (to speedup string-concats or something)....



    Option Explicit

    Private Z() As String 'make Z reachable at...
  26. Re: [RC6]Install,Is RC6 unable to register under XP system?

    The problem goes deeper than that, because there's several exports (from common Win32-Dlls),
    which are simply not yet included in the system-libs on XP.


    Good you brought up *this* example -...
  27. Re: [RC6]Install,Is RC6 unable to register under XP system?

    RC6 is for Win7 and higher Win-OSes (due to dependencies on more modern VC++ runtimes in its satellite-Dlls).

    RC5 on the other hand should work well on XP.

    Olaf
  28. Replies
    17
    Views
    722

    Re: Problem parsing a pdf

    You might want to do that via pdfium: https://www.vbforums.com/showthread.php?878003-VB6-PDFium-Binding-(Viewing-Text-and-ImageExports)

    HTH

    Olaf
  29. Replies
    4
    Views
    313

    Re: SQLite & RC 5 query for month and year

    I wouldn't use any extra-calls to SQL-functions (like strftime) in the Select...
    instead the "Where MyDate Between ..." should perform nicely, directly on the Field-Value.

    So, what remains is:...
  30. Re: How to open file, search text and formatting in vbrichclient?

    For (forced) LineBreaks you can use the <br> tag...
    For alignment-definitions of whole "paragraphs" you can use the <p> tag...
    For example:

    <p style="text-align:right">This is some text in...
  31. Re: What is the future of VB.Next's UI?

    I'd make this at least 20 years or more...

    There's a whole lot of professions/branches, where you *need* to use a large Screen
    (many workplaces with even dual-screen-setups)...

    So the...
  32. Replies
    7
    Views
    413

    Re: VBRichClient Image sizing

    Yes, all RC6-Img-Loading-Methods accept either a passed FileName or a ByteArray (in the same Variant-ByRef-Parameter).
    There's an auto-detection of the ImageType (directly on the ImageByte-Content),...
  33. Re: Convert SVG shape to cairo path for clipping operation with RC5/RC6 in vb6

    Could you upload an example for an svg-file (which defines such a Clip-Path)?

    Olaf
  34. Re: How to open file, search text and formatting in vbrichclient?

    Since you apparently have normal "plain-text" as input-data (with a few "self-invented" format-tags)...

    Why not change the formatting of such text to html, which (for simple formats as "bold" and...
  35. Re: What is the future of VB.Next's UI?

    The current trends point in this direction, yes...


    I assume, with "pixel-based" you mean "classic, pixelbased positioning" of Widgets or Controls
    (on a classic, system-provided "Form- or...
  36. Replies
    20
    Views
    940

    Re: [RESOLVED] get part of string between ( )

    No, as far as "general rules" go... coding is (IMO) all about:
    "Avoiding to write the same functionality a second time" (DRY-principle).


    Really?

    If I'd be Luca, then I would go with the...
  37. Replies
    3
    Views
    398

    Re: MJPEG: byteArray2Picture .bas module

    FWIW, here's something a bit more "constructive" (there was nothing really wrong with your JpgDecoding-routine).

    The problem with your TestURL:...
  38. Replies
    7
    Views
    445

    Re: GraphQL has anyone used it with vb6?

    There's JSON-supporting Classes for VB6, which would have allowed you to write:

    Inp.Prop("site_id") = site_id
    Inp.Prop("on_site") = on_site
    a.s.o



    Well, so does a VB6-Multiline-TextBox......
  39. Replies
    11
    Views
    602

    Re: keep getting a input past end of file

    Zip-up your test-file and upload it here...

    Olaf
  40. Replies
    11
    Views
    602

    Re: keep getting a input past end of file

    It's the same declaration (for the compiler).
    I often use the short-form, when doing an initial assignment on the same line.



    Yes, Hex$ would better match with the expected Argument-type of...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width