You must Sign In to post a response.
  • Category: ASP.NET

    Object in use..error

    hello

    i am developing a drawing application in windows..i m using socket such tat when a user draws someting on picture box...it draws on other user picture box (through socket)..just like a normal chat..the diffrence is tht i m sending pixel values......
    the code works fine..but some time i m getting error "Object in use"...
    ..actually when receiving pixel values..these pixels r drawn on bitmap object...and set the image of this object to picture box....and hence i got this error...
    .......plz suggest any solution..
    ..thanks in advance
  • #395510
    pls refer this links

    http://www.dotnetspider.com/forum/205589-How-send-receive-image-using-socket-programming-c.aspx


    http://www.kirupa.com/forum/showthread.php?t=324081

    http://www.wxwidgets.org/docs/book/



    Regards
    Ramya.A

  • #395525
    Hi,

    Just check whether you are initializing the same object again or not?



    Thanks & Regards,
    Deepika - Sr. Editor
    Webmaster, GujaratSpider
    http://angeldeeps.blogspot.com/
    "Experience is the name everyone gives to his mistakes"

  • #395614
    Can you post a code snippet and entire error?
    Kind regards,
    ABitSmart
    DNS Web-master, DNS MVM
    My blog


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.