Re: [DOTNET] VS.Net "Copy Local" feature

2002-06-05 Thread John St. Clair
One help is to verify that you either have a AssemblyInfo file in each of your projects, or are setting the Assembly: AssemblyVersionAttribute somewhere in your project. Verify that your version is NOT the default 1.0.*.*, which is incorrect. Set the version manually (i.e., 1.0.0.0), and increment

Re: [DOTNET] calling static constructors

2002-06-05 Thread Mitch Denny
Dejan, Afraid not. Otherwise you would have static initializers going off all over the place. The following reference in the SDK documentation has more detail: ms-help://MS.VSCC/MS.MSDNVS/csref/html/vclrfstaticconstructors.htm The thing about static constructors is that they have a limited sco

Re: [DOTNET] VS.Net "Copy Local" feature

2002-06-05 Thread Alex Henderson
I had a similar issue a few days ago... I'd love to know what triggers this off... I assume other DLL's referencing that DLL hold outdated version info?? ... Hard to say really... can anyone enlighten us? -Original Message- From: Allen Aune [mailto:[EMAIL PROTECTED]] Sent: Thursday, June

[DOTNET] Communication Options in .Net - Arhcitectural decision - Urgent pls

2002-06-05 Thread george antony
Hi all I am using a distributed architecture where in my business facade objects are on a remote machine and my client is on a different machine. Now I have different servers that have business facade objects and I have to connect to one of them based on the server name that is got from the user

Re: [DOTNET] need very Urgently - scripting in .net

2002-06-05 Thread george antony
No . I was talking abt only abt executing a vbs file from .Net --- Shyan Lam <[EMAIL PROTECTED]> wrote: > Are you talking about writing macros/script in > VS.NET? > > Shyan > > > > -Original Message- > > From: The DOTNET list will be retired 7/1/02 > > [mailto:[EMAIL PROTECTED]] On Behalf

Re: [DOTNET] ASP.Net VS IDE bug

2002-06-05 Thread Joseph E Shook
Did you check these options: Tools | Options | Text Editor | HTML/XML | HTML Specific or one of the related settings. I was having similar problems with some attributes changing between design and html views. I turned off HTML Validation. -Original Message- From: The DOTNET list will b

[DOTNET] ASP.Net VS IDE bug

2002-06-05 Thread Philo
This one's pretty simple, and a poor behavior: I'm working on a .aspx page with an associated style sheet. I haven't created all the styles yet in the .css file. I put a style in a font tag in the html view. Switch to the design pane, then back to html - the IDE has removed the "invalid" style.

Re: [DOTNET] ArrayList vs. DataSet

2002-06-05 Thread Beauchemin, Bob
Hi Greg, Blame it on Exchange web mail client. Here's the response again: A DataSet is a series of collection classes based on the ArrayList. ;-) Therefore, the only thing that you gain by using a DataReader to populate an ArrayList is that you don't allocate the (relatively) small bits of sto

Re: [DOTNET] Hashtable XML Serialization

