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

    Object in use..error


    i am developing a drawing application in windows..i m using socket such tat when a user draws someting on picture 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


  • #395525

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

    Thanks & Regards,
    Deepika - Sr. Editor
    Webmaster, GujaratSpider
    "Experience is the name everyone gives to his mistakes"

  • #395614
    Can you post a code snippet and entire error?
    Kind regards,
    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.