Re: [ADVANCED-DOTNET] .NET Remoting and Access 97

2003-03-03 Thread Akshay Arora
> (1) However, placement in the global cache requires strong > name creation > which would be a hassle to do on our various Access 97/2000 client > machines. I have been unable to figure out how to simply use a private > assembly for this purpose. Placing it in either > WinNT\System32 or in the >

Re: [ADVANCED-DOTNET] Passing a Surrogate to the BinaryFormatter used by the Remoting infrastructure

2003-03-03 Thread Abdulla, Jehangir
yeah you are right and I knew that :), I just need to create a new FormatterSink, not the Formatter I wasn't thinking when I was typing, need more caffine :) Thanks again Mike -Original Message- From: Mike Woodring (DevelopMentor) [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 4:

Re: [ADVANCED-DOTNET] .NET Remoting and Access 97

2003-03-03 Thread Kamen Lilov
Roy, I believe they are using Access for much more than just a database engine. Access deals with displaying forms, handling script-based code (although, I have to admit, its VBA dialect is really stone age technology), and displaying reports. Many people actually use Access _with_ MSDE; they run

Re: [ADVANCED-DOTNET] Passing a Surrogate to the BinaryFormatter used by the Remoting infrastructure

2003-03-03 Thread Mike Woodring (DevelopMentor)
> ago, I was told the solution was to write a custom IFormatProvider Sorry - mentioned the wrong interface name there. Meant to mention I(Client/Server)FormatterSinkProvider; not IFormatProvider. That's what I get for typing from memory :-) BTW - with respect to your reply, you don't need to re

Re: [ADVANCED-DOTNET] Passing a Surrogate to the BinaryFormatter used by the Remoting infrastructure

2003-03-03 Thread Abdulla, Jehangir
Don, The thing is you can't really access the BinaryFormatter instance thats used by the BinaryClient(Server)SerializerSink so you can't really set the SurrogateSelector property :) John -Original Message- From: Browning, Don [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 3:20 P

Re: [ADVANCED-DOTNET] .NET Remoting and Access 97

2003-03-03 Thread Roy Forkner
How about replacing Access with MSDE? Roy Forkner -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Melvin Bernstein Sent: Monday, March 03, 2003 11:33 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] .NET Remoting and Access

Re: [ADVANCED-DOTNET] Passing a Surrogate to the BinaryFormatter used by the Remoting infrastructure

2003-03-03 Thread Mike Woodring (DevelopMentor)
> > Take a look at the SurrogateSelector property on the > BinaryFormatter, it allows you to set the Selector used > during the serialization phase... > But to do this, you need to have a reference to the formatter that's going to be used. When you're just doing object persistence, this is easy -

Re: [ADVANCED-DOTNET] Passing a Surrogate to the BinaryFormatter used by the Remoting infrastructure

2003-03-03 Thread Abdulla, Jehangir
I was afraid this was going to be the answer, damn, creating my own formatter that does pretty much does the same thing as the BinaryFormatter just so that I can pass in Surragates and Binders seems to be an overkill. I'll try using Reflection and see if I can access the Formatter from CoreChann

Re: [ADVANCED-DOTNET] IDE and SqlConnection question

2003-03-03 Thread Kamen Lilov
Thanks Howard and Ray, The idea of a custom control (not a user control, but a full-blown designer visible control) is very appealing. I was wondering, however, how to give the data designer an idea to use my control in place of a connection object. Would simply implementing IDbConnection suffice

Re: [ADVANCED-DOTNET] Passing a Surrogate to the BinaryFormatter used by the Remoting infrastructure

2003-03-03 Thread Mike Woodring (DevelopMentor)
I haven't done this myself, but when I asked the same question a while ago, I was told the solution was to write a custom IFormatProvider implementation and register it in your .config file (or programmatically) instead of the built-in format provider. So instead of listing the built-in formatter

Re: [ADVANCED-DOTNET] Passing a Surrogate to the BinaryFormatter used by the Remoting infrastructure

2003-03-03 Thread Browning, Don
> This may be a stupid question, I need to pass a Surrogate > Selector to the BinaryFormatter that is used by the Remoting > infrastructure, any ideas on how this can be done. I thought > maybe the BinaryClientFormatterSink or the > BinaryServerFormatterSink would have a property that allows > me a

Re: [ADVANCED-DOTNET] .NET Remoting and Access 97

2003-03-03 Thread Browning, Don
> (1) However, placement in the global cache requires strong > name creation which would be a hassle to do on our various > Access 97/2000 client machines. I have been unable to figure > out how to simply use a private assembly for this purpose. > Placing it in either WinNT\System32 or in the Acces

Re: [ADVANCED-DOTNET] IDE and SqlConnection question

2003-03-03 Thread Ray Dixon
You might want to take a look at creating a User Control of your own that you could use for your data connections. -Original Message- From: Howard Pinsley [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 8:47 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] IDE and SqlConnecti

[ADVANCED-DOTNET] .NET Remoting and Access 97

2003-03-03 Thread Melvin Bernstein
I posted this to the .NET-CLR list about 5 days ago but no one has responded ... Our shop is still in the stone age technologically, using Access (often Access 97) in combination with SQL Server for many projects. I am trying to get our group to move to .NET, skipping over COM. To that end, I have

Re: [ADVANCED-DOTNET] IDE and SqlConnection question

2003-03-03 Thread Howard Pinsley
>>> Now the actual question: is there a way to add a SqlConnection object (or possibly another class, but implementing the proper interface) that is accessible by the VS IDE designer, I can see it on the design surface, use it at design time, and yet at runtime I want to be able to "replace" - or "

Re: [ADVANCED-DOTNET] Adding custom headers to formatter

2003-03-03 Thread Johnston, Jesse JJ
I just implemented a scheme like this using a context attribute to add interception code into cross-context calls. There's a great article [1] by Juval Lowy in the March issue of MSDN that shows how to do this. Mike Woodring also has some sample code [2] on the DevelopMentor site that illustrates

[ADVANCED-DOTNET] Passing a Surrogate to the BinaryFormatter used by the Remoting infrastructure

2003-03-03 Thread Abdulla, Jehangir
This may be a stupid question, I need to pass a Surrogate Selector to the BinaryFormatter that is used by the Remoting infrastructure, any ideas on how this can be done. I thought maybe the BinaryClientFormatterSink or the BinaryServerFormatterSink would have a property that allows me access to

[ADVANCED-DOTNET] Adding custom headers to formatter

2003-03-03 Thread Kamen Lilov
I have an application that uses WinForms for the client and an application server. These two tiers communicate through Remoting. I need to maintain some form of user session concept (for authentication purposes, as well as to preserve across-call information on the server side). There is a system

[ADVANCED-DOTNET] IDE and SqlConnection question

2003-03-03 Thread Kamen Lilov
Hi all, I sent this a few days ago to the CSharpNET list at yahoogroups but nobody sent back a response. Since the issue is not trivial, and I'm sure I am not the only one interested in a solution, maybe some of the folks in this group will be able to help... (like for Chris Sells, a famous guru