Re: [ADVANCED-DOTNET] .NET Full Trust Policy to single machine

2003-07-11 Thread Cavnar-Johnson, John
Creating a code group based on a URL condition of the form: file://CAVNAR-JOHNSON/* works perfectly for me. > -Original Message- > From: Moderated discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Kenneth Brubaker > Sent: Friday, July 11, 2003 1:33 PM

Re: [ADVANCED-DOTNET] How to override TcpChannel.ChannelName?

2003-07-11 Thread Russell McClure
Pretty weird. I found this link: http://www.angrycoder.com/view_message_thread.aspx?mid=6813&fid=3 where someone suggests using TcpClientChannel and TcpServerChannel. Those classes have constructors that take a name parameter. Russ At 02:06 PM 7/11/2003 -0400, you wrote: I'm trying to create a

Re: [ADVANCED-DOTNET] How to override TcpChannel.ChannelName?

2003-07-11 Thread Russell McClure
Wayne, Found some even better info than when I sent my previous email. Here is a quote from MSDN online docs: IChannel implementations use channel configuration properties to configure the channel at run time. Channel properties can be specified in a configuration file, or programmatically, insi

[ADVANCED-DOTNET] Add Declaritive Reference To Assembly

2003-07-11 Thread Matthew
Hi, I'm trying to include a reference to a particular assembly when in debug mode, but not when in release mode. Here is an example: #If DEBUG Then 'Add declaritive reference to assembly #End If Is there a way to do this (like the snippet above) without having to manually add/remove the assemb

[ADVANCED-DOTNET] Programmatically Adding Custom Component to Toolbox

2003-07-11 Thread Fred Chen
Hi, I've created a custom component for smart devices and I am trying to add this component to my toolbox through an installer. I've read previous posts and msdn documentation on using the DTE object and the various ToolBox collections within. I've been able to create a new ToolBoxTab but I am n

Re: [ADVANCED-DOTNET] How to override TcpChannel.ChannelName?

2003-07-11 Thread Mike Woodring (DevelopMentor)
It looks like a bug in the documentation. If you look at both TcpChannel & HttpChannel with ILDASM, you'll see that they both implement the ChannelName property of the IChannel interface, but don't mark their implementations virtual (which is why you get the compiler error you do). Since ChannelN

[ADVANCED-DOTNET] How to override TcpChannel.ChannelName?

2003-07-11 Thread Wayne Citrin
I'm trying to create a new Channel that subclasses TcpChannel. According to the MSDN documentation, TcpChannel.ChannelName is virtual and can be overridden, but when I try to redeclare ChannelName as "override" in my new class, it says I can't do it because TcpChannel.ChannelName is not new, virtu

Re: [ADVANCED-DOTNET] Getting at WndProc for a DataGrid TextBox/Boolean - More Discussion

2003-07-11 Thread Alan Robbins
Dale The first drop down combo box for the data grid was written by Mark Boulter and converted to VB by yours truly using Beta1. It's done my heart good to see it appear on the net with a million other authors -- after all plagerism is the most sincere form of flattery :-) My point is that subcla

[ADVANCED-DOTNET] .NET Full Trust Policy to single machine

2003-07-11 Thread Kenneth Brubaker
Hi, In an earlier post: http://discuss.develop.com/archives/wa.exe?A2=ind0307a&L=advanced- dotnet&T=0&F=&S=&P=1297 I inquired about how to grant full trust to a *single* machine on the inTRAnet. I know I could boost the permissions for the Intranet Zone but that would not follow the "Principle o

Re: [ADVANCED-DOTNET] xml exception accessing a remote server

2003-07-11 Thread Mike Woodring (DevelopMentor)
What is your custom Server.SinkProvider doing? If you can remove it and just use the standard channels/formatters without that custom sink in there, can you reproduce the problem w/o the custom sink installed? -Mike DevelopMentor http://staff.develop.com/woodring > > -Original Message-

[ADVANCED-DOTNET] xml exception accessing a remote server

2003-07-11 Thread IBMalik
My server is runnig as a single call object in a windows service whereas its client is a WebService. The problme is that after some successfull connections i get the following exception unless i restart the service and it will give some successful connections again, after that its the same exceptio

Re: [ADVANCED-DOTNET] Getting at WndProc for a DataGrid TextBox/Boolean

2003-07-11 Thread Alan Robbins
Dale The first drop down combo box for the data grid was written by Mark Boulter and converted to VB by yours truly using Beta1 after we could not get it to work in the PDC Tech Preview version. It's done my heart good to see it appear on the net with a million other authors -- after all plagerism