Search:
Type: Posts; User: PickyBiker
Search:
Search took 0.04 seconds.
-
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...
-
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.
-
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...
-
"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...
-
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...
-
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...
-
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...
-
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...
-
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.
-
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...
-
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...
-
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
...
-
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...
-
-
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...
-
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,...
-
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,...
-
Thanks, I 'll look at the link you provided and see if that can get me started.
-
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...
-
Got it working with Paul's change and now I understand what wrong thanks, thanks all.
-
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...
-
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...
-
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...
-
-
.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!
-
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...
-
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,...
-
Tomorrow I will start working on a conversion from LV to DGV.
Thanks for the pointers.
-
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...
-
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...
-
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...
-
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.
-
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...
-
Excellent. I will try this AND do a bit of research on Async functions to understand what is happening.
Thanks again.
-
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...
-
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.
-
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.
-
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...
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|