Click here to Skip to main content
15,889,034 members
Home / Discussions / C#
   

C#

 
GeneralRe: TreeView Contol in .Net CF Pin
Robert Rohde23-Sep-04 19:20
Robert Rohde23-Sep-04 19:20 
GeneralRe: TreeView Contol in .Net CF Pin
ppp00124-Sep-04 23:30
ppp00124-Sep-04 23:30 
QuestionBringtoFront from thread? Pin
rbarzallo23-Sep-04 15:50
rbarzallo23-Sep-04 15:50 
AnswerRe: BringtoFront from thread? Pin
Stefan Troschuetz23-Sep-04 21:12
Stefan Troschuetz23-Sep-04 21:12 
GeneralRe: BringtoFront from thread? Pin
rbarzallo24-Sep-04 4:28
rbarzallo24-Sep-04 4:28 
GeneralRe: BringtoFront from thread? Pin
Stefan Troschuetz25-Sep-04 22:53
Stefan Troschuetz25-Sep-04 22:53 
GeneralRe: BringtoFront from thread? Pin
Anonymous26-Sep-04 6:42
Anonymous26-Sep-04 6:42 
QuestionRemoting Errors? Pin
Haunter23-Sep-04 15:42
Haunter23-Sep-04 15:42 
I have been trying to work with remoting. I have tried several examples from books and form CP and continue to get this error. I am running XP home with .NET 1.1 and VS.NET 2003

This is the first in a series of errors:

An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in system.dll

Additional information: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

Second error:

An unhandled exception of type 'System.TypeInitializationException' occurred in system.dll

Additional information: The type initializer for "System.Net.Sockets.Socket" threw an exception.

Followed by this error:

An unhandled exception of type 'System.TypeInitializationException' occurred in system.runtime.remoting.dll

Additional information: The type initializer for "System.Net.IPAddress" threw an exception.

The Block of code that produces the error is below:

BinaryClientFormatterSinkProvider clientProvider = new BinaryClientFormatterSinkProvider();
BinaryServerFormatterSinkProvider serverProvider = new BinaryServerFormatterSinkProvider();
serverProvider.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full;

IDictionary props = new Hashtable();
props["port"] = 0;
string s = System.Guid.NewGuid().ToString();
props["name"] = s;
props["typeFilterLevel"] = TypeFilterLevel.Full;
TcpChannel chan = new TcpChannel(
props,clientProvider,serverProvider);


ChannelServices.RegisterChannel(chan);


Type typeofRI = typeof(IParachute);
IParachute remObject = (IParachute)Activator.GetObject(
typeofRI,
"tcp://localhost:6123/ParachuteExample");

I would appreciate any insite into my problem.
GeneralQuestion about InstallShield Pin
wrykyn23-Sep-04 12:43
wrykyn23-Sep-04 12:43 
GeneralRe: Question about InstallShield Pin
Heath Stewart23-Sep-04 15:48
protectorHeath Stewart23-Sep-04 15:48 
GeneralRe: Question about InstallShield Pin
wrykyn24-Sep-04 5:01
wrykyn24-Sep-04 5:01 
GeneralDatagrid Add and Delete Buttons Pin
macsgirl23-Sep-04 12:42
macsgirl23-Sep-04 12:42 
GeneralRe: Datagrid Add and Delete Buttons Pin
Heath Stewart23-Sep-04 15:40
protectorHeath Stewart23-Sep-04 15:40 
GeneralDevelop Windows Application with Add-Ins Pin
shawaj23-Sep-04 10:57
shawaj23-Sep-04 10:57 
GeneralRe: Develop Windows Application with Add-Ins Pin
Charlie Williams23-Sep-04 11:03
Charlie Williams23-Sep-04 11:03 
GeneralRe: Develop Windows Application with Add-Ins Pin
Roger Stewart23-Sep-04 11:08
professionalRoger Stewart23-Sep-04 11:08 
GeneralRe: Develop Windows Application with Add-Ins Pin
shawaj23-Sep-04 12:54
shawaj23-Sep-04 12:54 
GeneralRe: Develop Windows Application with Add-Ins Pin
Nnamdi Onyeyiri23-Sep-04 13:21
Nnamdi Onyeyiri23-Sep-04 13:21 
GeneralNullReferenceException Pin
Anonymous23-Sep-04 9:49
Anonymous23-Sep-04 9:49 
GeneralRe: NullReferenceException Pin
Heath Stewart23-Sep-04 10:20
protectorHeath Stewart23-Sep-04 10:20 
GeneralPassword Textbox for Datagrid Pin
macsgirl23-Sep-04 8:45
macsgirl23-Sep-04 8:45 
GeneralRe: Password Textbox for Datagrid Pin
Heath Stewart23-Sep-04 11:37
protectorHeath Stewart23-Sep-04 11:37 
General.NET load of DLL in privatePath failing -- HELP!!!! Pin
LongRange.Shooter23-Sep-04 8:19
LongRange.Shooter23-Sep-04 8:19 
GeneralRe: .NET load of DLL in privatePath failing -- HELP!!!! Pin
Heath Stewart23-Sep-04 10:41
protectorHeath Stewart23-Sep-04 10:41 
GeneralRe: .NET load of DLL in privatePath failing -- HELP!!!! Pin
LongRange.Shooter23-Sep-04 11:07
LongRange.Shooter23-Sep-04 11:07 

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.