2002-06-05 Thread Rolls, Robert
I would have thought implementing IDictionary would have made serialisation a breeze. (then again I'm pretty duff with the totally obvious) Would I be able to write the contents as an XML string? i.e expose a property named xmlHashContents that does something like (probably would get chance to

Re: [DOTNET] AW: [DOTNET] ServiceController Bug

2002-06-05 Thread Rolls, Robert
I've just started a project that was going to host multiple services within the same executable, when you say not supported do you mean you casn't do it or the ServiceController doesn't support it? -Original Message- From: Urs Eichmann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 June 20

Re: [DOTNET] Save a Image to SQL

2002-06-05 Thread Rolls, Robert
You can also use a Parameter for your insert or update. like UPDATE TableX Set Pic = @Parm WHERE XXX=YYY Robert. -Original Message- From: Christoph [mailto:[EMAIL PROTECTED]] Sent: Thursday, 6 June 2002 2:57 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Save a Image to SQL Sérgio, Take

Re: [DOTNET] Save a Image to SQL

2002-06-05 Thread Rolls, Robert
I think as soon as your dealing with image fields you unfortunately can't use the update feature of the DataSet as it uses all original values in the WHERE part of the SQL clause to locate the original record. Plus you tend to loose the favoured stored procedure that inserts the record and retur

Re: [DOTNET] Casting to a Type from an Enum

2002-06-05 Thread Sean Greer (SBI-Chico)
I'm not sure why you need to cast to "whatsthetype", when you then assign it to a variable of type IBar. Why not this: IBar MyVar = (IBar) foo; Seang -Original Message- From: Steve Holak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 3:19 PM To: [EMAIL PROTECTED] Sub

Re: [DOTNET] Casting to a Type from an Enum

2002-06-05 Thread Henk de Koning
Why would you cast the thing to whatsthetype if you know you're going to treat it as an IBar ?? If it implements IBar, cast it to IBar and live a happy life. If you use IBar bar = foo as IBar; IQuux quux = foo as IQuux; you can find out what it implements by checking nullness. If you want to us

Re: [DOTNET] Casting to a Type from an Enum

2002-06-05 Thread Block, Jeffrey A.
Boy...I just re-read your post...I don't think that you were in any way asking for an enum based object. Sorry... :( Jeff Block -Original Message- From: Steve Holak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 6:19 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Casting to a Ty

Re: [DOTNET] Casting to a Type from an Enum

2002-06-05 Thread Block, Jeffrey A.
Try YourEnum obj=(YourEnum)Enum.Parse(typeof(YourEnum),value, bool case)); This should return the enum based on the string representation. Jeff Block -Original Message- From: Steve Holak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 6:19 PM To: [EMAIL PROTECTED] Subject: [DO

[DOTNET] Casting to a Type from an Enum

2002-06-05 Thread Steve Holak
I'm banging my head on something simple and don't have my references here: I have an object type returned by a function that has just de-serialized that object from a database (Soap deserializer) . The object implements a known interface (IBar). I know the type of the original object , but my k

Re: [DOTNET] Locate WinForm control recursively

2002-06-05 Thread Dan Souk
Works like a charm. Thanks Jacob. -Original Message- From: The DOTNET list will be retired 7/1/02 [mailto:[EMAIL PROTECTED]] On Behalf Of Jacob Grass Sent: Wednesday, June 05, 2002 4:50 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Locate WinForm control recursively Dan- This works fo

Re: [DOTNET] Locate WinForm control recursively

2002-06-05 Thread Jacob Grass
Dan- This works for me: Public Function FindControl(ByVal Parent As Control, ByVal Target As String) As Control Dim FoundIt As Control = Nothing Dim i As Integer = 0 Do Until Not FoundIt Is Nothing Or i > Parent.Controls.Count - 1 If Parent.Controls(i).N

Re: [DOTNET] VS.Net "Copy Local" feature

2002-06-05 Thread Allen Aune
Try shutting down the IDE and deleting the bin and obj directory trees underneath you project directories. Then rebuid the solution. If it still doesn't compile, delete everything again and then build the solution project by project in the "project build order" of the solution. Hope this hel

Re: [DOTNET] VS.Net "Copy Local" feature

2002-06-05 Thread Loc Nguyen
Please, anyone? VS.Net assembly is infuriating us, here. The following is a sample error, Error: The dependency 'IDBAdapter, Version=1.0.886.27588, Culture=neutral' in project 'FormTrack' cannot be copied to the run directory because it would conflict with dependency 'IDBAdapter, Version=1.0.88

[DOTNET] Locate WinForm control recursively

2002-06-05 Thread Dan Souk
Hi folks, I need to locate a control within a WinForm that may be located a few layers deep into the container hierarchy. The answer seems to be recursion, since there is no FindControl method on the standard Windows Form class. Problem I'm having is that this code can't retrieve a control past t

Re: [DOTNET] Exception in async web service...callback never called?

2002-06-05 Thread Matt Horne
Forget it. If you use the Begin* functions (for some reason they were commented out in the example code below) rather then the delegates then everything works fine. To:[EMAIL PROTECTED] cc:

Re: [DOTNET] Administrative Announcement - Reasoning

2002-06-05 Thread wagner
Mine does the same... please don't... Wagner Alcocer At 09:45 AM 6/5/2002 -0400, you wrote: >Please don't do this. My company blocks NNTP at the firewall. > >Regards, >Hank Wallace > >-Original Message- >From: Andreas Håkansson [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, June 05, 2002

[DOTNET] Exception in async web service...callback never called?

2002-06-05 Thread Matt Horne
I found that if a web service that is called async throws an error, the client async callback never gets called. Is there something that I am missing? Server code... Public Function DoSomeWork(ByVal Delay As Integer) As Integer Throw New Exception("I am broken") End Function Client

Re: [DOTNET] recursive stack trace

2002-06-05 Thread Dominic Pease
If it's appropriate to the situation, and if the compiler isn't doing this for you already, you could always go in and hack the IL such that the recursive solution implements a tail call methodology. C# has no way to do so (and honestly this should be done by the compiler) but a tail call in a str

Re: [DOTNET] OT: Is it possible to use default values in C# like the Optional parameters in VB.NET?

2002-06-05 Thread Federico Raggi
1) C# does not allow to default parameters; however you can implement it overloading methods: public void myMethod(int x, int y) { // Do something } public void myMethod(int x) { myMethod(x, 50); } 2) Yes, you can call the other constructor using this: class myClass { p

Re: [DOTNET] Is it possible to use default values in C# like the Optional parameters in VB.NET?

2002-06-05 Thread Marsh, Drew
Collins, Michael G [mailto:[EMAIL PROTECTED]] wrote: > Can this be done in C#? Or do I need to create 2 versions of > the function? Sure, you define multiple versions of the method with the same return type and varying parameter lists. This techinique is referred to as "overloading". If you want

Re: [DOTNET] OT: Is it possible to use default values in C# like the Optional parameters in VB.NET?

2002-06-05 Thread Mike Woodring
C# doesn't support default arguments, so you need to create N versions of the function. BTW - this type of question would fit nicely with the charter of the new DOTNET-Cx list... -Mike http://staff.develop.com/woodring http://www.develop.com/devresources - Original Message - From: "Col

[DOTNET] OT: Is it possible to use default values in C# like the Optional parameters in VB.NET?

2002-06-05 Thread Collins, Michael G
Is it possible to use default values in C# like the Optional parameters in VB.NET? VB.NET (From Beta 2 source example: Optional ByVal Events As Boolean = True Old style C++ sample: Bool Events = true Can this be done in C#? Or do I need to create 2 versions of the function? Also, If I have

[DOTNET] VS.Net "Copy Local" feature

2002-06-05 Thread Loc Nguyen
Has anyone else had a problem with this setting in VS.Net? We are seeing huge pain in the rear issues with this property setting. We have a multi- tier application. For development purposes, we have all tiers on each developer's machine. We have a case where the webservice facade layer access

Re: [DOTNET] Connection Question

2002-06-05 Thread Blain Timberlake
Well just for kicks, I have each one of those dataAdapter.fill() statements each using their own connection and I still get the same problem. So now none of these guys are sharing a connection, which kind of kills my first stab at the problem. Could anyone clue me in as to why I'd still be g

Re: [DOTNET] WebServices Performance & Security: an Oxymoron?

2002-06-05 Thread Manuel Patrone
Thanks for your feedback John, I also think that these authentications numbers are way out of line... I'll check on the setup. Regards, Manuel You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] WebServices Performance & Security: an Oxymoron?

2002-06-05 Thread Cavnar-Johnson, John
Yes, all the numbers will be worse, but your authentication costs are probably relatively fixed. You appear to have 70 seconds of overhead per authentication on your network and that won't change very much when you move the processes to separate machines. I've seen much, much lower overhead for

Re: [DOTNET] WebServices Performance & Security: an Oxymoron?

2002-06-05 Thread Manuel Patrone
>Your test doesn't seem to match your intended deployment environment. >Surely you don't plan on calling this service from a console app on the >same machine. In your test (if I understand your setup correctly), the >only time you actually do a network hop is to authenticate against the >domain.

Re: [DOTNET] Connection Question

2002-06-05 Thread Greg Ward
Weird. I'm new at this too but that sure seems to contradict what I have read. Maybe someone else can explain why you'd get an error on an open DataReader even though none are declared/instantiated. > -Original Message- > From: The DOTNET list will be retired 7/1/02 > [mailto:[EMAIL

Re: [DOTNET] Connection Question

2002-06-05 Thread Marina Zlatkina
I believe they are used in the DataSet internally to do the data retrieval... You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Connection Question

2002-06-05 Thread Blain Timberlake
Well I'm not using a datareader unless it is used internally to a SQLDataAdapter which it may very well be. I do the following: daGetRunningParams.Fill(dsRunningParams) where daGetRunningParams is a DataAdapter that executes an SQL statement to get a table back. I had just assumed it used a dat

Re: [DOTNET] WebServices Performance & Security: an Oxymoron?

2002-06-05 Thread Cavnar-Johnson, John
Manuel, Your test doesn't seem to match your intended deployment environment. Surely you don't plan on calling this service from a console app on the same machine. In your test (if I understand your setup correctly), the only time you actually do a network hop is to authenticate against the doma

Re: [DOTNET] howto set object to empty?

2002-06-05 Thread Sean Greer (SBI-Chico)
You're not modifying the new row in this manner are you: newRow.ItemArray[n] = "Some value"; If you are, that won't work (as you've found). The new row's ItemArray property should be set to an object[] reference like this: // assuming 2 columns of type string object[] rowProps = new object[2];

Re: [DOTNET] howto set object to empty?

2002-06-05 Thread Marsh, Drew
MSTSE Developer [mailto:[EMAIL PROTECTED]] wrote: > something like that it must be! but setting to missing or > just to null does not work. when i set one value in the > datarow to null or missing i get an exception which tells me > that i have to use dbnull! but when i try to put null direct > i

Re: [DOTNET] Connection Question

2002-06-05 Thread Greg Ward
No, you said that the error was an open DataReader, not a DataSet. I'm assuming you use the DataReader to fetch the data and then load the data into the DataSet. If so then you need to do ... myDataReader.Close() > -Original Message- > From: The DOTNET list will be retired 7/1/02 > [

Re: [DOTNET] Connection Question

2002-06-05 Thread Marina Zlatkina
No, the Monitor class is used to synchronize access to object - such as the connection object in this instance. It is not related at all to timers or events. If the problem is indeed several threads trying to use the connection at the same time to retrieve data, then it should help. On Wed, 5 Jun

Re: [DOTNET] howto set object to empty?

2002-06-05 Thread Marsh, Drew
Sean Greer (SBI-Chico) [mailto:[EMAIL PROTECTED]] wrote: > Perhaps you could use System.Reflection.Missing? No, that equates to VT_ERROR with E_PARAMNOTFOUND which is used for optional parameters that aren't specified. See my previous response to this thread for default marshaling information.

Re: [DOTNET] Save a Image to SQL

2002-06-05 Thread Christoph
Sérgio, Take a look at this article on MSDN: HOW TO: Read and Write a File to and from a BLOB Column by Using Chunking in ADO.NET and Visual Basic .NET (Q317034) Save your Bitmap to a MemoryStream and insert the chunks from the MemoryStream to the database instead of the FileStream in the examp

Re: [DOTNET] WebServices Performance & Security: an Oxymoron?

2002-06-05 Thread Manuel Patrone
Thanks for all the replies, Further info: .Re:transactions That shouldn't matter. The baseline numbers show the real processing incurred in executing the trx batch when accessed directly. That is without any webservice or remoting overhead involved. .Re:Client Same platform. As I said before

Re: [DOTNET] recursive stack trace

2002-06-05 Thread franklin gray
thanks all. -Original Message- From: Murphy, James [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 11:17 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] recursive stack trace > -Original Message- > From: franklin gray [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 0

Re: [DOTNET] howto set object to empty?

2002-06-05 Thread MSTSE Developer
> Perhaps you could use System.Reflection.Missing? something like that it must be! but setting to missing or just to null does not work. when i set one value in the datarow to null or missing i get an exception which tells me that i have to use dbnull! but when i try to put null direct into the i

Re: [DOTNET] recursive stack trace

2002-06-05 Thread Jim McWilliams
you clear the stack by either: a) making sure your recursive logic terminates, or b) making the method/function non-recursive. Yes, one can run out of stack space -- it's usually caused by poorly designed recursive functions. jim Jim McWilliams Managing Director, Risk Information Systems & Con

Re: [DOTNET] recursive stack trace

2002-06-05 Thread Murphy, James
> -Original Message- > From: franklin gray [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 05, 2002 12:14 PM > I have a recursive function that calls itself many times. If > an error occurs, I notice that the call stack is very large. > > Two questions: > > 1) Will this stack overflo

Re: [DOTNET] Connection Question

2002-06-05 Thread Blain Timberlake
I thought the monitor would reset the timers? Or am I completely wrong on that one? I'll test it out and see. Thanks for the ideas though! =Blain -Original Message- From: The DOTNET list will be retired 7/1/02 [mailto:[EMAIL PROTECTED]] On Behalf Of Marina Zlatkina Sent: Wednesday, Ju

Re: [DOTNET] howto set object to empty?

2002-06-05 Thread Sean Greer (SBI-Chico)
Perhaps you could use System.Reflection.Missing? -Original Message- From: MSTSE Developer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 8:30 AM To: [EMAIL PROTECTED] Subject: [DOTNET] howto set object to empty? i have to transfer a datarow from between my client and server a

[DOTNET] recursive stack trace

2002-06-05 Thread franklin gray
I have a recursive function that calls itself many times. If an error occurs, I notice that the call stack is very large. Two questions: 1) Will this stack overflow? 2) Is there a way to clear the stack after each call? You can read messages from the DOTNET archive, unsubscribe from DOTNET

[DOTNET] Save a Image to SQL

2002-06-05 Thread Sérgio Rodelo
I have the following code: Dim timg As System.Drawing.Image = New System.Drawing.Bitmap(imgStream) Dim tunm As System.Drawing.Image = timg.GetThumbnailImage(100, 100, Nothing, Nothing) Now I want to save the "tunm" in a table of SQL in a field of type I, how can Image do this ? You can re

Re: [DOTNET] howto set object to empty?

2002-06-05 Thread Marsh, Drew
MSTSE Developer [mailto:[EMAIL PROTECTED]] wrote: > i have to transfer a datarow from between my client and > server app with empty values. setting the values to dbnull is > not what i want. i need something like the VT_EMPTY which is > used with VARIANT in c++. Using default marshaling, passing

Re: [DOTNET] Administrative Announcement - Please Read

2002-06-05 Thread Reggie Burnett
> >I completely agree. That is why I was suggesting that a new list be > >created for the dot net beginner. I see a lot of traffic from folks > >coming over from VB that are just learning the ropes. At least 50% of > >the traffic on this list should be posted to the Advanced list and this > >li

Re: [DOTNET] remoting concept question

2002-06-05 Thread Dumitru Sbenghe
Use a interface in a different dll to decouple the remote server from client, interface which will be implemented by the remote server type; The client will refer only the interface dll. Dumitru Sbenghe > -Original Message- > From: The DOTNET list will be retired 7/1/02 > [mailto:[EMAIL

Re: [DOTNET] DataSets naive question

2002-06-05 Thread Avi Nahir
First, thank you Lee, Noam, Kojiishi, Michael and Greg for your patience, effort and help! On Wed, 5 Jun 2002 06:30:27 -0700, Lee H Fuller <[EMAIL PROTECTED]> wrote: > >It sounds like what you really have is a "reporting" requirement, so >wouldn't it be neater to have a replicated copy of the da

Re: [DOTNET] remoting concept question

2002-06-05 Thread MSTSE Developer
i always used the dll as type library. when publish the remoting object via http channel it is easy to create a type library with the soapsuds tool but how to create an type library when publish the remoting object via tcp channel? > -Ursprüngliche Nachricht- > Von: franklin gray [mailto:

Re: [DOTNET] remoting concept question

2002-06-05 Thread franklin gray
You would have the Type library, not the dll, on the client machine. The type library is kinda like a definition of what the dll is. -Original Message- From: sweat [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 9:45 AM To: [EMAIL PROTECTED] Subject: [DOTNET] remoting concept

Re: [ADVANCED-DOTNET] Adding IntelliSense ToolTips

2002-06-05 Thread Venkat Pushpala
Hi, Just goto this site and download the files and place them in the proper location given in the readme.txt. Problem will be solved. http://www.xmlforasp.net/codeSection.aspx?csID=58 Venkat. --- Rui Dias Quintino <[EMAIL PROTECTED]> wrote: > Hi, > > Just a note on this, it's true that you get

Re: [DOTNET] Hashtable XML Serialization

2002-06-05 Thread Christoph
The XmlSerializer will throw the following NotSupportedException when you pass a Type that implements IDictionary to the constructor: NotSupportedException The type System.Collections.Hashtable is not supported because it implements IDictionary. at System.Xml.Serialization.TypeScope.GetCollection

[DOTNET] embedded resource file

2002-06-05 Thread Jan Dropczynski
Hi, I have a problem with an embedded resource file in C#. The file is a .resources-file and is embedded into a win library assembly. This assembly contains all the forms that my app is using. I'm instantiating the ResourceManager in a form as followed: ResourceManager ResMgr = new System.Res

[DOTNET] howto set object to empty?

2002-06-05 Thread MSTSE Developer
i have to transfer a datarow from between my client and server app with empty values. setting the values to dbnull is not what i want. i need something like the VT_EMPTY which is used with VARIANT in c++. thanks tobias You can read messages from the DOTNET archive, unsubscribe from DOTNET, or su

Re: [DOTNET] Connection Question

2002-06-05 Thread Marina Zlatkina
Why is it not easy? Monitor.Enter(myConObject) myAdapter.Fill(myDataSet) Monitor.Exit(myConObject) This should ensure that only one thread has a lock on the connection object at a time, avoiding the possibility that two try to get data using the same connection object at the same time. I think

[DOTNET] ASP.NET reinstallation problem XP-PRO

2002-06-05 Thread Mike Pike
Hi, This is my first posting to this liost so excuse breaches of etiquette please. I have trried to de-install/remove MS.NET after I renamed my computer in XP so the nodename was sensible. The remove locked up my machine and forced me to power off and on, a repat removed the entry from list and

Re: [ADVANCED-DOTNET] Using a Data Builder and Data Adapter with Oracle

2002-06-05 Thread Alexander, William
How are you generating your DataAdapter? Are you doing it through the IDE, or manually through code? The simplest way to create a DataAdapter is to drag a single table in from Server Explorer, then rename it to whatever you need it to be. The IDE will automatically create all the necessary CRUD

[DOTNET] remoting concept question

2002-06-05 Thread sweat
I have been playing around with remoting. I am having trouble understanding something though. I created a dll and a client app that will access it from another machine. In my client app I create a variable of a type I define in my dll. For my client to know what that is I have to add a referen

Re: [DOTNET] Hashtable XML Serialization

2002-06-05 Thread Ian Griffiths
But IDictionary derives from ICollection! So by definition, anything that implements IDictionary also implements ICollection. Or are you saying that it looks specifically for IDictionary and avoids serializing anything that implements it? (I.e. that it will only serialize collections that imple

Re: [DOTNET] Connection Question

2002-06-05 Thread Blain Timberlake
Hmmwell I don't think it is quite as easy to do with the monitor. What I have is 1 connection, Two timers using 3 different data adapters, And 4 sql command objects. My *HOPE* was that I could have one connection, and be able to point all those guys to one connection object. If two or three

Re: [DOTNET] Administrative Announcement - Reasoning

2002-06-05 Thread Browning, Don
http://groups.google.com/ The best web interface to newsgroups out there (IMO)... Don -Original Message- From: Mike Woodring [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 10:45 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Administrative Announcement - Reasoning There a

Re: [DOTNET] Hashtable XML Serialization

2002-06-05 Thread Christoph
Robert, The XmlSerializer will not touch anything that implements IDictionary, it only serializes collections implementing ICollection or IList. Thus you can't just derive a class because the derived class implements IDictionary. You have to write a wrapper class with some public properties to a

Re: [DOTNET] Administrative Announcement - Reasoning

2002-06-05 Thread Mike Woodring
There are no plans at this time to switch to NNTP solution (for the reasons cited earlier, including administration overhead); although we're still investigating things like supporting a dual interface (email/nntp). -Mike http://staff.develop.com/woodring http://www.develop.com/devresources

Re: [DOTNET] need very Urgently - scripting in .net

2002-06-05 Thread Shyan Lam
Are you talking about writing macros/script in VS.NET? Shyan > -Original Message- > From: The DOTNET list will be retired 7/1/02 > [mailto:[EMAIL PROTECTED]] On Behalf Of george antony > Sent: Wednesday, June 05, 2002 01:29 > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] need very Urgen

Re: [DOTNET] Administrative Announcement - Reasoning

2002-06-05 Thread Wallace, Hank
Please don't do this. My company blocks NNTP at the firewall. Regards, Hank Wallace -Original Message- From: Andreas Håkansson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 8:32 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Administrative Announcement - Reasoning Are ther

Re: [DOTNET] Connection Question

2002-06-05 Thread Marina Zlatkina
To use a DataSet you don't need to open a connection at all. When you call the Fill method, the connection will be automatically open and closed after the fill is performed. It is very possible as you suggested that those timers are trying to execute that code at the same time. You should look in

Re: [DOTNET] WebServices Performance & Security: an Oxymoron?

2002-06-05 Thread Cavnar-Johnson, John
You need to give us some more information: How are you calling the web service (from a web app, a winform app, the built-in UI, a different platform)? Did you turn off anonymous access in IIS? Are you using domain accounts? All of these factors will affect the performance of Windows Authentica

Re: [DOTNET] WebServices Performance & Security: an Oxymoron?

2002-06-05 Thread Greg Reinacker
Well, an IWA request will require two rountrips to complete, because a NTLM authentication requires a challenge and a response. I'm not sure what the third one would be. Can you post a network trace? Greg Reinacker Reinacker & Associates, Inc. http://www.rassoc.com http://www.rassoc.com/gregr/w

Re: [DOTNET] WebServices Performance & Security: an Oxymoron?

2002-06-05 Thread Stephane Murphy
Can you give more details on what these tx(s) do? Thanks Stephane >From: Manuel Patrone <[EMAIL PROTECTED]> >Reply-To: The DOTNET list will be retired 7/1/02 ><[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [DOTNET] WebServices Performance & Security: an Oxymoron? >Date: Wed, 5 Jun 2002 06

Re: [DOTNET] OO Architecture question...

2002-06-05 Thread Thomas Tomiczek
Well, he could then simply forget the external state server and gain another huge amount of speed :-) And, if you talk of a farm etc., the state server MIGHT become the bottleneck at one point. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- Fr

Re: [DOTNET] Connection Question

2002-06-05 Thread Blain Timberlake
So you mean when I do the declaration for the: Dim dsRunningParams As DataSet = New DataSet() ? I might be totally wrong here, but I thought when I used a dataset as I did below that it was disconnected from the connection (thus the reason I could call .Close() on the connection and still use the

Re: [ADVANCED-DOTNET] Size of object

2002-06-05 Thread Brad Wilson
Joel Mueller wrote: > That's the problem, though, isn't it? Every time a GC runs, and you > don't know when that is, your entire cache is cleared out, except for > the objects that you might happen to actually be using at the time of > the GC. Wouldn't it be better to retain the items that were u

[DOTNET] security.Cryptography.Certificates

2002-06-05 Thread Sreedhar Gupta
Hi all, Is there JAVA KeyStore equivallent class in dotnet. I want to store the private key and X509 certificates in key sotre file like in JAVA security and use that keystore to retrive keys while Signing and Verifying the Signatures. Can any one please help me in this regard. Thanks & Regards S

Re: [DOTNET] Administrative Announcement - Please Read

2002-06-05 Thread Oren Novotny
For those people that are behind a firewall and cannot access newsgroups, there are plenty of web interfaces to newsgroups (a-la-Microsoft's) that let you read/post/reply to messages from a web site. Or, as was mentioned by one other person, the email list and newsgroup could be bridged to allow

Re: [DOTNET] calling static constructors

2002-06-05 Thread Jeroen Frijters
Try the following: using System; class T { static T() { Console.WriteLine("static constructor"); } } class Test { static void Main() { Type t = typeof(T); System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(t.Typ eHandle); } } Regards, Jeroen > -Original Mess

Re: [DOTNET] Ways to get security info

2002-06-05 Thread Joseph E Shook
Managed reflection does not reveal that particular attribute. I believe that this is documented some where in the Partition II MetaData.doc. The PermView.exe command line utility can see it but that is using unmanaged code. -Original Message- From: The DOTNET list will be retired 7/1/02

Re: [DOTNET] Connection Question

2002-06-05 Thread Greg Ward
Blain, I believe that the DataReader does not automatically close like a DataAdapter does. > -Original Message- > From: The DOTNET list will be retired 7/1/02 > [mailto:[EMAIL PROTECTED]]On Behalf Of Blain Timberlake > Sent: Wednesday, June 05, 2002 7:46 AM > To: [EMAIL PROTECTED] > Su

Re: [DOTNET] Newsgroups (was Re: [DOTNET] Administrative Announcement - Please Read)

2002-06-05 Thread Steve Holak
I agree; I have a similar problem here with newgroups and the firewall, and I have no say in the administration end of things--I prefer the email list. Steve Holak Senior Software Architect Brokerage Concepts IS Dept. 610-491-4879 email: [EMAIL PROTECTED] Brad Wilson

Re: [DOTNET] DataSets naive question

2002-06-05 Thread Lee H Fuller
On Sun, 2 Jun 2002 23:30:49 -0700, Avi Nahir <[EMAIL PROTECTED]> wrote: >IMHO, however, it makes more sense to use a local "helper" database when >the following is true: > >You want to reduce the load on the database server. >The data doesn't change a lot, so that sending it to clients pays for >i

Re: [DOTNET] byte[] to Object

2002-06-05 Thread Wil Burton
Why don't you just make a constructor for aMsg that accepts byte[] as a parameter? In the constructor just read the byte array and initialize your variables. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develo

Re: [DOTNET] how to use httpwebrequest

2002-06-05 Thread Steve Johnson
> can someone tell me how to use a httpwebrequest class > to send a file to a http url . Are you wanting to do a POST? If so, I would recommend using the UploadData method of the WebClient class. -- Steve Johnson 3t Systems You can read messages from the DOTNET archive, unsubscribe from DOTNET

Re: [DOTNET] ANN: QuickAdmin V1.1 - Maintenance interface builder

2002-06-05 Thread Brad Wilson
David Steinblock wrote: > It is not a spam. I personally like to see what is going on in the > industry by reading this list and yes, that includes the product > announcements. It is highly relevant content to the list. It is not YOUR > list and it is not YOUR mail box. Actually, the owners of t

[DOTNET] WebServices Performance & Security: an Oxymoron?

2002-06-05 Thread Manuel Patrone
The following table illustrate (in secs) the time required to execute 100 transsactions under different scenarios: web service vs different forms of remoting (HTTP/binary, HTTP/XML and TCP/binary). The baseline states the amount of time required to execute the same transactions without any remot

[DOTNET] Newsgroups (was Re: [DOTNET] Administrative Announcement - Please Read)

2002-06-05 Thread Brad Wilson
Zane Thomas wrote: >> And a newsgruop is a more convinient format of these kind of >> discussions. > I completely agree with that. It's not clear to me why the mailing list couldn't be bridged with a news group. That's pretty simple technology, and would allow people to consume the list in the

Re: [ADVANCED-DOTNET] Adding IntelliSense ToolTips

2002-06-05 Thread Rui Dias Quintino
Hi, Just a note on this, it's true that you get the xml doc file generated automatically if you use C# but you can create the xml file "manually", with the appropriate schema (you can find it at MSDN, or see the xml files provided with the .net framework assemblies for a general idea), and VS.NET

Re: [DOTNET] Remoting, I think

2002-06-05 Thread Wil Burton
I may be a bit old fashioned here but I would handle this in a database. You have tables that determine how your app behaves. The ASP reads the database and behaves accordingly. The console writes to the database to change the behavior. This is much simpler than any remoting setup you might do.

Re: [DOTNET] Administrative Announcement - Reasoning

2002-06-05 Thread Blain Timberlake
I hope not...I can't access a news server through the firewall here. :( =Blain -Original Message- From: The DOTNET list will be retired 7/1/02 [mailto:[EMAIL PROTECTED]] On Behalf Of Andreas Håkansson Sent: Wednesday, June 05, 2002 8:32 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Admi

[DOTNET] Connection Question

2002-06-05 Thread Blain Timberlake
I hate to ask this before the DotNet-Morons list is up and working, but I'm sort of confused about this. I have a project that has one connection, and 3 data adapters and 4 or 5 command objects. The project has 2 timers. tmrRequests fires every 10 seconds tmrMonitor fires ever 10 minutes Ever

Re: [DOTNET] need very Urgently - scripting in .net

2002-06-05 Thread Guy Metz
This article from msdn might help: http://msdn.microsoft.com/library/default.asp?url=/library/en-s/dnclinic/htm l/scripting06112001.asp -Original Message- From: george antony [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 1:19 AM To: [EMAIL PROTECTED] Subject: [DOTNET] need ver

Re: [DOTNET] SoapExtension communication

2002-06-05 Thread Wil Burton
Thanks for the reply. This is just what I was looking for. I have it working how I want on the client. But this type of communication doesn't seem to work on the server. Since the SoapServerMessage is unavailable during BeforeDeserialization, I can't access the web service to retrieve the prope

  1   2   >