Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Remoting issue.............

Remoting issue.............

Scheduled Pinned Locked Moved C#
csharphelpsysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Siddharth Rastogi
    wrote on last edited by
    #1

    Dear All..... I am using .Net Remoting with C#. I want to access windows Form, from the Client. Means on calling some function from the client windows form at server end should be invoked (activated). So accessing Form's object as singleton object in client side and trying to activate that form. Now the problem is, That form (Form1) becomes activated but hangs also. Message Box which is in Form1's Load Event is visible but still Form1 is hanged. Server Form and Client Form is not hanged, and are workable. Application not throwing any exception. So suggest me, what to do. Or how i can access form on Server Side using .Net Remoting. Thx 4 Reading...:) Enjoy Programming! Sid :)

    C 1 Reply Last reply
    0
    • S Siddharth Rastogi

      Dear All..... I am using .Net Remoting with C#. I want to access windows Form, from the Client. Means on calling some function from the client windows form at server end should be invoked (activated). So accessing Form's object as singleton object in client side and trying to activate that form. Now the problem is, That form (Form1) becomes activated but hangs also. Message Box which is in Form1's Load Event is visible but still Form1 is hanged. Server Form and Client Form is not hanged, and are workable. Application not throwing any exception. So suggest me, what to do. Or how i can access form on Server Side using .Net Remoting. Thx 4 Reading...:) Enjoy Programming! Sid :)

      C Offline
      C Offline
      CKnig
      wrote on last edited by
      #2

      Well if a modal MessageBox is open (that is shown in form_load) will of course hang the parent form (yeah the dialog is *modal*). And if I get you right you are publishing your form-object via remoting? You should not do something like this! Better use a static class and event with remoting.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups