Search Results - VBForums

Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: Displaying a form using Graphicsdll.vbp with testGraphicsdll.vbp(Code from The Tr

    Ok, then it's not a hack, but a "manipulation of the vbRuntimes default-startup-
    mechanisms, which involves TLS, in case binaries are loaded and initialized".

    Sounds a bit nicer I guess... ;)
    ...
  2. Re: Displaying a form using Graphicsdll.vbp with testGraphicsdll.vbp(Code from The Tr

    Downloaded your "Threading in Standard-Exes"-Examples, the Zip which contains 4 Folders:
    Test1, Test2, Test3 and Test4...

    Opened the Project in Folder Test2 and added a new line (in...
  3. Re: Displaying a form using Graphicsdll.vbp with testGraphicsdll.vbp(Code from The Tr

    Because in your approach you're overriding VBs Default-TLS-Handling with
    your own TLS-creation in an ASM-thunk:



    ' push tlsIndex
    ' call TLSGetValue
    ' pop ecx
    ' push ...
  4. Replies
    77
    Views
    42,582

    Re: VB6 - DirectShow WebCam Minimal Code

    Did you see the Demo I've posted in #38?
    It replaces already most of the functionality of the FSWrapper with other typelibs (which come preinstalled on the system).

    Olaf
  5. Re: Displaying a form using Graphicsdll.vbp with testGraphicsdll.vbp(Code from The Tr

    I already did that some time ago - and it is a bad written example, which doesn't play by the rules...
    The example is passing a (mainthread-created) CWnd to the workerthread - and then changes...
  6. Re: Displaying a form using Graphicsdll.vbp with testGraphicsdll.vbp(Code from The Tr

    That much I gathered as well - my question was: Why?

    VB will work *reliably* across threads only:
    1. when COM-Method-Calls are either marshalled -
    2. or when they are avoided - and...
  7. Re: Displaying a form using Graphicsdll.vbp with testGraphicsdll.vbp(Code from The Tr

    The reason nobody replies anymore is perhaps, because you still didn't clearly describe,
    what it is you're after.

    I have no clue what all this "hacking around" on VTables has to do with the ...
  8. Re: summ value from listview1 based index in column

    That's actually not true - you can do aggregating Group-Selects quite fine with the JET-engine. Olaf
  9. Replies
    5
    Views
    216

    Re: Problem Using TransparentBlt in VB6

    There will be no graininess, when you work with a good graphics-lib, which handles
    Alpha-channels and supports anti-aliasing.

    The VB6-methods (as well as the Win-GDI-APIs) are not really suitable...
  10. Re: summ value from listview1 based index in column

    If this snippet of data came from a DataBase, then a simple Select (with a " ... Group By Your_Col2 ..." Clause) should be sufficient to hand out what you want. In case you plan to avoid using any...
  11. Replies
    3
    Views
    172

    Re: Loop through the listview

    You should not do it this way.
    As I explained already in your other thread here (last posting):...
  12. Re: [RESOLVED] Fill MS Word Plain Text Content Control using VB6 with MS Access Table

    Nothing wrong with that - there's also the possibility to "Lock all other Cells"
    (input only allowed on the "Form-Fields")...

    But that requires all Users having Excel (or OpenOffice-Calc)...
  13. Replies
    5
    Views
    217

    Re: Detect if Running in a Virtual Machine

    I'd think that the already proposed way (looking up some Hardware-Descriptions per WMI),
    isn't all that bad.



    Private Sub Form_Load()
    Dim oItem
    With GetObject("winmgmts:\\.\root\cimv2")...
  14. Replies
    18
    Views
    373

    Re: The application freezez without any error

    Exactly.

    Now consider, what's the most direct representation of a DB-Table(SubSet)?
    Right, it's the Recordset.

    And to re-adjust your above sentence accordingly (in a more common meaning):
    "A...
  15. Replies
    12
    Views
    243

    Re: all txt files in one...

    Sorry, have mistaken you for someone else (thought you were
    the guy, I had the discussion about "flat-file-databases" with)...
    I meant the free lib-package on vbRichClient.com...



    Yes, if...
  16. Replies
    12
    Views
    243

    Re: all txt files in one...

    You could use the RC5-lib for that, to solve this conveniently (without worrying
    that the outfile might become larger than 2GB)...



    Private Sub Form_Load()
    Dim DL As cDirList 'create a...
  17. Replies
    25
    Views
    826

    Re: EPOCH to Date

    The formulas are not all that difficult (simple addition or subtraction,
    divided or multiplied with "seconds per day")

    Here's the reverse:



    Option Explicit

    Private Sub Form_Load()
  18. Re: VB crashes after FindClose() returns; but only if same dir

    Well, I guess it was more my frustration speaking there... ;)

    Wasn't meant as a slight at Leandro - who, as far as I can see here:
    http://leandroascierto.com/blog/tag/findfirstfile/

    has a...
  19. Re: VB crashes after FindClose() returns; but only if same dir

    Your code is crashing, because you're using an incorrect struct-definition (in conjunction
    with the W-APIs).

    So, either use well-tested libraries - or API-Definitions/Implementations from...
  20. Thread: VB6 and USB

    by Schmidt
    Replies
    22
    Views
    665

    Re: VB6 and USB

    Yep.

    @OP
    ...without giving us the name(vendor) of your USB-Device, there's only so much one can do from here...

    They usually come with drivers - or in one of the HID-categories - or support...
  21. Replies
    11
    Views
    345

    Re: Getting real-time weather information

    Here's another service:
    http://openweathermap.org/current

    with a bit more "requests per timeunit" in their free offer:
    http://openweathermap.org/price

    60 per minute and 50000 per day is not...
  22. Re: Fill MS Word Plain Text Content Control using VB6 with MS Access Tables

    I was only guessing, that the produced docs would be send per Mail to several recipients.
    (avoiding to send an executable or something in a *.zip, to keep it simple and the spam-
    and virus-scanners...
  23. Re: Fill MS Word Plain Text Content Control using VB6 with MS Access Tables

    Yeah - sure, the VB-Code is both (template and field-generator).
    The Field-Generator already encapsulated in a function, so not really difficult,
    to use it in a loop.

    You can adjust also the...
  24. Re: Fill MS Word Plain Text Content Control using VB6 with MS Access Tables

    By far the easiest way is (IMO), when you work over HTML already from the beginning.

    The needed VB-Code to produce such HTML is pretty small and straight-forward,
    so with this Code:


    Option...
  25. Re: Displaying a form using Graphicsdll.vbp with testGraphicsdll.vbp(Code from The Tr

    The problem with that is, that nobody here really knows,
    what the purpose of the whole exercise is.

    From what you posted so far, your problem seems to be that you
    don't want to move certain...
  26. Re: How to run other queries in the middle of a Cnn.BeginTrans...Cnn.CommitTran bloc

    No, not really - in the link above (http://www.sqlite.org/lang_transaction.html) is clearly stated:
    "no other database connection ... will be able to read the database ... until the transaction is...
  27. Re: Displaying a form using Graphicsdll.vbp with testGraphicsdll.vbp(Code from The Tr

    That's also not possible in C/C++ ...
    (hWND - and hWnd-derived cross-thread hDC-Painting per GDI is not threadsafe,
    it should only be done from within the thread which runs the Message-Loop)


    ...
  28. Re: how to stretch pic (background) of form

    Sure, but I thought the problem was, how the OP could achieve an AutoScaling for his BitMap-based BackGrounds.

    And in case of EMF-wrapped Bitmaps (as the above RC5-code would produce them),
    their...
  29. Re: VB6 Simple FTP-Client (PASV-mode, based on Winsock.ocx)

    Ah, well - that's thought to reflect what comes back over the Data-Connection -
    for example what comes in from the NLST and LIST commands will be reflected there
    (although that reflection is not...
  30. Replies
    12
    Views
    292

    Re: Rotating Objects

    With a small "Helper-Widget", one can achieve free scaling (and rotation)
    on any Widget that's contained in the vbWidgets.dll (the GitHub-based Project,
    which is based on vbRichClient5) - on an...
  31. Re: how to stretch pic (background) of form

    The above function: ConvertStdPicToEmf
    (when placed in a Module of the OPs Main-Project)

    could then be used, to convert his 10 Form-BackGround-images
    directly in the Immediate-Window (without...
  32. Re: how to stretch pic (background) of form

    Nah - once in an *.emf (or the older *.wmf), a VB.Form (or VB.PictureBox)
    will always scale such content automatically (since for EMF-content, the VB-IPicture-
    Implementation will return...
  33. Re: why "withevents" keyword is not supported in a standard module?

    To expand a bit on what Bonnie said about these not met "plumbing-requirements":

    1) the compiler does compile *.bas-Module Methods always to the normal __stdcall ABI
    2) whereas Method-Defs in...
  34. Replies
    16
    Views
    635

    Re: For Data Report

    You can use the Format-Function, to convert from a VB-Date-Type to a DateString.

    E.g. in ISO-Format like this:
    Format$(YourDateControl.Value, "\#YYYY\-MM\-DD\#")
    or...
  35. Re: cannot DISTINCT 1 field And 2 Fields at the same time why?

    I take this "yes" as:
    Yes the PriceCosts shall be "associated" with the (distinct) PriceName.

    And since there are different (multiple) PriceCosts you will have to somehow
    "gather" or...
  36. Re: [RESOLVED] Best Practice For Database Access Format

    Thanks for the confirmation (and for not taking things personally)...

    Olaf
  37. Re: check txt dimension before store into array

    Well, that could already serve as a good example why well-tested and fast "general purpose libs"
    (as e.g. the SQLite-DBEngine) make so much sense (compared to "handwritten parsing-code for a narrow...
  38. Re: [RESOLVED] Best Practice For Database Access Format

    No, that's not logical at all, since the question was asked in a VB6-Forum.
    What you will have to consider is, that the so called "Access Format"
    (the well-known *.mdb's) is simply the...
  39. Replies
    69
    Views
    1,820

    Re: Unrecognized database format .mdb in VB6

    Well, that's a start then... :)



    Adding records: Rs.AddNew
    Editing records: just change the Rs.Field(SomeFieldName).Value
    Delete records: Rs.Delete

    All followed by an Rs.Update or...
  40. Re: check txt dimension before store into array

    That count is right - but an additional condition was covered by the Select,
    which only returns Records (Lines) which start with "And the LORD" and:
    - occur more than once in the bible

    Olaf
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.