dcsimg

Search:

Type: Posts; User: ColinE66

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. 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...
  2. 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=
  3. 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...
  4. Replies
    17
    Views
    956

    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 :)
  5. Replies
    17
    Views
    956

    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...
  6. Replies
    17
    Views
    956

    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...
  7. Replies
    18
    Views
    762

    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...
  8. Replies
    18
    Views
    762

    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
    ...
  9. 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...
  10. 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...
  11. Replies
    27
    Views
    1,393

    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...
  12. Replies
    27
    Views
    1,393

    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...
  13. 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
  14. Replies
    8
    Views
    553

    Re: vbRichClient cSortedDictionary

    Posting some code that illustrates the problem would be very helpful :)
  15. Replies
    48
    Views
    1,761

    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...
  16. Replies
    48
    Views
    1,761

    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...
  17. Replies
    48
    Views
    1,761

    Re: Rotate Label by 90 Degrees

    As you wish. Thinking about this a little more, I'd probably have stored the Database ID in the .Tag property of each Image control, taking my outlined approach. Then, in form load, I'd create the...
  18. Replies
    48
    Views
    1,761

    Re: Rotate Label by 90 Degrees

    Sorry, but I don't see the problem. What I am suggesting is all done at run-time; app startup (or intra-run language switch, if you provide for that functionality). All you need is one function to...
  19. Replies
    48
    Views
    1,761

    Re: Rotate Label by 90 Degrees

    Even when windowless, aren't they 'heavier' than things like labels, images, etc.?
  20. Replies
    48
    Views
    1,761

    Re: Rotate Label by 90 Degrees

    You could modify your current approach - the one that uses images.

    Replace each label with an image control ==> Create an image on-the-fly of the required size => Draw the text on the image* =>...
  21. Re: Vba for excel userform in a vb6 Project. Possibile?

    http://lmgtfy.com/?q=Possibile+to+import+a+vba+userform+in+a+vb6+Project%3F
  22. Replies
    19
    Views
    572

    Re: [RESOLVED] VBA vs VB6 ... detection

    Ah, fair enough. Haven't used VBA in eons but it was my recollection that, the way I used it back then, certain errors that a compiler would catch would only be encountered at run-time.
  23. Replies
    19
    Views
    572

    Re: VBA vs VB6 ... detection

    Oh, perhaps I'm mistaken. I don't have access to VBA right now (no Office installed), but was under the impression that VBA code was not compiled and, therefore, the function which you posted would...
  24. Replies
    19
    Views
    572

    Re: VBA vs VB6 ... detection

    You can if you define it as an Object with your function and then attempt to late-bind it to a Screen Object, trapping any resulting errors, no?
  25. Replies
    19
    Views
    572

    Re: VBA vs VB6 ... detection

    This may be a tad simplistic but can't you just check for something that is available to VB6 but not to VBA. The Screen object, for example.
  26. Re: Search All Columns in an SQL database quickly?

    You'd be better off concatentating all the fields you want to check, I'd imagine:

    SELECT * FROM MyTable WHERE ColA + ' ' + ColB + ' ' + ColC LIKE '%my search term%'
  27. Re: The 1001 questions about vbRichClient5 (2019-02-03)

    Yes, I've mentioned to Olaf in the past that being able to instantiate a non-global ImageList class would be useful. One potential problem with a global list is that you can get 'silently replaced'...
  28. Re: The 1001 questions about vbRichClient5 (2019-02-03)

    Such a feature would have to make assumptions for you which you may not like. How would such a clean-up know which image keys may be referenced by other objects (if not now, then later on)? I don't...
  29. Re: The 1001 questions about vbRichClient5 (2019-02-03)

    Yes, both individually and collectively.
  30. Re: The ScrollBar Events in cwScrollBar (vbRichClient5)

    I think it's a terrible idea, personally. Forums have threads for a reason; the clue is in that word...
  31. Re: The ScrollBar Events in cwScrollBar (vbRichClient5)

    Basically, your code has to determine what 'page up' actually means, it could mean 5 rows or it could mean 50. It all depends on the row heights of the page that is currently visible. That's why I...
  32. Re: The ScrollBar Events in cwScrollBar (vbRichClient5)

    Presumably your Max value for the scrollbar is equal to the number of grid rows? If so, you'd probably find it easier to do what you are trying to do by making the scrollbar's max equal to the total...
  33. Re: The ScrollBar Events in cwScrollBar (vbRichClient5)

    Sorry, but I still don't understand the question; perhaps I'm being a bit 'thick', as we say here?

    Why have you added the ScrollState property? And what do you mean by 'simulating' it?
  34. Re: The ScrollBar Events in cwScrollBar (vbRichClient5)

    Hi dreammanor,

    I actually wrote that particular widget, so I can answer that...

    mMouseDownElement is only used internally (to the class) to store which area of the scrollbar last had a mouse...
  35. Re: Does RC5.Cairo have a function equivalent to DrawText(DT_CALCRECT)? (vbRichClient

    Ta very much!
  36. Re: Does RC5.Cairo have a function equivalent to DrawText(DT_CALCRECT)? (vbRichClient

    I've been waiting a couple of years for it (been calculating the need for, and drawing my own ellipsis, in the meantime ;)

    Would be nice to see it included :)
  37. Re: How do I add a foreign key to an existing SQLite table?

    The answer is in tg's link. Did you not bother to read it?
  38. Re: any way to load & show office like as(word or powerpoint 2007 from resouce or me

    Wrong forum?
  39. Replies
    27
    Views
    1,141

    Re: How to connect SQLite over Internet

    I use both, quite often: I tend to use CTE's as the encapsulation that they offer makes it easier to write SQL that others can easily maintain. In the main, I only ever deviate from them when...
  40. Replies
    27
    Views
    1,141

    Re: How to connect SQLite over Internet

    SQLite supports CTE's?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width