Search Results - VBForums

Search:

Type: Posts; User: ColinE66

Page 1 of 12 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    I vaguely recall investigating thumbs.db ages (years) ago and that (for reasons i don't remember) they were hard to access. Don't quote me, but it may have been something to do with the proprietary,...
  2. Replies
    29
    Views
    405

    Re: Detecting which button in mouse click

    Have you read the whole thread? In post #17 jms talks about needing to cancel the click. Since a click involves a mouse_down and a mouse_up I think it's pretty obvious that his solution will involve...
  3. Replies
    29
    Views
    405

    Re: Detecting which button in mouse click

    Here's a kludgy little work-around that solves all the problems so far addressed:

    To a form add a picture box:



    Option Explicit
    Private mCancelClick As Boolean
    Private mMouseButton As...
  4. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    No need to apologise - it's a very interesting project and I learned something new. :)

    To be honest, at first glance, I didn't think you were dong anything more than using Windows own thumbnail...
  5. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    Well, as already said, Vee-Hive grabs a default thumbnail (from the middle) whenever a video is added to a Library. However, my users often prefer to pick their own frames to represent that file (and...
  6. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    Thanks for the additional info. I'll probably have a play with with this at some point though my interest is somewhat diminished by the fact that grabbing a thumbnail for a particular point-in-time...
  7. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    Yes, i could see from looking at the code that it was fairly 'black box-ish' (even though I cannot run it as explained above). Shame you can't pick a particular frame using this method. Incidentally,...
  8. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    Yes, I'm aware of that - it's called temporal compression. The earliest codecs used only spatial compression.

    I'm very interested in how you do this via shell32 as I'd rather not have that...
  9. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    I use Geraint Davie's dll's from here: http://www.gdcl.co.uk/vb.htm (capstill.dll) and extract a thumbnail at the time a file is added to the Library (though user can later swap that for any frame of...
  10. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    Not really necessary as (I wrote and) use Vee-Hive to manage all my video files... :)
  11. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    Thanks for the detailed info - I guess I really do need to seriously think about booting into Win 7 when I start up. :(
  12. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    Just had a quick play with the second demo before going out; folder contained a mix of formats (AVI, MP4, WMV). The vector param in VectorContains was always empty when called and, hence, errored at...
  13. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    Surely the fact that codecs are needed suggests that, however Windows accomplishes this, at some point a filter graph is being built?
  14. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    Of course :) i was just pointing out the LAV thing in case you didn't follow such things and found it helpful to know. I was originally going to say 'fyaori' (for yours and other readers info) rather...
  15. Replies
    34
    Views
    523

    Re: [VB6] Shell Video Thumbnail Images

    Interesting dilettante. fyi, LAV Filters is more widely-used than ffdshow these days for DirectShow and supports more (pretty much all) formats...
  16. Replies
    2
    Views
    77

    Re: Need to Loop these events

    The way to get this to loop, the way you have coded it, is to press the button called 'Command1' repeatedly...

    But seriously that code will only ever execute when that button on your form is...
  17. Replies
    2
    Views
    94

    Re: rretinal scanner

    Check the codebank - there are literally dozens of examples there. Most of us start with 'Hello World' and then move on to retinal scanning apps...
  18. Replies
    5
    Views
    105

    Re: Multiple conditions for a sql statement

    You need quotes around "b"
  19. Re: Parsing for field does not work for values ending 0

    I would have expected all three methods to produce the right result??? The only way your first approach might not 'appear' to work is if there were two trailing spaces at the end of your values, i.e....
  20. Re: [vbRichClient] Interactive Dartboard Demo

    Thanks (jp)bro!
  21. Re: VB6 lightweight PNG-Controls (4-State-PngButtons and a moveable Png-Image/Sprite)

    If it helps, Olaf, I just tested the demo concerned on XP SP3 and no errors...
  22. [vbRichClient] Interactive Dartboard Demo

    Here's something I put together for fun. It's an interactive dartboard that supports mouse-over and click events.

    The idea was that it could become a score-recording application but once I got to...
  23. Re: how to set proper Scrollbar glide and blank strip?

    You need to calculate it yourself based on the number of items that are visible in your list box



    Option Explicit

    Private Sub Form_Load()
    SetScrollbarRatio 1, 27, 18
    End Sub
  24. Replies
    19
    Views
    334

    Re: Tweaking Do ... Loop

    Indeed. Much better to use 'For i = 1 to 1' ;-)
  25. Replies
    21
    Views
    307

    Re: Property Let and Get

    Yes, I thought that, too. But when I tried to find some documentation to confirm it I couldn't so (I confess) I assumed I was mistaken and that it perhaps applied to another language...

    Either...
  26. Replies
    21
    Views
    307

    Re: Property Let and Get

    Before it crops up - if it hasn't yet - your Property Let signature should only take one parameter, not two.

    If you need to pass two parameters

    DON'T use:



    Public Property Let...
  27. Replies
    19
    Views
    334

    Re: Tweaking Do ... Loop

    I fail to see how the absence of an 'Exit clause' for an If statement is a shortcoming (or even true!). By it's very definition, an If statement is conditional; it doesn't need an Exit clause because...
  28. Re: Mouse Move event for an image that is part of an array.

    The event signature for mouse move is

    Private Sub GuidedReadingPickON_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)

    and NOT

    Private Sub...
  29. Re: [RESOLVED] Using a variable for a control name

    You're welcome...
  30. Re: Using a variable for a control name

    Cool.
  31. Re: Using a variable for a control name

    Yes, add all that you need. You only need Get if you want to read the value and you only need Let if you want to set a value for that property.
  32. Re: Using a variable for a control name

    Work-around til a better answer comes along

    Add this code to the UserControl created in my previous post



    Option Explicit

    Public Property Get tag()
    tag = UserControl.tag
  33. Re: Using a variable for a control name

    Dunno why they aren't exposed??? Works OK on a test I just did.

    Into a blank form, add a new UserControl and call it UC



    Option Explicit

    Private mUC As UserControl1
  34. Re: Using a variable for a control name

    @jms,

    I know what you mean but it seems to me that you spend too much time designing top-down from the controls that you see in your toolbox. I used to do the same - those of us who are...
  35. Re: Using a variable for a control name

    Ditto that. Though I'd probably have a colllection class that I'd intanciate twice (once each for black and white). The collection class would contain multiple instances of a Piece class and these...
  36. Re: Using a variable for a control name

    @jpbro,

    I can see where you're coming from but since the outcome of a function call is based upon other 'outside' values (Colour, Index) it seems to me that using a global variable isn't entirely...
  37. Re: Using a variable for a control name

    @jms,

    Sorry but I somehow missed the bit about your UC's being control arrays (as you could perhaps tell from my first two posts!). That being the case, I'd (personally) go with the global...
  38. Re: Using a variable for a control name

    I happen to agree with jpbro, for the reasons he mentions - hence my first suggestion was (essentially) the same as his. However, if you do go down the global variable route, be sure to set that...
  39. Re: Using a variable for a control name

    Or you could just use a global variable called gCurrentPiece and set it when in it's the next player's move.

    i.e. Dim gCurrentPiece as ucPiece
    Set gCurrentPiece = ucWPiece

    More than one way...
  40. Re: Using a variable for a control name

    You could use a property (in a module) such as



    Public Property Get CurrentPiece as ucPiece
    If Color = White then
    Set CurrentPiece = ucWPiece
    else
    Set CurrentPiece =...
Results 1 to 40 of 455
Page 1 of 12 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.