Search Results - VBForums

Search:

Type: Posts; User: jpbro

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Automation type not supported while using PortableDeviceManager

    I see, thanks! I was mostly curious if there was some kind of "secret"/undocumented behaviour to using that character. Kind of like the trick to hide an enum from IntelliSense, e.g. [_EnumName].
  2. Re: Automation type not supported while using PortableDeviceManager

    Olaf, quick question regarding your sample - is there a reason for the enum names to start with the character? I've never seen that before.
  3. Re: Automation type not supported while using PortableDeviceManager

    RC5 is shorthand for vbRichClient5. It's a fantastic library made by Olaf that extends the functionality of VB6 dramatically. We're apparently not allowed to post links to it here, but you can search...
  4. Re: How to install the LaVolpe AlphaImgControl functionality?

    LaVolpe (that is, Keith) is a user on this forum - if he doesn't eventually read this thread and reply on his own, I recommend sending him a private message.
  5. Re: Suggested improvement for GenPrime function in VB Rich Client DLL

    ZLib documentation is Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler. So already twice the manpower of Olaf....what percentage of that extra manpower do you suppose went into documentation?...
  6. Re: Possibly Interesting Number Puzzle

    I did try subsequently, and it seems both routines benefited from the optimizations, though yours did slightly more. Still we're splitting hairs a bit here, both routines were very fast, and it took...
  7. Re: [RESOLVED] Possibly Interesting Number Puzzle

    Hi Colin - no it wasn't weak, and it was definitely faster than mine. The onlyproblem I had with it was that it wasn't a drop-in replacement for my routine - it always defaulted to a 1-based minimum...
  8. Re: Suggested improvement for GenPrime function in VB Rich Client DLL

    I should also add that once you put in the extra time upfront that it takes to get familiar with a documentation-less library like RC5, you become proficient enough that the documentation would...
  9. Re: Suggested improvement for GenPrime function in VB Rich Client DLL

    Don't forget this is a free library made in Olaf's spare time - while it might be lovely to live in a perfect world where he also has time and inclination to write nicely formatted documentation in...
  10. Re: Possibly Interesting Number Puzzle

    Thank you all! I've tested Passel's and Olaf's contributions and can report that they produce results that match my initial methods.

    For fun I compiled an EXE with 100,000,000 loops for all the...
  11. Re: Possibly Interesting Number Puzzle

    And PS: thanks for confirming my hunch that there should be a much shorter "math-only" way to perform the calculation without so many IF/THEN statements.
  12. Re: Possibly Interesting Number Puzzle

    Thanks guys!

    Colin - your code certainly looks like it will do what I need (and much more concisely). I'm just playing around with it now to see if I can get it to handle an arbitrary minimum...
  13. [RESOLVED] Possibly Interesting Number Puzzle

    I have a requirement to do a "wrapping" integer addition with the following characteristics:


    There is a minimum possible value (must be greater than or equal to 0)
    There is a maximum possible...
  14. Re: Change screen resolution - device independent

    Maybe they don't have a screen that can go up to 1920x1080?
  15. Re: ODBC SQLite in VBA not updating through the recordset object.

    Did you try the select statement I proposed where you explicitly include the rowid?
  16. Re: ODBC SQLite in VBA not updating through the recordset object.

    If you're not married to ADO, I highly recommend trying Olaf Schmidt's SQLite classes available in his vbRichClient5 library. It's available here:

    http://vbrichclient.com/#/en/About/
  17. Re: ODBC SQLite in VBA not updating through the recordset object.

    I'll expand on my hunch from above - I'm not sure if it's for all cases, or just some drivers, but there's a good chance you need a primary key column for the Update call to succeed. SQLite tables...
  18. Re: ODBC SQLite in VBA not updating through the recordset object.

    Just a hunch, but does it work if you change your select query to this:

    Call oRec.Open("SELECT rowid, * FROM Animals", oConn, adOpenDynamic, adLockOptimistic)
  19. Replies
    34
    Views
    1,968

    Re: [VB6] ProgramData for common files

    Worked for me on both Windows 10 and Windows XP. I suspect your IDE is set to run as an administrator (hence getting access to the folder), but for some reason your user account doesn't have the...
  20. Re: Flexgrid: A long word is not wrapping in MSFlexgrid

    This is a longshot because you'd probably be using this control over the MSFlexGrid if you had the choice, but do you have the ComponentOne VSFlexGrid in your components list? If so, you can set the...
  21. Replies
    3
    Views
    135

    Re: If llResponse = True

    You are missing the "Then" keyword at the end. i.e.:



    If llResponse = True Then


    Also since IIResponse is a Boolean, you don't need the = True part...this will work, and is a bit less...
  22. [DSWC+RC5] PicSnap WebCam+Cairo Overlay Demo/Experiment

    First, let me say that the heavy lifting in this demo has been done by the hard work of Dilettante (DSWC) and Olaf Schmidt (vbRichClient5). I've decided to experiment a bit with Olaf's RC5 widget and...
  23. Replies
    96
    Views
    49,507

    Re: VB6 - DirectShow WebCam Minimal Code

    Ahh sorry, must have grabbed an older version of 1.3 and just got around to looking at it now.

    Thanks again for your work on this - it's quite useful as-is even if we're missing out on some stuff...
  24. Re: [RESOLVED] SHA256 output is different from the correct value

    Glad to have been of some help! All credit for the code goes to Olaf Schmidt of course :)
  25. Replies
    96
    Views
    49,507

    Re: VB6 - DirectShow WebCam Minimal Code

    Hi dilettante,

    I think there's a small bug in your 1.3 demo. If you have never saved a config file, then mnuCameraSave will always be disabled (so you can never save a config file). If you get rid...
  26. Re: [RESOLVED] SHA256 output is different from the correct value

    If I use the alphabet "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz", and change the following loop in the Convert384BitArray function:



    For i = 50 To 0 Step -1
    ...
  27. Re: [RESOLVED] SHA256 output is different from the correct value

    It was originally me who asked for help in the XtremeVbTalk thread all those years ago. Funny to see it pop up again here!

    Here is Olaf's code that has been adapter to accept 37 byte arrays. I...
  28. Replies
    7
    Views
    125

    Re: Splitting each Letters of words in textBox

    Well that's a first!
  29. Replies
    5
    Views
    347

    Re: Using ShellExecute in VB 6.0

    You are declaring parameters that should be Longs as Integers (using % instead of &), hence the Overflow error (trying to stuff 32-bit numbers into 16-bits).
  30. Replies
    8
    Views
    320

    Re: Video Capture with Windows 10

    My pleasure!
  31. Replies
    8
    Views
    320

    Re: Video Capture with Windows 10

    Just installed FSFWrap.dll and tried the DSWC on Windows 10 with Microsoft Lifecam (Front and Rear). Everything worked perfectly, including bringing up the properties and changing them.
  32. Replies
    8
    Views
    320

    Re: Video Capture with Windows 10

    No problems here either on Windows 10 with DSMini1.
  33. Replies
    2
    Views
    178

    Re: First letter capitalized

    You've only got one MADA boolean variable, so I suspect it is still TRUE when you click Command2 and start typing again in Text2. Try setting MADA = False in each CommandX_Click event.
  34. Re: [vbRichClient] How to export BLOB image(jpg) from SQLite to file ?

    Assuming the BLOBs are JPEGS (that is, no conversion is needed), I think you should just be able to:



    Open a connection to the SQLite database using the CConnection object. e.g. Set...
  35. Re: Take the left part of a math question, and cut off the right par after the = sign

    Even better! Should remember not to post before my first coffee :)
  36. Re: Take the left part of a math question, and cut off the right par after the = sign

    You can use the InStr function to return the position of the equal sign, then use Left$ to get the leftmost portion, and Mid$ to get the rightmost portion.

    For example:



    Public Sub...
  37. Re: VB6 in AppServer-scenarios (DCOM Replacement per RC5)

    In the interest of full disclosure, I should also mention this from the SQLite documentation on "limits":

    Unfortunately, the no-limits policy has been shown to create problems. Because the upper...
  38. Re: VB6 in AppServer-scenarios (DCOM Replacement per RC5)

    Hi labmany,

    I'm not Olaf, just someone who's been using his libraries for many years (since RC3 or possibly RC2). There's a good chance that anything I say here will be corrected by Olaf since he...
  39. Replies
    18
    Views
    713

    Re: Locking a variable ?

    How about using a property? For example:



    Private m_MyVar As Long

    Public Property Let MyVar(ByVal p_Value As Long)
    Static s_EverSet As Boolean

    If s_EverSet Then Err.Raise 5, ,...
  40. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Thanks for the confirmation :)
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.