Jump to content
Xtreme .Net Talk

BigDaddyDrew

Members
  • Posts

    6
  • Joined

  • Last visited

BigDaddyDrew's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. <moron> Ok, I totally didn't have the control enabled. </moron>
  2. Hello everyone, Is it possible to allow the user to select (highlight, so they can copy it) the text in a DataGrid (C#) control? I can't seem to figure it out anywhere. Also, my DataGrid has a horizontal scroll bar, but it doesn't scroll! There is plenty of Data in the columns that is off the right side of the control. Any thoughts? Andrew
  3. When I use the returned value from a remote method, that returned value is a proxy. Dealing with that proxy is really slow, as it does some remoting work of its own. Is it possible to specify that returned values should be copied to local copies on the client machine? I suspect that if I simply created an instance myself by copying the proxy, that would take still make all the remote calls to access the proxy�s member variables, etc. I have tried declaring my class with the [serializable] attribute, rather than deriving it from MarshalByRefObject, but when I do this, the remoting framework throws and exception saying that I need to be marshaled by reference. Any ideas? Thanks! Andrew
  4. Well, maybe GetType isn't the solution for me then. The assembly is loaded at program start up. All I really need is the Type of a class from it's name =).
  5. I'm using Type.GetType(string) to extract the type from a string. The string contains the fully qualified name of a type. In my case it is: String typeName = "ToolShed.Tools.NotifyService"; Type.GetType(typeName); I tried the exception throwing version of GetType, and it said that it threw because it couldn't find the type in the current assembly. However, since I have fully qualified the type name WITH an assembly, shouldn't it look there? Thanks for any advice, Andrew
  6. I'm writing a client/server architecture that is aimed at working across domains. I started by using an HttpChannel over port 80, with the goal of makeing my server a remote object which my client can make remote procedure calls to. Unfortunatly, this didn't work across the domains. (errors about not being able to connect, etc.) Then I just decided to try out a simple TcpListener/TcpClient connection, with the server listening on port 80. I tried to point the TcpClient at the server machine's IP and port 80, but again, connection problems. Anyone have advice on how to get this to work? Am I approaching it wrong? The end goal is to be able to invoke functions on the server side, and receive return values. The server will run as an NTService... Thanks!
×
×
  • Create New...