dcsimg

Search:

Type: Posts; User: jumper77

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. [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 =...
  7. 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...
  8. 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!
  9. [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...
  10. 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.
    ...
  11. 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....
  12. 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...
  13. 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.
  14. 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...
  15. 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...
  16. 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 =...
  17. [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...
  18. Thread: Mouse Leave

    by jumper77
    Replies
    14
    Views
    348

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

    by jumper77
    Replies
    14
    Views
    348

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

    by jumper77
    Replies
    14
    Views
    348

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

    by jumper77
    Replies
    14
    Views
    348

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

    by jumper77
    Replies
    14
    Views
    348

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

    by jumper77
    Replies
    14
    Views
    348

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

    by jumper77
    Replies
    14
    Views
    348

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

    by jumper77
    Replies
    14
    Views
    348

    Re: Mouse Leave

    If I'm understanding you correctly, the only time this happens to me is when I forget to put the "handles" clause at the end of a sub declaration. This will cause the event to not fire (as I'm sure...
  26. Re: [RESOLVED] Unable to edit an image file because it is still locked by the softwar

    Hi jmcilhinney, the reason I check for "nothing" is to prevent an exception happening. As you know, if you have declared something like a bitmap but haven't assigned a value to it yet, the default...
  27. Re: Unable to edit an image file because it is still locked by the software

    Just figured it out. What had a lock on the file was "pb.image". Once I Disposed of that after using it, I can now modify the image files again.
  28. [RESOLVED] Unable to edit an image file because it is still locked by the software

    I've been working with and staring at this code for a while now and I can't figure out what still has a lock on a bitmap. In my program, the user can choose to edit an image and the software launches...
  29. Thread: Mouse Leave

    by jumper77
    Replies
    14
    Views
    348

    Re: Mouse Leave

    Hi Shaggy, I may be WAY off base with this, but what you wrote reminds me of something that I do. It may or may not help. I don't know. I was having a hard time getting a context menu to show up when...
  30. Re: [RESOLVED] How fast should a Listview add 150 items

    One last update. I got the time down to 1.8 seconds for 100 items. And I think I can live with that. Also, I don't think there are too many people who have that many items on their desktop :)
  31. Re: How fast should a Listview add 150 items

    I have to agree with you. And thanks for the link. I will check it out. I'm going to mark this as resolved and if something comes up later, I will start a new thread.
  32. Re: How fast should a Listview add 150 items

    I hope I'm not frustrating you too much because I am being a bit dumb about this. My apologies. Are you saying that if I create an ImageList at design time and "don't" add any images at design time,...
  33. Re: How fast should a Listview add 150 items

    But I do agree about the preloaded ImageList. I'm sure it would be much faster
  34. Re: How fast should a Listview add 150 items

    I changed the number of items in the Listview to 75 and now it loads in 1.4 seconds
  35. Re: How fast should a Listview add 150 items

    This may sound dumb, but how could I have a "preloaded" ImageList for items that are unknown?
  36. Re: How fast should a Listview add 150 items

    I don't understand what you mean?
  37. Re: How fast should a Listview add 150 items

    Ok then. I really appreciate all the help Paul. I did learn something thanks to you. Thanks a bunch. If I ever find a work around, I'll let you know about it. I'm going to mark this as "resolved".
  38. Re: How fast should a Listview add 150 items

    The view is LIST
  39. Re: How fast should a Listview add 150 items

    Yes they are file icons. Can't do it at design time because I never know what file will be in the directory. I've been trying everything I can find to speed up the code, and I've been doing it for a...
  40. Re: How fast should a Listview add 150 items

    However, it's taking just as long to go through all the files. I'm pretty sure adding Images is what's taking up the time now. And I don't know how to get to the bitmap (or index) without adding the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width