Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.71 seconds.

  1. Re: How to create a multires icon DLL with sizes up to 256x256 like shell32.dll?

    Why do you want to use a *.dll as the "container-file"?

    There's much better (non MS-specific) "Single-File-Containers" for storing resources -
    (as e.g. a Zip-archive - or an SQLite-DB or a...
  2. Replies
    4
    Views
    199

    Re: Need help - about RC5 drawing

    Yep, "figuring it out oneself" (based on the Cairo-Tutorial) is how one should approach the Cairo-Wrapper.



    That problem is a bit "special" (not covered by the tutorial) -
    but the following...
  3. Replies
    16
    Views
    367

    Re: Microsoft.ACE.OLEDB problem

    Do you have a (PSC-Github)-Link or a Zip-File for that original database-project?

    Olaf
  4. Replies
    16
    Views
    367

    Re: Microsoft.ACE.OLEDB problem

    Certainly (much) slower than SQLite, but decent enough for normal purposes.

    Olaf
  5. Replies
    16
    Views
    367

    Re: Microsoft.ACE.OLEDB problem

    Nope, MS never produced a Jet-DBEngine in version 40: https://en.wikipedia.org/wiki/Microsoft_Jet_Database_Engine

    The OleDB-Connectionstring for the one I mean, is:...
  6. Replies
    16
    Views
    367

    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...
  7. Replies
    124
    Views
    1,780

    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...
  8. 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...
  9. Thread: About array

    by Schmidt
    Replies
    20
    Views
    560

    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...
  10. 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...
  11. Replies
    13
    Views
    315

    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...
  12. 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
  13. 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
  14. Replies
    10
    Views
    418

    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 =...
  15. Replies
    10
    Views
    418

    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...
  16. Replies
    10
    Views
    418

    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...
  17. 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
  18. 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...
  19. 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)...
  20. Replies
    21
    Views
    878

    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...
  21. 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
  22. 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...
  23. Replies
    35
    Views
    1,196

    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...
  24. Replies
    35
    Views
    1,196

    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...
  25. Replies
    35
    Views
    1,196

    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...
  26. 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...
  27. Replies
    14
    Views
    656

    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,...
  28. 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...
  29. 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...
  30. 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...
  31. 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 -...
  32. 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
  33. Replies
    17
    Views
    760

    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
  34. Replies
    4
    Views
    314

    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:...
  35. 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...
  36. 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...
  37. Replies
    7
    Views
    417

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



Click Here to Expand Forum to Full Width