Search Results - VBForums

Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    73

    Re: Opening multiple table in ADO

    Don't misunderstand Recordsets as "Table-Representations only" - I mean they can be,
    but "a Table" is just a special (very simple) Form of "a Set".

    SQL is the language to express and define...
  2. Replies
    17
    Views
    301

    Re: Polymorphism in VB6

    The VB6-way to handle that is (as was already suggested) per "ByRef-Variant-Param",
    followed by an internal TypeCheck of the Variant in the Function-Body itself...:



    Function...
  3. Re: Using ADO to retrieve multiple recordsets while executing a query only once

    Since it already came out quite clearly, that the feature is not available "across the board"
    of ADO-OleDB-Drivers, why not implement it yourself in a small Class - and with broader
    support for...
  4. Re: Search hard drives for all files in a listbox

    If you didn't change any of the TestFilter-settings - and left the entries in the CompareList
    as they were in my posted example, then the scan filters for "typical VB-Files first" -
    AND doesn't...
  5. Re: Search hard drives for all files in a listbox

    The Results are gathered in a cCollection (which is by default instantiated with its
    Property .CompatibleToVBCollection = True)

    So you can enumerate per For Each - as well as per OneBased Index...
  6. Re: Get index number of array elements containing certain string

    Erm, what about using:
    IdxCollection.Add i
    instead of your MsgBox?

    Followed by:


    For Each Idx In IdxCollection
    Debug.Print "Lines with 'G4': "; ProgArray(Idx)
    Next
  7. Re: Search hard drives for all files in a listbox

    E.g. vbRichClient5 contains such Classes

    An unicode-aware solution for the whole problem could be written up this way:



    Private Sub Form_Load()
    'simply put the Filenames *without*...
  8. Replies
    27
    Views
    485

    Re: Save to database.. Please help

    Whilst your ScreenShots above deliver some background-info - what we are more interested in
    is your current DB-layout - as already requested a few postings further above:

    "... you should describe...
  9. Replies
    56
    Views
    835

    Re: Find file in each Drive and Sub Folder

    I already gave you help to the best of my knowledge - by encouraging you,
    to "try yourself in some other area - seeking another challenge".

    Coming up with a decent Virus-Scanner is "out of reach...
  10. Replies
    56
    Views
    835

    Re: Find file in each Drive and Sub Folder

    That would not be sufficient in case of e.g.:
    Setup.exe
    Homepage.html
    or *.dll or *.ocx binaries, as e.g. msvcr71.dll,
    which often are directly hosted in some Apps Resource- or Bin-Folders.
    ...
  11. Re: Search hard drives for all files in a listbox

    There's Directory-ListClasses which support multiple wildcard-containing filters -
    and the fully qualified filenames (without wildcards) could be matched against a
    Hash-List (e.g. a VB.Collection...
  12. Replies
    56
    Views
    835

    Re: Find file in each Drive and Sub Folder

    I cannot make head or tail from what this app shall accomplish when it's finished at some point.

    In your post #42 you write that you will scan all Files and Folders on a drive - and compare
    them...
  13. Replies
    27
    Views
    485

    Re: Save to database.. Please help

    Sorry, but that is not true - everything that was said would help you, if only you'd be willing to invest some time...

    And what you wrote in your post #3:


    comes across quite impatient - aside...
  14. Replies
    27
    Views
    485

    Re: Save to database.. Please help

    Oops, sorry - corrected now in original Post #4.

    Olaf
  15. Replies
    27
    Views
    485

    Re: Save to database.. Please help

    I'd recommend to use ADO instead of DAO when dealing with MDBs (simply more examples).

    Have a look at the two simple Demos below - they include a small Helper-Module,
    which makes it easy to deal...
  16. Replies
    1
    Views
    97

    Re: VB design/run mode

    Yep - for example the info, if there's an error-message which is thrown, before the IDE "gets down"... ;)

    In case it really is "a silent exit" - then you made perhaps a mistake in the...
  17. Re: Question: How to "Pause and Resume in VB6 DoEvents loop"

    A full implementation which doesn't use any DoEvents (instead favouring Timers)
    is shown below - Ok - and a Start/Stop-Button is also contained, as well as a
    slider which you can use to adjust the...
  18. Replies
    21
    Views
    269

    Re: (RESOLVED) - button captions - please help

    Although it doesn't really make a difference, if you access a self-defined Public-Property of
    a certain Form-Class - or a selfdefined TextBox on that same Form-Class - both require
    that you use a...
  19. Re: Object's which can show as notification

    If you encapsulate a bit (in modules, classes and usercontrols) then it's "getting messy more slowly". ;-)

    Others mentioned it already - a TrayIcon might just be what you need (able to popup...
  20. Re: [RESOLVED] Save different text for each Item in ListBox

    Your code-adaptions look good - you adapted the Field-Type from Date to String already -
    so everything should work as before in the other example - and after testing it here - it *does*.

    The...
  21. Re: [RESOLVED] Save different text for each Item in ListBox

    Try to remove the MSADO26.tlb from your Setup - it is not needed.

    Also the vbRuntime itself (msvbvm60.dll) does not need to be included in the Setup.

    As for the "File already exists" error -...
  22. Re: What is the proper way to exit a nested For loop

    +1

    ...nothing wrong with a single, direct Jump-instruction here -
    the two 'Exit For' Jump-instructions (combined with an additional If-check)
    really do look a bit "clumsy" in comparison......
  23. Re: [RESOLVED] Save different text for each Item in ListBox

    Hopefully you didn't include any of the ADO-libraries, since they come already
    preinstalled on any Win-OS.



    Was there no error-message - and in case there was - what did it say?



    No -...
  24. Re: [RESOLVED] Save different text for each Item in ListBox

    Just a small Update to the version above, now demonstrating also the Filter-capabilities
    of the Recordset which are useful in this small Demo, to e.g. filter out "ToDo-Dates of the past"
    (which...
  25. Re: [VB6] GDI+ Workaround: TIFF > JPEG-compressed images

    You did, but thereby ignored the results I've already posted further above (same checksums in
    repetitive runs over multiple PreMultiply-UnPremultiply-steps).

    So the "naive integer formulas" you...
  26. Re: [VB6] GDI+ Workaround: TIFF > JPEG-compressed images

    Have to agree with Tanner on the premultiplication-part, since I cannot reproduce what you describe in a small test I just wrote:

    Here's a PNG to download (used within my Demo-Source - the file...
  27. Re: Save different text for each Item in ListBox

    The IsDate()-Function I've choosen works "localized" (country-specific).

    And the date in the "new-Date"-TextBox as you see it on my screenshot,
    is how we notice dates here in germany ...

    If I...
  28. Re: Save different text for each Item in ListBox

    IMO in your scenario you don't need a "list comparison" - and I also don't see why everybody
    seems so eager, to save "multi-attribute-data" in a plain-text-file with VBs old-fashioned ANSI-FileOps....
  29. Replies
    9
    Views
    295

    Re: How to update a vb6 exe fast

    If you want to avoid (in a huge Std-Exe-Project) longer compile-times, then you have two options:

    1) Compile your entire Project to PCode (the native C-Compiler takes quite a bit longer)
    2) Put...
  30. Replies
    40
    Views
    1,867

    Re: How to mamage files with non-English names?

    My problem is, that you didn't tell us if you plan to use the RC5-lib I recommended
    for all your Unicode-File-stuff - or if you are in search of an "API-solution".



    And here's another problem,...
  31. Re: [VB Rich Client] - How to store and play/show Videos and PDFs from SQLite DB?

    As long as the ByteArray-Blobs fit into memory in a single allocation - you could do that.

    This usually makes no problems with PDF-Blobs (which are typically below 10-20MB)-
    but could make ...
  32. Re: Code to Set a registry value Dword

    The use of VBs Len-Function is Ok in this case, since it reflects "properly typed Variables" correctly - with
    regards to the inherent Byte-Length of their type (independent of the Content which is...
  33. Re: Drop a control on constituent controls of a user control

    Whatever you want to put into the Data(Source)-Parameter which comes in per OleStartDrag-Event
    (StdPictures, Plain-Text, RTF-Text, FileNames/Paths, your own Bytearrays etc.)...

    In the...
  34. Re: Drop a control on constituent controls of a user control

    That's true - and although it would have been nice to have a fix for this particular problem (to avoid
    copying of private *.ctl-Files from a "leading source") - *when* it happens to you, it might...
  35. Re: Drop a control on constituent controls of a user control

    It was not "feeling like arguing" - it was just a correction to your blanket statement where you said that you:



    Because that's just misleading info for community-members who consider to use...
  36. Re: Drop a control on constituent controls of a user control

    And so what?

    User-controls are basically the same thing as normal VB-Classes (just having additional "visual behaviours").
    And in the same way as with normal VB-Classes - there can be...
  37. Re: Transfer LONG to SINGLE (and vice versa) with pure math.

    Still wondering about the "why trying something like that?"-question.

    Was it only for educational purposes - or did you try to solve a real practical problem?
    (from your OP that seemed to be the...
  38. Re: Drop a control on constituent controls of a user control

    Nah - there's dozens of scenarios where UserControls which contain additional Controls make perfect sense.
    And I also don't see, where the "additional dependencies" would come from (e.g. when you...
  39. Replies
    2
    Views
    143

    Re: Listview lvwList and fullrowselect?

    You mean a Control which puts out something like this here?:

    http://vbRichClient.com/Downloads/ucStripes.png

    Well - for simpler Controls like this, it is often faster to write one from scratch...
  40. Replies
    40
    Views
    1,867

    Re: How to mamage files with non-English names?

    The cDirList-Class is part of vbRichClient5.dll (a free Binary which needs to be downloaded and registered first).
    As for *.vbgs being "much easier" - that may be true when you still debug things in...
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.