Search Results - VBForums

Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds; generated 28 minute(s) ago.

  1. Replies
    3
    Views
    131

    Re: get currency value from web page

    Nah, IE-DOM-Rendering is not really different (it's not using any hWnd-based CommonControls
    to render Formular-Elements). To render Scrollbars and Buttons with the system-theme,
    uxtheme.dll will...
  2. Re: CSV files and a big problem with notes field!

    Your given example is valid and well-parsable CSV - as the Excel-Importer demonstrates -
    so the statement that "no one can split them" is obviously not true in case of Excel
    (and for other...
  3. Replies
    6
    Views
    191

    Re: Other networking method???

    The easiest way is per UNC-Path-Notation:



    Dim DBPath As String
    DBPath = "\\MyServerName\MySharedFolder\My.mdb"
    Cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DBPath

    ...
  4. Re: Implementing "LAN-wide Variables" with a broadcast? Other approches?

    That's basically the same P2P approach, LaVolpe already outlined (in more detail) in post #9.

    The problem with that is to ensure *reliably* reaching "all other PCs" - because
    when not reaching...
  5. Re: Implementing "LAN-wide Variables" with a broadcast? Other approches?

    As long as there's no other machine on that LAN which is guaranteed "On",
    (all PCs Off), you will have a hard time to manage "LAN-global-information".

    Easiest solution is always, when you have a...
  6. Replies
    9
    Views
    625

    Re: need help about CursorType/CursorLocation

    Yep, meant to write: "... any DB would serve ... (do, suffice, you name it)" -
    sorry for the confusion.

    Olaf
  7. Replies
    9
    Views
    254

    Re: DAtaReport Image From Database

    There's always ways around a certain problem - but that would require a more elaborate
    description from your end (e.g. describing the Pages you want to generate - maybe they
    are simple enough ...)...
  8. Re: same OS, same regional settings, different boolean value localization

    I'm out of ideas then - thought these APIs were worth a try - but apparently the cause is else-where.
    (I'd guess the setup of a certain program has overwritten some library it shouldn't have on the...
  9. Re: Using ShellExecute to launch default Web Browser

    Please check for different behaviour in the IDE and when running compiled (on your problem-machine).
    Might be, that since the IDE usually runs elevated these days, a different Registry-hive is...
  10. Re: same OS, same regional settings, different boolean value localization

    Did you try - as long as the process runs, and after setting to '2', what Value is reported for:
    MsgBox CStr(True)

    Aside from that test - did you run your small App as Administrator?
    Maybe the...
  11. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    Currently I'm still both - but had my own (mid-sized) software-company for a while - and
    worked in all kind of areas (large and small DB-systems Oracle/SQLServer/PostgreSQL/JET/SQLite, ...
  12. Re: Creating shortcuts without using Script Host Object

    vbRichClient5 is a free available, modern Framework for VB5/6 which contains a lot of
    useful Helper-Classes - many of them without alternative in the VBClassic-universe.

    The above New_c.FSO...
  13. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    Thought, I already demonstrated per code, how to make *your* design work with single Field-artificial IDs
    (and in my *adaption* of your design, there is no inconsistencies possible as well).


    ...
  14. Re: Creating shortcuts without using Script Host Object

    For completeness (and to introduce a Helper-Object, which can also set e.g. the
    "Run as Administrator"-flag, in case that's needed)...

    Here's what it looks like when vbRichClient5.cShellLink is...
  15. Re: same OS, same regional settings, different boolean value localization

    Yes, on your "Vero" machine I'd run a small, new-compiled VB6-Program (in Admin-Mode),
    which only contains a *.bas-Module with the following code-content:



    Option Explicit

    Private Declare...
  16. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    You mean things as those "Enum-Like" 'ContactType'-Fields
    (with "numbered Values" for 'Home', 'Work', 'Vacation' etc.)

    Well, not entirely sure if that's a question which touches our thread-topic...
  17. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    Nope - it was you who introduced that "worst violation of third normal form" first with your given example
    (and I clearly pointed out in my posting, where it was violated - by mentioning that...
  18. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    My point was, that you just cannot mark something you list in your bag of: "things you should never do"
    (as e.g. showing Users artificial IDs) as one of the strongest disadvantages "when you do...
  19. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    Well, as with any problem - there's dozens of ways to solve it efficiently.

    And my approach would look completely different from yours...

    When your Software offers to handle Phone-Calls in an...
  20. Re: Reading a text file, as Binary, Line by Line ?

    One should use partial reads on huge Files which are larger than - say - 100-200MB,
    because above that the Memory-allocator could start to choke whilst attempting to
    reserve consecutive memory...
  21. Replies
    8
    Views
    2,746

    Re: QRCode 2D barcode

    There's also an implementation in VB6-code from Leandro Ascierto which worth a try:
    http://leandroascierto.com/blog/qr-code/

    Olaf
  22. Re: Reading a text file, as Binary, Line by Line ?

    In case you mean the routine you posted in #2, this is not really recommendable
    (since it still contains at least one bug and is not written very efficiently).

    Below is an alternative routine...
  23. Re: [RESOLVED] Finding the MODE of a list of integers

    I'd agree with the others, that your "aggregating into groups"-problem would best be solved directly in SQL,
    because SQL already supports a nice built-in mechanism for aggregations (Group By, used...
  24. Thread: encryption

    by Schmidt
    Replies
    2
    Views
    129

    Re: encryption

    Aside from '42' which is obviously a quite compatible answer to even the most difficult questions,
    we'd have no real clue I guess - unless you care to share a bit of "contextual info" with us...
    ...
  25. Re: [VB6] Activation of PictureBox.DragDrop event

    Maybe I did too - because it's not very clear what the OP really does with his Labels
    (and which of the Drag-mechanisms is involved - the older one - or OleDragDrop).

    If it's only for "just...
  26. Re: [VB6] Activation of PictureBox.DragDrop event

    The system is (in Auto-Mode) using the DragDetect-Function
    (or some other way which respects the current, GetSystemMetrics-retrievable Drag-Rectangle-settings)...
  27. Re: Reading a text file, as Binary, Line by Line ?

    Well, in the case of UTF8-decoding I'm nearly 100% sure, that the "piece of VB-Code-without APIs" you
    found on the Web will produce *differing* results than the Systems-MultiByteToWideChar-APIcall...
  28. Re: Reading a text file, as Binary, Line by Line ?

    Well, as a valid Unicode-Encoding, UTF-8 is surely Unicode.

    All in all a really nice and efficient format for storage and transfers, because it not only
    covers the whole Unicode-range, but is...
  29. Re: Toolbar with separator height when wrapped

    A simple way to suppress the effect (without searching for a real Fix in a different version of
    a maybe API-created CommmonControls-ToolBar) would be an additional hosting Container
    around the...
  30. Replies
    8
    Views
    292

    Re: vb6 application on linux

    Well, the BaseClass-Instance of an OCX can be created per DirectCOM.dll quite fine,
    but then the following and necessary "siting-process" of that "Control-Base-Instance"
    was never working entirely...
  31. Replies
    8
    Views
    292

    Re: vb6 application on linux

    Never tried the SxS regfree mechanism on Wine (because the regfree-mode
    per DirectCOM.dll + GetInstance-call was always working flawlessly there).

    Not sure how far they are in the meantime with...
  32. Replies
    8
    Views
    292

    Re: vb6 application on linux

    The Wine-Layer on Linux is handled quite similar to the SYSWOW64-Layer on Windows itself.

    It's a set of Dlls which translate and map to deeper system-functions in a Win32-API-compatible way.
    ...
  33. Re: Reading a text file, as Binary, Line by Line ?

    Then why not simply reading it first into a ByteArray completely:


    Sub Test()
    Dim B() As Byte
    B = ReadFileBytes("C:\Tests\SomeUnicode.txt")

    'now, one can check the first few Bytes of...
  34. Replies
    13
    Views
    282

    Re: Please help me with calculator????

    Judging from the Forms Icon, this seems to be a Windows-Forms-GUI -
    and the thread should be moved into the proper (.NET)Forum ...

    Olaf
  35. Re: VB6 ActiveX DLL Composition and Versioning

    They are (at their base) just plain Windows-Dlls which usually follow StdCall-convention -
    and export (at least in case of VB6-generated ones, but also in case of many C++ generated COM-Dlls) - ...
  36. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    I already asked you, if you're willing to go through the Wikipedia-disadvantage-list with me,
    so is this a yes?




    Funky, if you want me to take you seriously - you should put a bit more...
  37. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    Nope, after reading the thing, I absolutely don't like it, because the guy has no clue what he's talking about.

    He contradicts himself in his "argumentation" - and here's where I draw the line:
    ...
  38. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    Too bad there's no one here in the forums, who did have to deal with exactly this issue in one of his DBs.
    Would have been interesting to hear an opinion (and about "concrete costs") firsthand.

    ...
  39. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    Proofing against a future which may never exist. Violation of Yagni principle. Thin.
    [/QUOTE]

    This is not YAGNI, because it doesn't complicate your code (for a possible future gain) -
    it...
  40. Replies
    104
    Views
    2,434

    Re: Comments invited (primary keys)

    Again, I offered "to go through the wikipedia-disadvantages-list" with you, if you want -
    in my book, that's not a "dismissal of the arguments of others", but the exact opposite.




    It was...
Results 1 to 40 of 499
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.