Search:

Type: Posts; User: PickyBiker

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    12
    Views
    438

    Re: Context menu issue

    I switched back to doing it via the designer after your initial suggestion to do so.

    Finally got it working.

    The key to getting it working was this, That is what helped me understand what I...
  2. Replies
    12
    Views
    438

    Re: Context menu issue

    I have read it many times.

    I think what is happening here is a 5th degree black belt is speaking way over the head of a white belt who has no concept of what it is the black belt is trying to say.
  3. Replies
    12
    Views
    438

    Re: Context menu issue

    Of course you are correct sir. Sorry I didn't read your response more carefully.

    I set the listbox contextMenuStrip back to "none".

    I added what I think is the correct mousedown handler. I...
  4. Replies
    12
    Views
    438

    Re: Context menu issue

    "you could also associate the menu with the control in the designer."

    How is this different from what you are saying not to do?

    You are saying it can be don in the designer, yet when I did...
  5. Replies
    12
    Views
    438

    Re: Context menu issue

    I initially tried doing this in design mode, but that resulted in the same problem where right-clicking in the blank area of the listbox brought up the context menu.
    Here is what I did:
    Opened a...
  6. Replies
    12
    Views
    438

    Context menu issue

    The following code works fairly well but the context menu strip associated with listbox1 works even when right clicking in a blank space in listbox1.

    What needs to change so that the context menu...
  7. Replies
    3
    Views
    1,243

    Re: Trouble figuring out async / await

    So here is what I ended up with and it seems to be working okay and there are no warnings.
    Thank you jmcilhinney


    Private Async Function SearchFileContents() As Task
    Dim match As...
  8. Replies
    3
    Views
    1,243

    Trouble figuring out async / await

    In the following "mySearch" program, I am having trouble figuring out exactly how to make the file processing asynchronous. The sub at line 204 is defined as "Private Async Sub...
  9. Re: No longer being notified when someone responds

    No, I am not self-hosting. Just for completeness, I am not having trouble receiving email from anywhere else and my spam folder seems to be working normally too.
  10. No longer being notified when someone responds

    I am no longer receiving email notifications when someone responds to one of my subscribed posts.

    I checked the settings for this: "Default Thread Subscription Mode: Instantly, using email"
    My...
  11. Re: [RESOLVED] how to make a picturebox click fire a keypress event

    I made the changes suggested by jmcilhinney. Moving the if statement to the keypress handler make sense and does away with the hard coded chr(13).

    At first I though the code below worked, but the...
  12. Re: how to make a picturebox click fire a keypress event

    You are correct shaggy. Thanks

    Here it is


    Private Sub PictureBoxSearch_Click(sender As Object, e As EventArgs) Handles PictureBoxSearch.Click
    StartHandler(Chr(13))
    End Sub
    ...
  13. [RESOLVED] how to make a picturebox click fire a keypress event

    I am trying to make a PictureBox.Click event emulate or trigger a Textbox1.KeyPress event. Since the PictureBoxSearch.Click event gets eventargs and not keypresseventargs, the code below gets an...
  14. Re: [RESOLVED] How to get past a folder where you don't have permission?

    Thank you
  15. Re: How to get past a folder where you don't have permission?

    dbasnett Your code seems to work, but I don't exactly know why.

    Trying to figure out the difference.

    This is resolved with dbasnett's code. I modified it to get it where I need to be at...
  16. Re: How to get past a folder where you don't have permission?

    dday9 I added a writeall text for the StartPath in the catch and you are correct.
    Unfortunately, I have not yet found a way to break out of the recursion without stopping the whole process.
    Also,...
  17. [RESOLVED] How to get past a folder where you don't have permission?

    The recursive routine shown below is expected to output all folder names from c:\ that get any access error to "Test.txt". It works until it reaches a folder that I have no access to,...
  18. Re: Need to understand what tools are used in explorer

    Thanks, I 'll look at the link you provided and see if that can get me started.
  19. Need to understand what tools are used in explorer

    On the left side of the explorer window there are elements with dropdown arrows that enable you to expand or collapse the contents. I am guessing they are something from the VB toolbox but it is not...
  20. Re: Trouble adding Icon to DataGridView Column

    Got it working with Paul's change and now I understand what wrong thanks, thanks all.
  21. Trouble adding Icon to DataGridView Column

    There is something wrong with the way I am trying to add an Icon to this dataGridView column.
    I tried to catch the error but it's not catching it. If I comment out the line...
  22. Re: [RESOLVED] Help making this listview sort demo work

    Things I learned in this thread:
    1: Don't just copy the example code without reading the INSTRUCTIONS
    2: Don't be afraid to change course if someone proposes a better idea.
    3: Even old demo code...
  23. Re: Help making this listview sort demo work

    You mean like this?
    To create the form for this project you only have to add a ListView control
    ' to a blank form. Put the listview into details mode and add four columns.
    ' Set...
  24. Re: Help making this listview sort demo work

    Makes sense to me.
  25. Re: Help making this listview sort demo work

    .Paul, Added the view=Details and added 4 columns, and then it worked. I should probably go back to where I found the demo and add the code with changes that makes it work.

    Thank you!
  26. Re: Help making this listview sort demo work

    When set to details, nothing is displayed. Partial info is displayed when view is set to small icons or list.

    All: I never got the demo code to display more than one row, so no possibility to...
  27. Re: Help making this listview sort demo work

    wes4dbt suggested using DataGridView instead of List View would be a better solution because it has a built-in sort and other features.
    This morning I made that conversion and it works very well,...
  28. Re: Help making this listview sort demo work

    Tomorrow I will start working on a conversion from LV to DGV.

    Thanks for the pointers.
  29. Re: Help making this listview sort demo work

    I have never used a DGV and I will have to look and see what it is and what it is used for.

    Just for reference, I will post my actual code and perhaps you could tell me if a DGV would work here...
  30. [RESOLVED] Help making this listview sort demo work

    Trying to learn how to sort listview rows by a clicked column header. This listview sort demo was found with google but unfortunately it doesn't work correctly. It apparently is supposed to start...
  31. Re: Trouble addressing a checkbox in a panel

    I like both suggestions. I changed the code to find the checkbox by name. This way I can move it around if necessary and still find it.


    For Each cb In CheckBoxes
    If cb.Name...
  32. Re: Trouble addressing a checkbox in a panel

    You are correct. I thought it was necessary to through the CheckBoxPanel to get to the CheckBoxControls in it. Obviously that's not required.
    CheckBoxes(0).Checked = True works fine.

    Thanks.
  33. Trouble addressing a checkbox in a panel

    The following code draws a panel and installs 12 checkboxes. There are 3 instructions addressing the first checkbox. The first two work but the third doesn't.

    All controls in this code are...
  34. Re: Listbox doesn't show contents until all available contents are found

    Excellent. I will try this AND do a bit of research on Async functions to understand what is happening.

    Thanks again.
  35. Re: Listbox doesn't show contents until all available contents are found

    Yes, this works nicely as is, but it suffers from the same issue I later discovered with my code. It trips up when it runs into a place holder like My Music or some other file or folder that it does...
  36. Re: Getfiles gets permission error when it hits the "My Music" placeholder

    Yes dday9 it works as expected. Working now on making the items list clickable.

    Again, thank you and hope you have a better day today.
  37. Re: Getfiles gets permission error when it hits the "My Music" placeholder

    We all have different levels of knowledge in various areas. I have never seen such a construct and didn't know how to fix it.

    Thank you for the correction.
  38. Re: Getfiles gets permission error when it hits the "My Music" placeholder

    There is a problem with the code line

    filenames = IO.Directory.GetFiles(directory)

    The error is: "value of type string() cannot be converted to list(of string)"

    changing Dim filenames = New...
  39. Re: Listbox doesn't show contents until all available contents are found

    You are correct, this is how I fixed that issue. A later post reveals a problem when it hits a file or folder that it doesn't have permissions to read.


    Private Sub Search_Click_1(sender As...
  40. Getfiles gets permission error when it hits the "My Music" placeholder

    Iterating through directories is working in some directories, but in "c:\users\mike\documents" it gets a permission error when it reaches the "My Music" place holder. Which raises the same issue for...
Results 1 to 40 of 196
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width