Search:

Type: Posts; User: IliaPreston

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Need help with Crescent controls please

    Hi
    Thanks for your response.

    As for the free open source controls, actually last year or so, I tried to use Krool's controls by using their source code (Main menu -> Project -> Add User Control),...
  2. Need help with Crescent controls please

    Hello everybody.
    I know there are some controls called Crescent controls.
    In the previous company where I worked, we used them extensively.

    Now, I ran a google search and came up with this:...
  3. Replies
    16
    Views
    1,055

    Re: Where the focus came FROM

    Exact same problem with GetKeyState.

    Here is the code:

    Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
    Dim XKey As String

    XKey = "" & KeyCode & "-"...
  4. Replies
    16
    Views
    1,055

    Re: Where the focus came FROM

    I change the code as follows:

    Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
    Dim XKey As String

    XKey = "" & KeyCode & "-" & Shift

    If...
  5. Replies
    16
    Views
    1,055

    Re: Where the focus came FROM

    Actually regarding the solution that OptionBase1 provided in post #3, I can say yes, it works.
    But, I am also experimenting with other ideas as well.

    One thing in particular that came to my mind...
  6. Replies
    16
    Views
    1,055

    Re: Where the focus came FROM

    Thanks for your response.
    But, it doesn't work.

    In fact it has a major bug.
    I am trying to fix the bug, but I have been unable to do so.

    Here is the bug description:

    In the Form_Load you...
  7. Replies
    16
    Views
    1,055

    Where the focus came FROM

    Hello all

    I have a form with a lot of controls on it (textboxes, checkboxes, comboboxes, etc.).
    Five of these controls (all textboxes) are special in that they are on a container (a picturebox)...
  8. Replies
    19
    Views
    1,280

    Re: Another misbehaviour of combobox

    Any help on this problem would be greatly appreciated.

    I am hereby attaching the example code:
    https://www.mediafire.com/file/q85tpsop8fplez7/Test014.zip/file

    To test this:
    Please run this...
  9. Replies
    19
    Views
    1,280

    Re: Another misbehaviour of combobox

    Hi.
    Thanks for your help.

    I modified your code a little bit and wrote the following:

    Public Declare Function ClientToScreen Lib "user32" (ByVal hWnd As Long, ByRef lpPoint As POINTAPI) As Long...
  10. Replies
    19
    Views
    1,280

    Re: Another misbehaviour of combobox

    Thanks for your help.

    Actually I have a little problem with SetCursorPos.
    Here is the situation:

    I have a combo box.
    The combo box is on a Picturebox.
    The Picturebox is on a Tab control...
  11. Replies
    19
    Views
    1,280

    Re: Another misbehaviour of combobox

    Thanks for your comments.
    I will try to create the custom combobox.
    But first I am going to experiment with SetCursorPos.
  12. Replies
    19
    Views
    1,280

    Re: Another misbehaviour of combobox

    Yes.
    But that doesn't help.
    The exist same thing happens as I just explained in post #8
  13. Replies
    19
    Views
    1,280

    Re: Another misbehaviour of combobox

    Hi.
    Thanks for your comment.
    I took your advice.
    However, unfortunately that doesn't fix the problem.

    Please see post #8 for new details

    Any help on this issue will be greatly appreciated...
  14. Replies
    19
    Views
    1,280

    Re: Another misbehaviour of combobox

    Hi.
    Thanks for your comment.
    I took your advice.
    However, unfortunately that doesn't fix the problem.

    Here is the new scenario:

    1- I run the project, and place my mouse pointer a few lines...
  15. Replies
    19
    Views
    1,280

    Another misbehaviour of combobox

    Everybody knows that there are basically two ways of navigating a form: 1- Using the mouse 2- using the keyboard

    I have a combobox with its style set to 2 - DropdownList
    In Form_Load this...
  16. Re: The volume slidebar's ding sound can't be turned off in Windows 11. Please help

    Hi.
    Thanks for all the help and advice.
    Apparently nothing helped fix this problem until I found the fix by chance.
    I am hereby sharing the solution with you, so that it may one day help somebody...
  17. Re: The volume slidebar's ding sound can't be turned off in Windows 11. Please help

    Hi.
    Thanks for your response.

    Yes, that can be done in Windows 11 as well (with the exception that in Windows 11, the number (the 0 to 100 that shows the value of the volume) is NOT displayed !!!...
  18. [RESOLVED] The volume slidebar's ding sound can't be turned off in Windows 11. Please help

    Hi all.
    Recently my PC kept nagging me to install Windows 11.
    Finally this morning I agreed and installed Windows 11.

    However, one problem that I had solved in Windows 10, has come back, and...
  19. Replies
    3
    Views
    628

    Re: Need help with Visual C++

    Thanks for your help.
    But, I am completely lost.
    It is not your fault. It is my fault.

    For example the first link that you have provided...
  20. Replies
    3
    Views
    628

    Need help with Visual C++

    I just installed Visual Studio community edition and am trying to learn the language and write a simple Hello World program.

    But, it looks quite strange.
    I come from a VB6 background, and I...
  21. Replies
    16
    Views
    1,268

    Re: Unbelievable misbehaviour of a combo box

    I really don't remember. It was a long time ago.

    Most likely I used the source code and added it to my vbp project: "VB6 main Menu -> Project -> Add User Control"

    Hopefully this helps.
    Ilia
  22. Replies
    16
    Views
    1,268

    Re: Unbelievable misbehaviour of a combo box

    Hi Eduardo-
    Thanks.
    Yes. It looks like it works.
    Your solution is amazing.

    Thanks a lot for your help
    Ilia
  23. Replies
    16
    Views
    1,268

    Re: Unbelievable misbehaviour of a combo box

    Hi Olaf
    Thanks for your response.

    If the user types in a new folder (that is not in the combobox's list), I don't want to add that to the combobox's list because:

    After the user types in there...
  24. Replies
    16
    Views
    1,268

    Re: Unbelievable misbehaviour of a combo box

    Any help on this issue will be greatly appreciated.

    Thanks
    Ilia
  25. Replies
    16
    Views
    1,268

    Re: Unbelievable misbehaviour of a combo box

    Last year I tried to use Krool's controls but they caused my project to crash very frequently with the error "Visual Basic has stopped working"
    That is why I don't use those controls

    Thanks
  26. Replies
    16
    Views
    1,268

    Re: Unbelievable misbehaviour of a combo box

    Thanks for your help.
    But, actually it doesn't work. Here is the problem:
    With that timer and the related code added to the program:

    I click on the command button, and select D:\Temp1\M1\F1...
  27. Replies
    16
    Views
    1,268

    Re: Unbelievable misbehaviour of a combo box

    Thanks.
    Can you please do it without adding the item to the list?

    For example, I tried this:

    Private Sub cboGenPath_GotFocus()
    Dim i As Long
    Dim IsSubstr ...
  28. Replies
    16
    Views
    1,268

    Re: Unbelievable misbehaviour of a combo box

    Thanks.
    But, there should be a way to get it to work without adding it to the list.

    If the user selects a totally different folder (one that is not a parent folder of an existing path in the...
  29. Replies
    16
    Views
    1,268

    Unbelievable misbehaviour of a combo box

    Hi.
    I have a combobox that is pre-populated with the following values:

    Private Sub Form_Load()
    cboGenPath.AddItem "D:\Temp1\M1\F1\F11\"
    cboGenPath.AddItem "D:\Temp1\M1\F1\F12\"

    ...
  30. Re: updating a query based on another table or tables

    Hi.
    Thanks.

    The example that you have provided is an inner join.
    I appreciate that but, I was already familiar with that.
    My problem is how to do an update when I have to do it based on a Left...
  31. Re: updating a query based on another table or tables

    Hi.
    Thanks.
    I have posted the full code in post #8.
    Please look at the last piece of code in that post.

    Thanks again
  32. Re: updating a query based on another table or tables

    Hi.
    Thanks.
    The query that you provided that is:

    sql = ""
    sql = sql & "Update T2"
    sql = sql & " Set LNAME = T1.LNAME"
    sql = sql & " From T2 SubT2 left outer join T1"
    ...
  33. Re: updating a query based on another table or tables

    Thanks a lot for your help.

    I just downloaded RC6 from this page: http://www.vbrichclient.com/#/en/Downloads.htm
    Then unregistered vbRichClient5.dll, then registered RC6.dll and tried to use...
  34. Re: updating a query based on another table or tables

    Thanks.
    I know.
    But, that is still done by using subqueries, and all of the problems that I mentioned in post#1 persist

    I need a REAL "update within a join query".
    Thanks.
  35. updating a query based on another table or tables

    I use vbRichClietn5.dll for Sqlite.

    I just needed to update a table based on a condition met by a join to another table.

    update T1
    set A = T2.A
    from T1 inner join T2
    on T2.TID = T1.TID
    ...
  36. Replies
    3
    Views
    658

    Inserting too many records at once

    Hi.
    I use vbRichClient5.dll for Sqlite.

    I have a query that inserts a number of records into a table like this:

    sql = "insert into T1 (A, B, C) "
    sql = sql & "select X, Y, Z "
    sql =...
  37. Replies
    8
    Views
    922

    Re: Need help with scrollbars please

    That is true. I meant the thumb-box.
    Thanks for correcting me.


    Can you please provide the link to the documentation that you are talking about?

    Thanks.
    Ilia
  38. Replies
    8
    Views
    922

    Need help with scrollbars please

    There are a number of problems with VB6 scrollbars:

    Problem #1:

    I remember that in the past, when I had a scrollbar on a form, one of various ways of scrolling it was to right-click between the...
  39. Replies
    8
    Views
    1,990

    Re: Problem with setting focus to a combobox

    No.

    I got rid of the manifest, and now that problem no longer exists
  40. Replies
    34
    Views
    3,465

    Re: Visual Basic has stopped working. Why?

    Yes. It works fine now.

    Thanks a lot for all your help.
    Ilia
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width