Search:

Type: Posts; User: jumper77

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds.

  1. Re: Drag and Drop sub directory to a Listview. Root folder is included with the drop

    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...
  2. Re: Drag and Drop sub directory to a Listview. Root folder is included with the drop

    It was a late binding issue/error
  3. Re: Drag and Drop sub directory to a Listview. Root folder is included with the drop

    Thank you for the link. I had actually looked at that one but there was issues with it. But thank you for your reply.
  4. Drag and Drop sub directory to a Listview. Root folder is included with the drop

    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...

    ...
  5. Replies
    4
    Views
    1,624

    Re: how to: Copy folder to Desktop

    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
  6. Replies
    4
    Views
    1,624

    Re: how to: Copy folder to Desktop

    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
  7. Replies
    4
    Views
    1,624

    how to: Copy folder to Desktop

    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.
    ...
  8. Re: Does anyone no how to draw or set a border color around a context menu?

    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...
  9. Re: Does anyone no how to draw or set a border color around a context menu?

    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...
  10. [RESOLVED] Does anyone no how to draw or set a border color around a context menu?

    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!
  11. Re: [RESOLVED] Need to find out if drag and drop from a listview is NOT dropped to th

    I got it now :)
  12. Re: [RESOLVED] Need to find out if drag and drop from a listview is NOT dropped to th

    Just found out why I thought the DragDrop event was not firing. The event is for sending items "TO" the Listview. Not "FROM" it...
  13. Re: [RESOLVED] Need to find out if drag and drop from a listview is NOT dropped to th

    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...
  14. Re: [RESOLVED] Need to find out if drag and drop from a listview is NOT dropped to th

    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...
  15. Re: Need to find out if drag and drop from a listview is NOT dropped to the same list

    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...
  16. [RESOLVED] Need to find out if drag and drop from a listview is NOT dropped to the same listview

    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...
  17. Re: Clicking Control in Design Mode sets focus to a different control

    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...
  18. Clicking Control in Design Mode sets focus to a different control

    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...
  19. Re: [RESOLVED] Unable to get a bitmap from a file.....

    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...
  20. Re: [RESOLVED] Unable to get a bitmap from a file.....

    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...
  21. Re: Unable to get a bitmap from a file.....

    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...
  22. [RESOLVED] Unable to get a bitmap from a file.....

    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 =...
  23. Re: First Item in Listview not selectable

    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...
  24. Re: Mega Errors after testing Install program

    I reverted back to a slightly earlier version of my code and now everything works fine.

    Thanks to all for your help!
  25. [RESOLVED] First Item in Listview not selectable

    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...
  26. Re: Mega Errors after testing Install program

    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.
    ...
  27. Re: Mega Errors after testing Install program

    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....
  28. Re: Mega Errors after testing Install program

    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...
  29. Re: Mega Errors after testing Install program

    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.
  30. Re: Mega Errors after testing Install program

    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...
  31. Re: Mega Errors after testing Install program

    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...
  32. Re: Mega Errors after testing Install program

    Here's where I'm getting the first error...


    dim ret as object
    ret = rk.GetValue("SelectedIndex")
    If CStr(ret) <> "" Then
    Customize.UpdateOpacity.selectedIndex =...
  33. [RESOLVED] Mega Errors after testing Install program

    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...
  34. Thread: Mouse Leave

    by jumper77
    Replies
    14
    Views
    2,406

    Re: Mouse Leave

    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...
  35. Thread: Mouse Leave

    by jumper77
    Replies
    14
    Views
    2,406

    Re: Mouse Leave

    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...
  36. Thread: Mouse Leave

    by jumper77
    Replies
    14
    Views
    2,406

    Re: Mouse Leave

    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...
  37. Thread: Mouse Leave

    by jumper77
    Replies
    14
    Views
    2,406

    Re: Mouse Leave

    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...
  38. Thread: Mouse Leave

    by jumper77
    Replies
    14
    Views
    2,406

    Re: Mouse Leave

    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...
  39. Thread: Mouse Leave

    by jumper77
    Replies
    14
    Views
    2,406

    Re: Mouse Leave

    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...
  40. Thread: Mouse Leave

    by jumper77
    Replies
    14
    Views
    2,406

    Re: Mouse Leave

    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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width