Click here to Skip to main content
15,909,835 members
Home / Discussions / C#
   

C#

 
GeneralI need help with drag and drop Pin
cristiansje12-Mar-04 22:09
cristiansje12-Mar-04 22:09 
GeneralRe: I need help with drag and drop Pin
John Fisher13-Mar-04 4:17
John Fisher13-Mar-04 4:17 
GeneralRe: I need help with drag and drop Pin
cristiansje14-Mar-04 21:34
cristiansje14-Mar-04 21:34 
Generalapi documentation Pin
tonaxxlss12-Mar-04 18:52
susstonaxxlss12-Mar-04 18:52 
GeneralRe: api documentation Pin
Dave Kreskowiak13-Mar-04 2:37
mveDave Kreskowiak13-Mar-04 2:37 
GeneralRe: api documentation Pin
Nick Parker13-Mar-04 10:51
protectorNick Parker13-Mar-04 10:51 
GeneralRe: api documentation Pin
Prakash Nadar14-Mar-04 1:12
Prakash Nadar14-Mar-04 1:12 
Questionhow to change datalist's bind fied by codebehind code? Pin
BigGirlBigEyes12-Mar-04 17:04
BigGirlBigEyes12-Mar-04 17:04 
GeneralDataGrid to DataSet to XML Pin
jazzle12-Mar-04 16:04
jazzle12-Mar-04 16:04 
GeneralRe: DataGrid to DataSet to XML Pin
Mike Ellison12-Mar-04 19:07
Mike Ellison12-Mar-04 19:07 
GeneralRe: DataGrid to DataSet to XML Pin
jazzle13-Mar-04 0:53
jazzle13-Mar-04 0:53 
GeneralRe: DataGrid to DataSet to XML Pin
OmegaSupreme13-Mar-04 2:30
OmegaSupreme13-Mar-04 2:30 
GeneralRe: DataGrid to DataSet to XML Pin
jazzle13-Mar-04 3:30
jazzle13-Mar-04 3:30 
GeneralRe: DataGrid to DataSet to XML Pin
Mike Ellison15-Mar-04 8:29
Mike Ellison15-Mar-04 8:29 
Generalhelp!!! Very strange problem with sending mail Pin
wolft12-Mar-04 15:17
wolft12-Mar-04 15:17 
GeneralRe: help!!! Very strange problem with sending mail Pin
John Fisher13-Mar-04 13:30
John Fisher13-Mar-04 13:30 
GeneralINT to Binary Pin
MrEyes12-Mar-04 14:14
MrEyes12-Mar-04 14:14 
GeneralRe: INT to Binary Pin
PJL12-Mar-04 15:04
PJL12-Mar-04 15:04 
GeneralRe: INT to Binary Pin
Michael Flanakin17-Mar-04 19:36
Michael Flanakin17-Mar-04 19:36 
GeneralSomething wrong with my binding to datagird. Pin
lordjpg12-Mar-04 13:08
lordjpg12-Mar-04 13:08 
GeneralRe: Something wrong with my binding to datagird. Pin
MrEyes12-Mar-04 14:30
MrEyes12-Mar-04 14:30 
GeneralRe: Something wrong with my binding to datagird. Pin
lordjpg12-Mar-04 15:30
lordjpg12-Mar-04 15:30 
GeneralAdding an Interface to my user controls Pin
TriBoy12-Mar-04 11:05
TriBoy12-Mar-04 11:05 
GeneralRe: Adding an Interface to my user controls Pin
John Fisher12-Mar-04 11:31
John Fisher12-Mar-04 11:31 
GeneralRemoting - instantiating a wellknown type Pin
Judah Gabriel Himango12-Mar-04 9:16
sponsorJudah Gabriel Himango12-Mar-04 9:16 
I've run into a problem with .NET remoting. I need the client to instantiate an object on the server, however, intantiating that object requires I pass parameters to the constructor.

// the component
public class MyObj
{
  public MyObj(string s, long l, SR someReferenceType) // where someReferenceType is a remote object
  {
  }
}


// the server
RemotingConfiguration.RegisterWellKnownServiceType(typeof(MyObj), "MyURI", WellKnownObjectMode.Singleton);


// the client - this throws an exception because there is no default constructor
RemotingServices.Connect(typeof(MyObj), "http://localhost/MyURI");


The RemotingServices.Connect call throws an exception because there is no default constructor. I need to somehow pass several value types and a remote object reference type to the object being constructed (it'd even be ok if I passed this data to the object after construction, but that doesn't seem possible either).

Any ideas?


---------------------------
He who knows that enough is enough will always have enough.

-Lao Tsu

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.