Search Results - VBForums

Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: Generating a unique fixed-length hash in VB6

    FWIW, maybe the following could be considered a compromise...

    It is using 30Bits from two different 32Bit-Hashes, then combined and
    resulting in a 12Char-AlphaNumeric Output.

    Each of these...
  2. Re: Generating a unique fixed-length hash in VB6

    Well, the underlying math is not really all that difficult (in case the Hash-Function
    in question is "near ideal" - and many CRC-algos are considered to coming close,
    and are well-researched...
  3. Re: Lost code window mouse wheel scrolling under Windows 10

    What works fast and reliable (at least here on Win8 and Win8.1) with regards to
    registering is the following:

    - Open an Explorer-Window (not in full-screen, because you will need to perform a...
  4. Replies
    11
    Views
    320

    Re: A basic question about strings

    Just another routine on the pile, which approaches the problem in a more generic fashion
    (a function, which simply ignores "all withespace" and returns a WordList in a String-Array):


    ...
  5. Replies
    8
    Views
    283

    Re: WebBrowser control in 2015

    I have WB.Silent=True set in either case...

    When it is left at False (whilst dealing with "unknown" or changing sites one navigates to),
    then even in "elevated mode" (which since version 9 of the...
  6. Replies
    8
    Views
    283

    Re: WebBrowser control in 2015

    One reason for the many script-errors is often, that the Browser-Control
    (no matter if used from VB6 or .NET) always simulates an IE in version 7.

    It does that by default, no matter whether the...
  7. Replies
    7
    Views
    276

    Re: 32 bit or 64 bit ?!

    All 64Bit Windows-Client-OSes (XP, Vista, Win7, Win8, Win10) come with support for
    32Bit-Apps (providing a complete Layer of the 32Bit-Sytem-libs, usually in SysWow64).

    And a 32Bit-App(Process)...
  8. Replies
    6
    Views
    483

    Re: [RESOLVED] combine jpg side by side

    And here for comparison a version which is using another helper-lib (vbRichClient5)...

    The example below is splitting this task into reading the JPGs from a given Path
    into ByteArrays first...
  9. Replies
    8
    Views
    248

    Re: Need help with Unicode

    That's the right output you see - and since a VB-Tooltip is implemented
    as an ANSI-Tooltip, an automatic Uni-to-ANSI conversion is done under
    the covers (reducing the "WString-to-an-AString")...
  10. Thread: vbObjectError

    by Schmidt
    Replies
    7
    Views
    530

    Re: vbObjectError

    It's just a "safe point to add to" (a negative number with enough room to spare in upwards-direction).

    I guess the range between 512 and 65535 was kept in reserve for newer VB(Classic)-Versions,...
  11. Replies
    8
    Views
    248

    Re: Need help with Unicode

    More details in my answer to your questions here:
    http://www.vbforums.com/showthread.php?800789-RESOLVED-Write-Unicode-text-to-a-file-via-API-correctly&p=4907591&viewfull=1#post4907591

    Normally...
  12. Re: [RESOLVED] Write Unicode text to a file via API correctly

    Then why on earth did you say, that: "...I do know below code writes out a unicode text file"
    (in your post #10)?


    Because Bonnies Code is (as usual) correct.


    I will explain further below...
  13. Re: Write Unicode text to a file via API correctly

    The code in your post doesn't do any Unicode-Saving -
    and what it puts in, doesn't come out.

    Mikisofts routine was basically correct (aside from the OpenFile-call) -
    he was just missing to...
  14. Re: Setting a Custom Class Variant property, sets it to Empty

    Well, you can pass them just fine ByRef into the callee -
    and inside that called method the passed ByRef-Value will be
    correct - and that method will dutifully even try to change
    that passed...
  15. Re: Expose C# List to COM Interop and access it from classic asp

    If you have already solved the problem, how to do interop,
    then all you have to do (at the C#-side of things), to convert
    your <List> content (in case it has "multiple Columns") - into
    a...
  16. Re: COMRemoting(Client Side)(Server Side)RemotingCOM E_NOINTERFACE

    In case I'm not too late with offering help - and you're still interested...

    Could you post the Interface of the old Serverside Class -> ClassVB6COMServer?
    (if possible as VBClassic-Code, meaning...
  17. Replies
    3
    Views
    228

    Re: Change DB collation ?

    As a workaround - e.g. when the SQLServer in question comes "as is"
    (as part of a WebHosting-package for example) one can "override" the
    Default-Collation at "Table-Column_Level" per normal...
  18. Re: A better way for Print Page dpi awareness

    Those differences are quite normal, and you don't even have a guarantee, that
    each and every Printer will follow a certain Font-Selection-Command with the exact
    font in that exact metrics.

    The...
  19. Thread: SQL Query

    by Schmidt
    Replies
    8
    Views
    209

    Re: SQL Query

    Well, you didn't do a good adaption of the "Group By"-approach I've posted in #6.

    What you also didn't mention in your questions so far was, that you use SubString-Expressions
    on your Name...
  20. Thread: SQL Query

    by Schmidt
    Replies
    8
    Views
    209

    Re: SQL Query

    I'm guessing a little bit, but I assume that you want to show an ID (your Code-Field,
    which is probably unique in your Table) together with the Name-Column in the result
    (but the Name-Column...
  21. Replies
    18
    Views
    496

    Re: Rotate ball inside circle

    Maybe one more thing in this regard which is worth mentioning...

    All the current Demos which deal with such "rotated Placements" (Passels, Tricks as well as mine)
    lack a certain thing (which...
  22. Replies
    18
    Views
    496

    Re: Rotate ball inside circle

    The Demo is neither "slow", nor will it "cause problems" (the GDI-AlphaBlend-call
    is hardware-accelerated on most systems, even on Win7 and Win8).

    What's achieved with the current Canvas- and...
  23. Replies
    18
    Views
    496

    Re: Rotate ball inside circle

    A better way these days (to get rid of the "jagged edges") would be,
    to render PNG-image-resources with the AlphaBlend-API.

    @jmsrickland
    It shouldn't be that hard, to get some nice PNG-Images...
  24. Re: How to search by letter with ADODB and DataGrid? Please help!

    There's some cases where the older variant of using '*searchterm*' still applies
    (not sure though... was it when using DAO or something?) - but in the meantime,
    when using ADO/JET one has to use...
  25. Thread: Client/Server

    by Schmidt
    Replies
    8
    Views
    569

    Re: Client/Server

    Ah, well... thanks for the info...
    But too bad your Cam doesn't seem to be able to capture
    in MJPG-Mode (your constant BufferSize of 230400 Bytes
    strongly hints at RGB-Mode = 3BytesPerPixel...
  26. Thread: Client/Server

    by Schmidt
    Replies
    8
    Views
    569

    Re: Client/Server

    Before answering your other questions - were you able to run it in MJPG-Mode
    (with slightly changing BufSize-Values in the Form.Caption)?

    If yes, what *was* the BufSize (roughly, on average)?
    ...
  27. Re: Custom Task List in VB6 (ICustomDestinationList)

    FWIW, here a VB6-based approach, which implements this stuff in a small Class
    (as I already suggested in post #6) without using any TypeLibs (calling the VTable
    Entries directly per DispCallFunc...
  28. Thread: Client/Server

    by Schmidt
    Replies
    8
    Views
    569

    Re: Client/Server

    To be able to do such a thing efficiently, I'd recommend that you capture your
    Cam-Frames in MJPG-Format, instead of YUY2 or RGB24.

    Most WebCams these days are (internally) connected per USB2 -...
  29. Re: How to implement (if possible) - Shell - Drop file (copy this) callback?

    No, there's no SubClassing needed for ReadDirectoryChangesW...

    In case you want to look at a VB6-CodeBase to develop your own thing around this API,
    below is a vbForums-thread from 2009, which...
  30. Re: How to implement (if possible) - Shell - Drop file (copy this) callback?

    Thought, I did inform the OP about what it wraps in my first post already...
    And now even you know it (along with a few interested others - that's the point
    of posting in a public forum I guess).
    ...
  31. Re: How to implement (if possible) - Shell - Drop file (copy this) callback?

    No, that's not "doing it directly" - because an additional layer (shell32.dll) is
    involved (which is - BTW - "a large binary blob you have no sourcecode for").

    The deeper implementation of (at...
  32. Re: How to implement (if possible) - Shell - Drop file (copy this) callback?

    In case you want to do a fast test on the Root-Drive (or Folder), which contains
    your up to 10,000 SubDirectories, and how it performs or works with that amount
    of "watch-targets", you could use...
  33. Replies
    40
    Views
    1,245

    Re: Mobile Web Server

    ;)



    Well, there's other (smaller) battery-powered routers (e.g. TP-LINK is also not bad ... did my
    working "OpenWrt-mod" on such a TP-LINK-device, though not on a battery-powered one)......
  34. Replies
    33
    Views
    1,288

    Re: Reading Textfile

    Please do so - and try to understand what I wrote in my comments above -
    just ask when something is not entirely clear - Bottom-line is, that your Data
    is now sitting "elsewhere" (you will not...
  35. Replies
    33
    Views
    1,288

    Re: Reading Textfile

    Sorry to bother again - but the whole thread takes that long (IMO) because
    nobody encourages the OP to re-write the whole thing from scratch.

    There's a whole lot of things entirely wrong with it...
  36. Replies
    34
    Views
    3,761

    Re: [RESOLVED] Printer Document Name

    Here's another variant, which doesn't wait with Resetting the App-Title
    until the whole Document was printed (encapsulated in a small Routine,
    which only performs a very fast "Printer-No-Op" and...
  37. Replies
    34
    Views
    3,761

    Re: [RESOLVED] Printer Document Name

    And the PDF-Driver in question does this just fine, when you look at the ScreenShot I've posted.

    Olaf
  38. Replies
    34
    Views
    3,761

    Re: [RESOLVED] Printer Document Name

    I think it does...

    Why don't you check it out yourself - I just did so,
    placing the following in a new StdExe-Project:



    Option Explicit

    Private Sub Form_Click()
  39. Replies
    40
    Views
    1,245

    Re: Mobile Web Server

    Having said the above - there's another "non-Windows-way" which might be relatively
    easy (most devices are also located in a lower price-range)...

    Nobody mentioned OpenWrt so far (an alternative...
  40. Replies
    40
    Views
    1,245

    Re: Mobile Web Server

    And there's a lot of those Devices (coming with a full Win 8.1, able to host the IIS or Apache for example)
    to be had for about 100$ (usually sporting Quadcore Atoms, 1-2GB RAM and a relative fast...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width