dcsimg

Search:

Type: Posts; User: ColinE66

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    20
    Views
    886

    Re: loading UDT is slow

    How often are you updating the progressbar?
  2. Re: Purchase of Microsoft Visual Basic 6.0 Professional

    You're fooling nobody, dil ;)
  3. Re: Possible Like Operator Bug?

    Same here. So, to be clear, are you saying that something like '[A-Z]--' doesn't cause any problems, because I had mistakenly thought that you were referring to all instances of '--', regardless of...
  4. Re: Possible Like Operator Bug?

    Well, it is if that is the pattern you are trying to find! Which is why I suggested some kind of replace rather than ignoring it altogether. With a bit of parsing/checking, I'm sure one could turn...
  5. Re: Possible Like Operator Bug?

    Rather than calling it an invalid pattern, why not just replace '--]' with '-][-]' when it is encountered?

    i.e.


    l_Pattern = Replace(Text1.Text, "--]", "-][-]")
  6. Re: Arcade-perfect (Near-as-damn-it!) Pac-Man clone (RC5)

    Thanks for pointing that out...
  7. Re: Arcade-perfect (Near-as-damn-it!) Pac-Man clone (RC5)

    About the default nav keys; I grew up with Z,X,/,' back in my Acorn Atom days and just happen to be adept with them! The arrow keys probably should be the default but, honestly, to play the game with...
  8. Arcade-perfect (Near-as-damn-it!) Pac-Man clone (RC5)

    Why? There are hundreds of these!!!
    Made this for fun, and to show a colleague how easy a game it is to write. Finished in a couple of days, and then discovered the Pac-Man Dossier. This led me to...
  9. Replies
    7
    Views
    378

    Re: Convert 24bit .WAV to 16bit

    I think you can probably do this with DirectShow using the FileWriter filter. Never done it myself, but might be worth looking into...
  10. Replies
    14
    Views
    1,281

    Re: VB6 Virtual (ownerdrawn) TileView-Ctl

    PeekMessageW! Of course... ;)
  11. Replies
    14
    Views
    1,281

    Re: VB6 Virtual (ownerdrawn) TileView-Ctl

    The hover support doesn't require sub-classing but, yeah, the mouse-wheel sure does...
  12. Re: Qustion 032: A very interesting Color-Wheel from Adobe

    Wow. That is really cool. And far more creative than mine - mine is nothing special :)
  13. Re: How to draw a color wheel (color picker)?

    That's pretty much what my colour wheel does in the post above: Hue around the circumference, Luminance across the radius, and a saturation slider.
  14. Re: How to draw a color wheel (color picker)?

    I've already put one in the Code Bank...

    http://www.vbforums.com/showthread.php?850937-ColourPicker-vbRichClient
  15. Re: Preventing Form from displaying anything until Form_Load event is finished

    Can't you move some of the code into the Form_Initialize event?
  16. Replies
    10
    Views
    386

    Re: copy a record

    If you are seeing that, then maybe there's only one record that meets your criteria?
  17. Replies
    14
    Views
    594

    Re: MSHflexgrid leavecell event

    Ahhh, I see...

    Still, that being the case, he could simply wrap a class around those different control-types and raise the event from there.
  18. Replies
    14
    Views
    594

    Re: MSHflexgrid leavecell event

    Declare EditGrid as 'WithEvents' and then you will have access to an 'EditGrid_LostFocus' event handler.
  19. Re: [vbRichClient5] Subclass Wrapper supporting multiple hWnds & Before/After events

    Thanks for sharing :)
  20. Re: The 1001 questions about vbRichClient5 (2019-08-14)

    Aah, of course - GetPathExtents. Never occurred to me...:o
  21. Re: The 1001 questions about vbRichClient5 (2019-08-14)

    Thanks for that explanation, Olaf - that certainly clears-up a few things for me. When you talk about Text-placements and Offsets, does this have a bearing on the return values from GetTextExtents,...
  22. Replies
    2
    Views
    873

    Re: PM's being sent?

    Thanks si - that was it...

    Strange default setting, if I may say so. Anyway, thanks again.
  23. Replies
    2
    Views
    873

    [RESOLVED] PM's being sent?

    Hi,

    Have just sent a PM to a fellow member, and it isn't showing-up in my Sent Items. Matter of fact, my Sent Items folder is entirely empty (and I have never emptied it, to the best of my...
  24. Re: The 1001 questions about vbRichClient5 (2019-08-14)

    You may also want to play with the .SetLineCap and .SetLineJoin values for the context - these can make a difference, too.

    Also, a lot of my older RC5 projects have the line...
  25. Replies
    71
    Views
    9,435

    Re: Windows August 2019 Update break VB arrays

    Fixed now, apparently...

    https://support.microsoft.com/en-gb/help/4512534/windows-10-update-kb4512534
  26. Replies
    6
    Views
    448

    Re: Mouse Disappears - How to Reset in App

    What Eduardo suggest should work, of course, but I'd be curious to find out why the mousepointer is disappearing in the first place, if I were you...
  27. Replies
    11
    Views
    666

    Re: Determining Row and Column

    Indeed. That's precisely why I questioned the nested loop; I had already recognised this as a recurring question. It's a good thing this isn't an electrician's forum: "What's the red wire for, again?"
  28. Replies
    11
    Views
    666

    Re: Determining Row and Column

    Why does this need a nested loop?
  29. Replies
    22
    Views
    836

    Re: Fill x Numbers with Random numbers

    Quick stab: Basically adjusts the range of numbers that can be picked from based upon the current Running Average, so that it converges on 3.333. The final number is added 'manually' to make up the...
  30. Replies
    22
    Views
    836

    Re: Fill x Numbers with Random numbers

    Well that's pretty much what you'll have to do because what you are asking is not possible; you can't have 30 random numbers adding up to 100 unless you get lucky! Therefore you'll have to influence...
  31. Replies
    22
    Views
    836

    Re: Fill x Numbers with Random numbers

    All your current code is doing is 'hoping' that your 30 random numbers add up to 100. I think you need to put a bit more thought into it, have another try, and then ask for help when you get stuck.
  32. Re: Controlling what can be shown in a drive list box.

    If you really aren't interested in learnng how to do something more elegant, you could always make your drive listbox hidden, and add a regular listbox. Then you populate that regular listbox with...
  33. Re: A RichLabel control that can set FontSize

    You're using RC5, are you not? If so, why not do the label drawing on a Cairo surface? You can easily accomplish the above with that...
  34. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Just had a little play. WSH.Exec would be perfect if it weren't for the fact that it spawns a command window. The only ways I've seen of suppressing that would prevent the cCollection from being...
  35. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Yes - sorry - I had recognised that but expressed myself clumsily...

    Thanks for that stackoverflow link; have viewed a few similar threads from there recently but hadn't seen that one. Looks...
  36. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Hmmm, that does look interesting as I've recently replaced a lot of my code with equivalent FFmpeg functionality. I should be able to read image byte streams from StdError (where FFmpeg writes to,...
  37. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Win 10 here...



    Funnily enough, that's how I managed to get around the crashes whilst waiting for you to reply. I added an mAbort flag inside my wrapper class and pass VarPtr(mAbort) to the...
  38. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    UPDATE:

    The CreateProcess aspects to my sample project are a bit of a red herrring, it turns out, as I've since observed that any thread that is exited whilst inside a loop is susceptible to this...
  39. Re: VB6 Threading-Examples using the vbRichClient5 ThreadHandler

    Hi Olaf,

    I've created a thread dll that executes another program (multiple times) via CreateProcess/WaitForSingleObject/TerminateProcess.

    This works fine until I try to abort it from my wrapper...
  40. Re: How can I display the thumbnail of a video file in a Picturebox?

    Just did some testing with this (nothing extensive, I'll add - about half a dozen files). Dil's method is faster, it seems (factor ~2?).

    That is...

    Dil: Extract image in its native size and...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width