dcsimg

Search:

Type: Posts; User: ColinE66

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    10
    Views
    334

    Re: copy a record

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

    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.
  3. Replies
    14
    Views
    540

    Re: MSHflexgrid leavecell event

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

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

    Aah, of course - GetPathExtents. Never occurred to me...:o
  6. 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,...
  7. Replies
    2
    Views
    470

    Re: PM's being sent?

    Thanks si - that was it...

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

    [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...
  9. 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...
  10. Replies
    71
    Views
    7,904

    Re: Windows August 2019 Update break VB arrays

    Fixed now, apparently...

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

    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...
  12. Replies
    11
    Views
    610

    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?"
  13. Replies
    11
    Views
    610

    Re: Determining Row and Column

    Why does this need a nested loop?
  14. Replies
    22
    Views
    774

    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...
  15. Replies
    22
    Views
    774

    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...
  16. Replies
    22
    Views
    774

    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.
  17. 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...
  18. 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...
  19. 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...
  20. 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...
  21. 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,...
  22. 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...
  23. 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...
  24. 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...
  25. 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...
  26. Re: Getting the Row and Col and Index of a picturebox array element

    Your answer will be in here:

    http://www.vbforums.com/showthread.php?874399-How-to-convert-Row-Col-to-Index-and-Index-to-Row-Col&highlight=
  27. Re: Moving a grid on top of another grid

    So what have you tried? In order to articulate your question, it seems to me that there are certain observations about such a problem that you surely must have made and it's therefore just a matter...
  28. Replies
    17
    Views
    1,611

    Re: Ideas for Speed-Up

    Yeah, I figured that :)

    By the way, shouldn't your above code read:



    If iSortCnt >= 14& Then


    EDIT: My bad. 15 it is :)
  29. Replies
    17
    Views
    1,611

    Re: Ideas for Speed-Up

    Yes, I'm currently taking the same approach but I believe it can be further optimised so that you do not even need the bbSort array, just an array for the distributions of the pallete numbers. This...
  30. Replies
    17
    Views
    1,611

    Re: Ideas for Speed-Up

    Hi Elroy,

    Had to look at your other thread in order to figure out why you were sorting 29 pixels, as that wasn't obvious to me at first sight. So, my first question would be, do the results look...
  31. Replies
    18
    Views
    869

    Re: Case or If...End If

    Well, a single frame of a UHD movie has 3840 x 2160 pixels (i.e. 8,294,400) and might run at 60 frames per second. Try writing a transformation on that in real-time...
  32. Replies
    18
    Views
    869

    Re: Case or If...End If

    I seem to recall (never had a situation where I needed to wory about it) that single nested If/Elses were fastest of all (optimised, order-wise, as Dil suggested in #5)

    i.e.


    If True Then
    ...
  33. Re: [RESOLVED] How to best manipulate a "movie".

    Just checking back in and I see that Olaf has come up with a performant way of addressing this 'on-the-fly' using the 'raw' (let's call it 'per pixel') data.

    The reason I suggested a video...
  34. Re: How to best manipulate a "movie".

    If I understand the problem correctly, I can see why you'd want to pre-process the images, in order to handle the 'temporal axis' of the underlying data. So, since you've mentioned that reponsiveness...
  35. Replies
    27
    Views
    1,539

    Re: vbRichClient memory overhead issues

    Of course I'm serious. And of course I'm referring to Post #12. Look again at what I quoted; the first part clearly refers to your 'banging of heads' with Olaf (i.e. the issue that the thread was...
  36. Replies
    27
    Views
    1,539

    Re: vbRichClient memory overhead issues

    Bugs can be reported, why would you claim otherwise? So far, all you have done is assert that there is a bug without saying anything about what it is or how to reproduce it. If such a bug exists, it...
  37. Re: componant name or similar activeX to a deck

    My Image Carousel can be made to look like that. Just tweak the many available settings...

    Needs RC5.


    http://www.vbforums.com/showthread.php?785465-Image-Carousel-Class-vbRichClient
  38. Replies
    8
    Views
    638

    Re: vbRichClient cSortedDictionary

    Posting some code that illustrates the problem would be very helpful :)
  39. Replies
    48
    Views
    2,340

    Re: [RESOLVED] Rotate Label by 90 Degrees

    Yup! In days gone by, I would have clipped a region of the background (i.e. the hosting container), made it the UC's background, and drawn on top of that...
  40. Replies
    48
    Views
    2,340

    Re: Rotate Label by 90 Degrees

    @LaVolpe, yes, of course one could just draw onto the host control, rather than using Image Controls. That did occur to me in terms of minimising the graphical overhead required.

    Probably showing...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width