Search:
Type: Posts; User: jumper77
Search:
Search took 0.04 seconds.
-
I'm not really sure what made it work, but it does. Here's the code now...
Private Sub ListView1_DragDrop(sender As Object, e As DragEventArgs) Handles ListView1.DragDrop
Dim...
-
It was a late binding issue/error
-
Thank you for the link. I had actually looked at that one but there was issues with it. But thank you for your reply.
-
When I try to copy a folder to a list view, all other root folders are included in thet drop. I only want the sub-folder I dragged, not all the other folders in the path.
Here's my code...
...
-
Yea, I have it now. I know I have to create the directory then copy the files into it. So everything should be easy now.
Thanks a lot my friend
-
Hi Paul, nice to hear from you. Best of wishes to you and yours this holiday season.
I understand about the "CStr", and yes I think the check for directory name should If NOT
-
I'm trying to drag a folder from Explorer and put the directory in the Desktop folder. I have some code that's close. It's copying all the files "inside" the folder and putting them on the Desktop.
...
-
You are right Jmc, I found what I was looking for. Here's the code I have for the border now...
Protected Overrides Sub OnRenderToolStripBorder(e As...
-
Thanks Jmc, I haven't found anything on the net the about changing the border color. But if you say there have been posts here I will search for them...
Thanks again...
-
I would like to have a black border around my context menus. If someone could at least point me in a direction, that would really be nice.
Thanks!
-
-
Just found out why I thought the DragDrop event was not firing. The event is for sending items "TO" the Listview. Not "FROM" it...
-
I just found out that my DragDrop event does not fire. I thought maybe it was because of what I did in the ItemDrag event. So I commented that sub out and then nothing happens at all.
I'm still...
-
Hi everyone. Thank you for your replies.
@Delaney
That's actually what I was trying to figure out how to do, but what I read about Drag and Drop is this... You can't get the drop destination...
-
Never mind... I just read that you can't get the destination of where the file is dropped.
Thanks for looking, but I'm going to mark this as resolved now...
-
I'm trying to "move" a file from a Listview to a drop target (usually to Explorer). But I noticed that if I mess up and drop it back on the Listview, it deletes the file.
So how can I tell if a...
-
Hi Poppa, thanks for the reply. I guess I didn't make myself clear in my post... This happens at Design time. Not when the program is running. Meaning I cannot do several things such as moving the...
-
I have two Combo Boxes on a form and when I click either one, the focus gets set to a Button on the Form. The only way I can get the Combo Boxes to have the focus is to use the tab key.
This is...
-
Thank you! I really appreciate your input on all this. In my program I'm constantly having to get bitmaps and icons. It's nice to know that I can do away with those using statements. I was trying to...
-
Yes, I know that's the reason for the Using statement, but when I return the bitmap I have no chance to dispose it. Or are you saying that I should dispose the bitmap from the code that calls that...
-
Found out what was going on.... The image I was trying to read was put on the desktop, then I later changed the name of the directory. I deleted the first file and put a new image on the desktop and...
-
I'm having a hard time remembering why I get the "Parameter is Invalid" error when I try to get a bitmap from a file.
Here's the basic code
If isLink(fi.FullName) Then
filename =...
-
Thanks J, for suggesting a test program. Didn't think of it. And I know it was a long shot asking for help on this issue. But I had to try.
I'll mark it as closed...
-
I reverted back to a slightly earlier version of my code and now everything works fine.
Thanks to all for your help!
-
I have found that the first entry in my Listview cannot be selected. And it seems like it's been this way for a little while without me noticing. If I make breakpoints in certain methods where it...
-
Hi Jmc, thank you for your input. I will go through my code and not use default instances. I'm still reading about it, and I'm pretty sure you're right about this being the cause of my issues.
...
-
Something new to add.... It seems that I cannot directly or indirectly set a value in the one form that is giving me problems. I'm getting the same original errors again as I posted in the beginning....
-
Update:
I found something that was REALLY out of place. There was a file on the desktop that had a bogus path. After I deleted the file, all the other files were read correctly. Things are looking...
-
It would be nice if someone did know what the issue is, because the program was running great until I tried a new install. I am however getting some things taken care of that will be good.
-
Hi Shaggy, it's not fixed yet, but I can get things going I think from here. And you're right about it coming back to get you. There are a couple of things I'm going start working on. I think the...
-
Jdc, I think I might have it. It may have been "limping" all the way but I finally got the program to fully load. At least for now... The problem was with the code to set all the form's opacity. And...
-
Here's where I'm getting the first error...
dim ret as object
ret = rk.GetValue("SelectedIndex")
If CStr(ret) <> "" Then
Customize.UpdateOpacity.selectedIndex =...
-
My program was working great until I decided to test the install program. I now have a "ton" of errors and most of them refer to one form (at least that's where I'm at right now).
Here's the error...
-
Another reply...
If you log the MouseEnter and MouseLeave events in a ListBox, you will see
the MouseLeave event is actually fired when you move the mouse cursor away
from the label, however, it...
-
Here's another post...
I have a simple issue in my Windows Form. I have a listbox that is acting as a log for some serial data I have input, and would like to be able to use the scroll wheel to...
-
Here's someone's post...
I'm working on a C# app that changes the background color of the form on mouseenter then
changes it back to the original on mouseleave. For the most part this has been...
-
Well, I think I need to show code to communicate well. Here's something one person did in your position...
protected override void OnMouseLeave(EventArgs e){
if...
-
Ok Shaggy. I will stop showing code. I'm sure you searched the net for your problem. I did that search and came up with many reasons why the event would fail. Would you like me to post any of the...
-
I have something you "might" try Shaggy. It's something I talked about earlier. I can't reproduce your event not firing, but I've tried to come up with a "Location" solution like my first reply...
-
Thanks for letting me know I posted something about WPF. I didn't realize that. I wish I had some of Shaggy's code. I'm pretty good at things that should happen, but don't, lol. I'm going to try and...
|
Click Here to Expand Forum to Full Width
|