dcsimg

Search:

Type: Posts; User: IliaPreston

Page 1 of 12 1 2 3 4

Search: Search took 0.34 seconds.

  1. Re: How to get a list of all windows that are currently open

    Thanks for your help.

    I did all of that.

    The compiler error disappeared, and I managed to retrofit your code into my vbp project (by populating that Listbox by clicking on a commandbutton)...
  2. Re: Problem setting focus after returning from external app

    Thanks for your response.

    1. The thumbnail is displayed in a small picturebox.

    Or more precicely (because there are multiple thumbnails): Each thumbnail is displayed in a separate small...
  3. Re: Problem setting focus after returning from external app

    Thanks.
    In post #16 under another thread: http://www.vbforums.com/showthread.php?855101-How-to-run-a-little-piece-of-code-when-the-user-returns-to-a-form you provided another way of doing this that...
  4. Problem setting focus after returning from external app

    I have an application that shows thumbnails of videos and if the user doubleclicks on a thumbnail, it opens the corresponding video in its own associated video player by using this code:

    Public...
  5. Re: What programming language is the best replacement for VB6?

    Thanks for the great help and advice.

    I know that Microsoft Visual Studio 2019 contains VC++ and also VC# (as well as VB.Net and some other languages).

    As far as I understand, both of these two...
  6. Re: How to get a list of all windows that are currently open

    Thanks Victor.

    When I download that project (List Top-Level Windows.zip) in post #11 of that thread, it runs fine (with one little problem).
    But when I copy that code into my own test project, it...
  7. Re: What programming language is the best replacement for VB6?

    When it comes to C++, everybody on this thread is talking about other tools (such as Qt) to be used with it for GUI.
    As far as I remember, when I first got a bit familiar with Visual C++ (that came...
  8. Re: What programming language is the best replacement for VB6?

    Let's mention a number of issues:

    1. I do not particularly hate VB.Net, but, I am to some degree reluctant to migrate to VB.Net because then I have to install the whole .Net platform

    2. How...
  9. What programming language is the best replacement for VB6?

    What programming language is the best replacement for VB6?

    If I were to re-write some of my applications in a new and modern programming language, what language would be the most professional and...
  10. Re: Problem installing AdBlockPlus to MS Edge

    Thanks for the advice.

    But, if that is the case, why is it so easy to add the same product (AdBlock Plus) to Firefox without any Microsoft account?
    And, why is it so easy to add the same product...
  11. Problem installing AdBlockPlus to MS Edge

    Hi.
    When I was setting up my new desktop computer (two weeks ago), I already knew that it would ask for an email address.
    So, before installing Windows 10, I created a fresh hotmail account for...
  12. Replies
    1
    Views
    302

    Where is my clipboard?

    On this page:
    https://mspoweruser.com/how-to-set-up-cloud-clipboard-in-the-windows-10-october-update/
    It shows how to set up cloud clipboard.
    The first step is to go to Settings -> System and then...
  13. Re: Problems with a new computer. Please help

    On the page that you provided
    https://chromium.woolyss.com/
    under the 64-bit section, there are a whole lot of links (multiple lines, several links in each line)
    Not sure which one to choose, but...
  14. Re: Problems with a new computer. Please help

    I installed the beta version of the Chromium-based Edge and it shows youtube home page and youtube videos perfectly flawlessly.
    But, it CO-EXISTS with the standard Microsoft Edge browser on my...
  15. Re: Problems with a new computer. Please help

    Thanks everybody for your help and advice.

    Regarding the problem with Firefox (showing those videos with a lot of pauses), I finally found out how to fix it, and I am hereby sharing it with...
  16. Re: Problems with a new computer. Please help

    This is my computer:
    https://www.bestbuy.ca/en-ca/product/hp-pavilion-gaming-pc-intel-core-i7-9700-256gb-ssd-3tb-hdd-16gb-ram-nvidia-gtx-1660-ti-win10-eng/13579663

    And this is a screen print of...
  17. Re: Problems with a new computer. Please help

    Thanks for your help.

    How do I do that (installing/reinstalling latest video drivers)?
    Do I also need to reboot after that?

    Thanks.
    Ilia
  18. Problems with a new computer. Please help

    My desktop computer was about to crash, so, I got a new one.
    After getting it out of the box and turning it on, it walked me through all those steps to set up the new computer (Language on the...
  19. How to get a list of all windows that are currently open

    How can I get a list of all windows that are currently open?
    That is a list of hWnd values of all the open windows.

    What other info about open windows (other than hWnd) can be obtained?

    Thanks.
  20. Re: Creating control arrays with nested components

    That "Set" statement that you recommended, definitely solved the problem.
    Thanks a lot for that.

    I will also explore your new suggestion (Controls.Add). Who knows; It may be even a better way of...
  21. Re: Creating control arrays with nested components

    You are definitely right.
    But, just in order to present the problem properly and visibly to everybody on this forum (via that screen print), I added that redundant line of code. (just for showing...
  22. Creating control arrays with nested components

    I have an array of pictureboxes. I create the first picturebox at design time (by "first" I mean the one with its index being zero), and the rest of them like this at run-time:

    For i = 1 To 2
    ...
  23. Replies
    13
    Views
    655

    Re: Showing a label on a picture

    Yes, I used your recommended change and it actually solved the problem.
    But, I still don't understand why.

    What is the difference between the .Height and the .ScaleHeight properties of a...
  24. Replies
    13
    Views
    655

    Showing a label on a picture

    I have a picturebox and a label.
    The label is nested inside the picturebox.
    The picturebox at design time is square. When a picture is displayed in it, it is resized, and also turns into a...
  25. Re: Index makes only a tiny performance improvement

    Thanks a lot for the explanation.
    I am a little confused about the equalness example that you provided.

    Please correct me if I am wrong: What I understand is that with a table column created in...
  26. Re: Index makes only a tiny performance improvement

    There are three possible ways of doing it:


    1. Using the collation in the table creation statement for the column(s) that the collation pertains to.

    This results in the best performance and...
  27. Re: Index makes only a tiny performance improvement

    In my class CCollateExplorer I use exactly the code that you provided in post #14 of the thread http://www.vbforums.com/showthread.php?878707-How-to-sort-file-names-exactly-as-Windows-Explorer-does...
  28. Re: Index makes only a tiny performance improvement

    Thanks for all the great help and advice.
    In the end, it looks like it was my own measurement that was wrong and that the index (unbenownst to me) did actually make a large speed improvement...
  29. Index makes only a tiny performance improvement

    Using vbRichClient5.dll for SQLite, I have a table like this:


    Set Cnn1 = New_c.Connection(, DBCreateInMemory)
    Cnn1.AddUserDefinedCollation New CCollateExplorer

    With...
  30. Re: How to sort file names exactly as Windows Explorer does

    Wow!!!
    The code in post #2 solved this problem and with an amazing performance. It sorted 10,315 file names in 865 milliseconds
    My previous attempt (nested loop) had taken 28.5 seconds to sort...
  31. Re: How to sort file names exactly as Windows Explorer does

    Thanks for your advice.
    Yes, I am actually using vbRichClient5
    Strangely enough, this is actually the first time that I hear about collations.
    I am reading up on this topic and I have learned a...
  32. Re: How to sort file names exactly as Windows Explorer does

    Thanks a lot for the great help and advice.

    My tests show that StrCompLogical function provided by AAraya in post #5 (based on API call to StrCompLogicalW) and confirmed by fafalone in post #7...
  33. How to sort file names exactly as Windows Explorer does

    I get the file names of all files in a folder and then store them in a Sqlite table.
    Then I select those file names from that Sqlite table ordered by file name.
    The resulting list of file names is...
  34. Re: TimerEx, hi precision timer using QueryPerformanceCounter

    Thanks for the great code and advice in here.
    But, I am totally confused.
    I am exploring the code attached to Post#6 by Elroy, and am interested in the last option (TimeUsingTimerExBasWithInit)...
  35. Re: Calculating the duration of a process in seconds and milliseconds

    Thanks for the response.

    From what I understand from that thread, the best approach is to use a version that is in a bas module with an initialization.
    And the second best approach is the version...
  36. Calculating the duration of a process in seconds and milliseconds

    I am trying to record the time at the beginning and at the end of a process and calculate the duration of the process in seconds and milliseconds.

    I found a class module named DateTime.cls and an...
  37. How to detect the origin of GotFocus event

    If a control receives focus, it can come from one of these origins:


    1. The tab key pressed (coming from the previous control (based on the TabIndex values)).
    2. The Shift+tab key pressed...
  38. Re: Method 'Text' of object 'IInkEdit' failed

    I just changed the logic to use two separate commandbuttons: One to load 500 InkEdit boxes, and another to write something into them.
    I clicked on the first one.
    After the completion of the...
  39. Re: Method 'Text' of object 'IInkEdit' failed

    Each InkEdit box is to reside underneath a picturebox (showing the thumbnail of a file). The InkEdit is to display (for view and edit) the file name.
    Therefore a grid can't do the job.

    Thanks.
  40. Re: Method 'Text' of object 'IInkEdit' failed

    I commented out that line that sets the Text property of the InkEdit box. Also changed the loop to go through 2000 times instead of 500 times:

    Private Sub Command1_Click()
    Dim i As Long...
Results 1 to 40 of 458
Page 1 of 12 1 2 3 4



Featured


Click Here to Expand Forum to Full Width