Search Results - VBForums

Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds; generated 41 minute(s) ago.

  1. Replies
    7
    Views
    287

    Re: In Motion Weighing

    I fear you're on your own in that, since that is a very specific task which involves
    a concrete measuring-system from a concrete vendor, which should have provided
    concrete specifications about...
  2. Re: VB6 Threading, using the small DirectCOM.dll-HelperLib

    No - the Demo above does not support "Classic VB-Events" currently (the higher-level
    Threading-Support of the vbRichClient5.dll would allow for that though).

    But the Demo as it currently is,...
  3. Re: Displaying a form using Graphicsdll.vbp with testGraphicsdll.vbp(Code from The Tr

    @jsvenu
    Just posted an example which shows an alternative way of:
    "creating AX-Dll-ClassInstances on their own threaded Apartments"
    into the Codebank:...
  4. VB6 Threading, using the small DirectCOM.dll-HelperLib

    Just for those who want to try a proven approach, which works reliably (and comparably simple)
    in spanning up STAs (Single-Threaded-Apartments) for over 10 years now (one can use his own...
  5. Replies
    57
    Views
    4,177

    Re: Program Testers

    The Flag which enables the selection of multiple Files is: OFN_ALLOWMULTISELECT ...

    And I tried with the new RC5-version 5.0.31 to handle the ZeroChar-Detection
    on returned results a bit...
  6. Replies
    57
    Views
    4,177

    Re: Program Testers

    Are you sure, that you didn't activate the MultiFile-Select-Flag (OFN_ALLOWMULTISELECT)?
    Because that's the return-format which gets delivered, in case you made a selection of multiple Files.

    Olaf
  7. Re: [RESOLVED] PlaySound API to pause and resume

    @Sam

    The enclosing in double-quotes should be on the FileName-part only - not around the whole mci-string.
    As for why your App.Path (which resolves to an UNC-Path then) is not working - maybe...
  8. Re: VB6 Cairo-Blending-Performance (Collision-Handling using the Physics-Engine)

    Direct2D should be shipped even with the Base-version of Win7 -
    and when the artefacts are gone, just by switching the WaitForVerticalBlank-Flag Off (to its default),
    then there's apparently...
  9. Thread: Suggestions

    by Schmidt
    Replies
    12
    Views
    472

    Re: Suggestions

    In case it is VB6 you're using - all you have to do is, to look for a Web-Hoster which offers
    "classic ASP" (not to interchange with ASP.NET) on an MS-HostSystem with an installed IIS.

    That's...
  10. Re: VB6 Cairo-Blending-Performance (Collision-Handling using the Physics-Engine)

    Here's a variation of a resizable Demo, which doesn't use DirectX or Direct2D,
    just plain Cairo-Drawing (which is entirely CPU-based).

    Introduced a rotating "Star-Wheel" in the center, to make...
  11. Re: executing two loops on different instances on one form

    Such things are normally handled within a (single) Timer which is set to the blinking-frequency - as e.g.:



    Private Sub Timer1_Timer()
    If Check1.Value Then Shape1.FillColor =...
  12. Re: About cwTree control problem in vbWidgets.dll (based on vbRichClient5.dll)

    Tuned the SQLite-version by another factor 4 now (whilst building up the initial Tree from the DB-Table).

    126749

    Think I'll leave it at that (has enough reserves for e.g. 30000...
  13. Re: [RESOLVED] Listview clear/adding items blinking, best approach to stop the blink

    I've named the Widget-Class I've posted above: cwMyWidget -
    and had a ucPanel included in the fresh Std-Project as well...

    Then the following was sufficient in the VB-Form (after drawing-up the...
  14. Re: About cwTree control problem in vbWidgets.dll (based on vbRichClient5.dll)

    FWIW, here a version, where I've converted the original JET-DB (Data.mdb) 1:1 to an SQLite-DB
    (Data.db3 ... using the built-in RC5-cConverter-Class).

    Not many differences Code-wise, but the...
  15. Re: About cwTree control problem in vbWidgets.dll (based on vbRichClient5.dll)

    If you download the newest vbWidgets-Archive from GitHub beforehand, (added an additional
    Property to cwTree, which the new Code relies on) - the following Demo should do what you want:

    126731
    ...
  16. Re: [RESOLVED] Listview clear/adding items blinking, best approach to stop the blink

    One way would be, to use the IDEs ObjectExplorer, selecting the WidgetClass in question
    (all the Events a given Class may raise, are marked with a "Flash-Icon").

    Easier perhaps is, to type (in an...
  17. Re: [RESOLVED] Listview clear/adding items blinking, best approach to stop the blink

    Yep, such a "loose Binding" as we have it here ...
    (a Control "without Data", but with an associated Data-Container -> a cRecordset)
    that allows quite some flexibility - e.g. in case you need more...
  18. Re: [RESOLVED] Listview clear/adding items blinking, best approach to stop the blink

    The (ZeroBased) VList.ListIndex can be used for a lookup into the currently associated
    cRecordset over its .ValueMatrix-Method (which works zerobased on its RowIndex, too).

    Some slight changes in...
  19. Re: [RESOLVED] Listview clear/adding items blinking, best approach to stop the blink

    If you look carefully into the line you commented out above - it is always the lstBids.Widget
    which is passed into the Theme-Rendering routine (hence the same Theme-coloring for the Header,
    also...
  20. Re: VB6 Cairo-Blending-Performance (Collision-Handling using the Physics-Engine)

    No, that's unrelated to velocity or that an RC5-Form is used now - it's simply
    stretching-artefacts which are related to the GPU (your graphics-chip) - whilst
    it works in conjunction with either...
  21. Re: [RESOLVED] SHfileOperation with FOF_RENAMEONCOLLISION or FOF_WANTMAPPINGHANDLE Fl

    I thought that was the reason of the whole exercise (to get back a relation between your original file,
    and what Filename windows came up with, due to an already existing one in the target-folder)....
  22. Replies
    17
    Views
    746

    Re: How to hash a file

    No, it is not always returned as 16.
    What's returned, depends on the current Hash-Algo you've choosen (MD5 being only one of them).

    It's a generic API - which hands back to you the needed...
  23. Re: [RESOLVED] Listview clear/adding items blinking, best approach to stop the blink

    Yes, there's an older, still supported mode - which involves the definition and usage
    of a generic (Std-Exe-Project-Private) UserControl (Code for that "ucPanel" further below).

    In conjunction...
  24. Re: [RESOLVED] Listview clear/adding items blinking, best approach to stop the blink

    Since you're using the RC5 already for the Data- and Web-related parts,
    why not use the Widgets from vbWidgets.dll for flickerfree rendering in your GUI.

    The cwVList is easily adaptable to simple...
  25. Re: SHfileOperation with FOF_RENAMEONCOLLISION or FOF_WANTMAPPINGHANDLE Flags

    Small Example for those who use it already as an "API-Replacement-helper" -
    here's the same thing using vbRichClient5:



    Option Explicit

    Private Sub Form_Load()
    Const BaseFolder$ =...
  26. Replies
    6
    Views
    282

    Re: Persisting data in vb6 classes/objects

    And to expand on jpbro's suggestion further...

    These days I'd serialize my Classes to JSON (especially when long-time-storage is planned),
    to be more flexible with regards to providing also...
  27. Re: VB6 Cairo-Blending-Performance (Collision-Handling using the Physics-Engine)

    I've just added a variation (at the end of Post #1), which should be more suitable for ScreenSaver-Mode (less CPU-intensive).

    It is using the RC5-Form-Engine instead of the VB-Forms in the...
  28. Re: VB6 Cairo-Blending-Performance (Collision-Handling using the Physics-Engine)

    You will have to handle the current Color-Value in the cBall-Class (either in a Private-Var,
    or in the cBall.Draw-Routine itself as a Static-Variable - as is currently done e.g. for the Txt-Path...
  29. Replies
    9
    Views
    375

    Re: Pointer Arithmetic

    I place Pointer-Arithmetic usually only in compiled Dlls.

    Dlls, which I always compile to Native-Code (with all extended Options checked,
    except the first one when I deal with SafeArrays in my...
  30. Replies
    4
    Views
    198

    Re: Exposing the Point method

    Here's SourceCode for a small VB-usercontrol which internally uses a 32Bit BGRA-VB-Array,
    to store the Bitmap-info (without wasting any handles, as would be the case with a true DIB).

    It can load...
  31. Replies
    6
    Views
    215

    Re: VB6 String to Integer Array

    The whole topic of fast Wordscanning (over a SafeArray), as well as efficient counting -
    was covered in a quite recent thread already:

    ...
  32. Replies
    2
    Views
    213

    Re: SQL syntax, ORDER BY use.

    In such cases you're better off, when you convert this CSV-File manually first.

    1) either inserting the parsed Records into a DB-Table
    .. suitable engines which allow easy DB-File-creation are: ...
  33. Re: Webbrowser control problem. Tested well in IDE. Failed to run as an Exe.

    Do you have any DoEvents in your Code (direct or indirect behind some of your own Method-calls)?
    Or is that "OutOfProcess-Remoting"?

    The error you've shown suggests a "Zombie" (an Object-Var or...
  34. Replies
    16
    Views
    435

    Re: Suggestions on WebBrowser and form sizing

    Since you seem unable to enhance it (getting it right from my suggested approach) -
    I guess I have to deliver code which is more suitable for Copy&Paste ... <sigh>.

    So, here we go (although this...
  35. Replies
    16
    Views
    435

    Re: Suggestions on WebBrowser and form sizing

    Well, what shall I do, other than pointing out which methods to use, to
    determine the scrollrange in case the document is larger than the viewport.

    When they don't work, then you're doing...
  36. Replies
    16
    Views
    435

    Re: Suggestions on WebBrowser and form sizing

    Seems like you didn't use the code exactly as I posted it (although claiming so in your post #9 -
    that's not nice, because it has cost me 10minutes or so (digging out the old XP-VM) - for nothing....
  37. Replies
    16
    Views
    435

    Re: Suggestions on WebBrowser and form sizing

    Hmm, just ran it on two XP-VMs I have - one quite old (still with IE6) -
    the other one updated (running IE8) - and on both machines I cannot
    reproduce what you say:

    I refrain from posting the...
  38. Re: volume calculation of irregular hexahedron element

    What have you tried so far?

    Googling this, reveals quite some stuff about the topic -
    from the "convhulln"-function in mathlab, to other sites which try to explain
    the principle on which this...
  39. Thread: Saving Forms

    by Schmidt
    Replies
    13
    Views
    504

    Re: Saving Forms

    Erm, I still can't see what it is you're trying to accomplish.

    If it is a *.frm-File-Importer, then how does any DataBase come into play here?

    If it is not (and we are talking about dynamically...
  40. Replies
    16
    Views
    435

    Re: Suggestions on WebBrowser and form sizing

    No, it is not (at least not in my test I just did on Win8) -
    the Control.Width and .Height differs from the scrollWidth and -Height of its content.

    If you make the Control somewhat smaller on...
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.