Search Results - VBForums

Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: VB6 SQLite DB-Demos (based on the RichClient-Framework)

    That's what the Cnn.CopyDataBase method is for...

    You can use it to either copy a FileDB into another FileDB -
    or alternatively (as is your aim), to copy from an InMem-DB to a FileDB -
    or also...
  2. Re: Automation type not supported while using PortableDeviceManager

    It was just the first "unobtrusive Char" which came to mind (since prefixing with an underscore is only doable over square-brackets,
    which I don't like). Without prefixing, the Names of the...
  3. Re: Automation type not supported while using PortableDeviceManager

    Short answer: "The only dependency you will ever need for VB6..." ;) (SCNR)

    Longer answer: As jpbro has already mentioned, it's a well-tested Class-Library for VB6,
    the philosophy being:...
  4. Re: Automation type not supported while using PortableDeviceManager

    Here's my take at it... not using any TypeLibs, since in most cases where the TLB-Defs
    are not VB-Friendly - as e.g. due to returned WStrings, or other not directly mappable types -
    a...
  5. Re: MsScript - jscript code, run-time error 1014 - invalid character

    Nothing wrong with the JScript-code itself - but you have a character
    with the Ascii-Code &H01 in it (SOH) - shortly before your closing "curly brace" of the func-definition.

    With a somewhat...
  6. Replies
    14
    Views
    355

    Re: Incorporate Database in VB6 Program

    Wouldn't say that... DataBinding can save quite some lines of code on your end -
    and it doesn't have to be used in "full-automatic-mode" (with support from the IDE).

    In "Semi-Automatic-Mode" (as...
  7. Replies
    21
    Views
    592

    Re: Browse Data in VB 6.0 while Debugging?

    Yep, here's a more conveniently usable version of the approach (encapsulated in a little modRsWatcher.bas-Module):



    Option Explicit

    'enter the static Variable 'Rows()' of the following...
  8. Replies
    21
    Views
    592

    Re: Browse Data in VB 6.0 while Debugging?

    A relative "cheap" method, to view or "browse" the current content of (smaller or midsized) ADO-Recordsets,
    would be over "Watch-Variables" or "Watch-Expressions" in the appropriate Viewer-Window:...
  9. Re: Suggested improvement for GenPrime function in VB Rich Client DLL

    Everything you've mentioned above, is already built-in for some time - the current RC5-version is:
    5.0.50 (with current SQLite version 3.13)

    Please download again from vbRichClient.com - and run...
  10. Re: Possibly Interesting Number Puzzle

    Yep, the Extra-Modulo-Op adds a few CPU-cycles (the spared If condition apparently not saving enough cycles to balance that) -
    not sure whether you tested with "all extended options checked" in...
  11. Re: Suggested improvement for GenPrime function in VB Rich Client DLL

    Come on Ben... don't you think that "your tone" is a bit unfair?

    there is larger tutorials out there for nearly everything the RC5 has to offer -
    so that's not only "documentation" - that is...
  12. Re: Possibly Interesting Number Puzzle

    Here's my 0.02$:



    Private Sub Form_Load()
    Const Min As Long = -1, Max As Long = 1
    Debug.Print GetNewValue(0, -1, Min, Max)
    End Sub

    Private Function GetNewValue(ByVal PrevValue As...
  13. Replies
    4
    Views
    417

    Re: Calling cdecl DLL with vbRichClient5

    Passing Pointers to your Strings is definitely the right way... - so I guess it has to do
    with, how you retrieve the Handle in the first place...

    To get some Value into a VB(Long)-Variable (with...
  14. Replies
    4
    Views
    417

    Re: Calling cdecl DLL with vbRichClient5

    You need to pass the char-pointers also as pointers from the VB-end:

    ret = Con.cdeclCall(retInteger, pFunc, Handle, StrPtr(tmpLocalPath), StrPtr(tmpRemotePath))

    Let me know, how the above...
  15. Re: Need VB code to view which subset appears most

    ... <shrug> It was a general "numerical puzzle" which interested me...

    And I think, the "school-assignment-problem" (if it is indeed one), will solve itself
    automatically, in case the OP presents...
  16. Re: Need VB code to view which subset appears most

    Place them in any Folder you like ... then call the "RegisterInPlace-Script", to register
    vbRIchClient5.dll only...

    Olaf
  17. Re: Need VB code to view which subset appears most

    You need the vbRichClient5-BaseDlls, which you can download from vbRichClient.com,
    to be able to run the example.

    Olaf
  18. Re: Need VB code to view which subset appears most

    This isn't all that hard, when you do the Imports of your CSV-based Sets into DB-Tables first -
    and then later use SQL to query any result you want.

    The problem itself is a "gaussian" one,...
  19. Replies
    16
    Views
    565

    Re: not enough memory error

    For such stuff it is best, when you write a little DB-independent version
    (around a free-standing Rs, which one can create quite easily).

    The following Demo wants to be placed in an...
  20. Replies
    16
    Views
    565

    Re: not enough memory error

    Of course you would - especially if the Excel-Instance runs "Out-Of-Process".

    Ok, one could avoid addressing Excel "cell-by-cell", when the GetRows-method would
    be provided and called with the...
  21. Re: Win7 32bit incompatibilities with VS6 and VB6

    You are wrong, I've posted correct information!

    GetTickCount is absolutely bound to the Clock-*Chip* (its Interval-Interrupts), which
    you can easily test yourself, when you forbid a certain...
  22. Replies
    16
    Views
    565

    Re: not enough memory error

    Yes.

    Here's a solution, which doesn't force you to deviate all that much from what you're currently doing...

    Simply Select your Data in chunks (instead of retrieving all records in one call)...
  23. Replies
    7
    Views
    228

    Re: 440 Automation Error

    Just as a shot into the blue... (since you mentioned the DataGrid).

    Check on the failing machine, whether the following files exist
    (either in SysWOW64 when the OS is a 64Bit one - or in...
  24. Re: Win7 32bit incompatibilities with VS6 and VB6

    Why are you trying to confuse the OP?

    That there's "a layer of hardware-abstraction" involved (to deliver
    these values in a good performance) should be obvious.

    The GetTickCount-APIs are...
  25. Re: Win7 32bit incompatibilities with VS6 and VB6

    Yes, the GetTickCount/GetTickCount64-APIs are using the Clock-Chip (lower resolution, but very reliable and with great "long-term accuracy").

    It's also explained (in more detail) in the first...
  26. Re: Win7 32bit incompatibilities with VS6 and VB6

    In my first post in this thread, I've included a Link to the MSDN-Docu for GetTickCount64.

    And the first sentence is:

    GetTickCount64 function


    Retrieves the number of milliseconds...
  27. Re: Win7 32bit incompatibilities with VS6 and VB6

    Yes, that's how it should be - the TickCount64-Values are read every second (triggered by a normal,
    dynamically added VB.Timer-Control) - so the "right Column" of your immediate-window-output...
  28. Re: Win7 32bit incompatibilities with VS6 and VB6

    No, the GetTickCount64-API is safe in this regard (whereas QueryPerformanceCounter-based stuff
    had problems with what you just mentioned... at least in the past)

    Although working with a much...
  29. Re: Win7 32bit incompatibilities with VS6 and VB6

    Ermm... did you try out the Demo-Code in a new Form on your Win7-machine?
    (no Controls needed, just Copy&Paste ... and then run it, looking at the output in the Immediate-Window).

    The point...
  30. Replies
    17
    Views
    3,101

    Re: [VB6] Push to Pushbullet Demo

    FWIW...

    As for a WebSocket-Demo, which shows hot to subscribe for "Server-Push"...

    I wrote a simple example based on the cWebServer-Class of the RC5, so that one can easier
    test things out...
  31. Re: Win7 32bit incompatibilities with VS6 and VB6

    And since the OP has left XP behind as it seems - there's even the GetTickCount64() API
    (which doesn't "overflow" after 49 days anymore)......
  32. Re: [RESOLVED] Is it possible to integrate VB 6.0 DLL to other Applications?

    I'm not sure - but perhaps it's only a little bit of "Scripting" the OP is looking for...

    In that case, a simple *.vbs Textfile could be enough, to query for a password
    (e.g. per VBScripts ->...
  33. Re: [RESOLVED] vbRichClient5, sqlite LIKE wildcard issue

    The RC5-SQLite-Wrapper ensures "Unicode-capable Like-queries" -
    by overriding the built-in Like with its own Userdefined-Function...

    This function will map in turn to VBs Like-Operator - so in...
  34. Re: VBScript & Microsoft Forms 2.0 & Opus

    If you get VB6 to work, you could then easily switch over to VB6-based GUIs -
    (using the VB6-IDEs Form-Designer) by hosting normal VB6-Forms within an ActiveX-Dll.

    The exposed Classes of that...
  35. Replies
    14
    Views
    590

    Re: Need Help with MSXML and XPath

    Yeah, the MSXML-tools work differently, depending on their version...
    (the newest versions, which have more features are overly complex in their handling).

    The older version 3.0 of the...
  36. Replies
    3
    Views
    320

    Re: Windowless Buttons

    Hmm - isn't that a bit overkill, when VB6 already supports Windowless-Controls?

    Here's, what's needed (in a Project-Private UserControl with its Windowless Property at True),
    to do exactly what...
  37. Replies
    11
    Views
    434

    Re: Version Control Application VB6

    If this is for "offline-usage on Windows" (in a LAN for example) -
    then I'd take a look at Fossil: https://www.fossil-scm.org

    Fossil is more feature-rich than GIT, but has a very small footprint...
  38. Re: How do I pass an array from VB to C++ component

    Again...

    How did you declare the Function at the VB6-side?
    (please show the Declare-statement, or the Typelib-def)...


    Olaf
  39. Re: How do I pass an array from VB to C++ component

    How did you declare the Function at the VB6-side?
    (please show the Declare-statement)...


    Olaf
  40. Re: Application is freezing while copying (DoEvents doesn't work) !!!

    The RichClient doesn't use the (Scripting-)FSO - it has its own cFSO-Class which contains
    a lot more than what the Scripting.FSO has to offer.

    As for "customizing" - the RC5-threading-Demo in #28...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.