Re: [DOTNET] Asynchronous calls.

2002-06-13 Thread Nick Wienholt
Could you set some global flag that each async. operation checks before executing the real functionality? Not as clean as removing the request, but it would be a lot less work than doing your own removable thread queue. Nick - Original Message - From: "Rolls, Robert" <[EMAIL PROTECTED]>

Re: [DOTNET] Asynchronous calls.

2002-06-13 Thread Rolls, Robert
I need to stop outstanding request when my service is requested to stop. -Original Message- From: Nick Wienholt [mailto:[EMAIL PROTECTED]] Sent: Friday, 14 June 2002 16:45 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Asynchronous calls. Asynchronous calls use the thread pool, which doesn

Re: [DOTNET] Asynchronous calls.

2002-06-13 Thread Nick Wienholt
Asynchronous calls use the thread pool, which doesn't provide any methods for unqueueing pending work requests. If you need to support cancellable asynchronous operations, the only option I can think of is running the method of a thread you create, and abort this thread if you no longer need the

Re: [DOTNET] Help Me out

2002-06-13 Thread Dinesh Upare
Yes, If I create .NET webservice I could able to transfer large string as a parameter(limit defined by machine.config). I am not able to understand where the problem lies. - Original Message - From: "franklin gray" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 13,

[DOTNET] Asynchronous calls.

2002-06-13 Thread Rolls, Robert
If I begin an asynchronous call the BeginXXX is it just a matter of calling EndXXX if I want to cancel the outstanding call? Regards Robert. **" This correspondence is for the named person's use only. It may contain confidenti

Re: [DOTNET] IDispose and Determinstic Finalisation?

2002-06-13 Thread Rolls, Robert
if only that were true! -Original Message- From: Chris Sells [mailto:[EMAIL PROTECTED]] Sent: Friday, 14 June 2002 12:30 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] IDispose and Determinstic Finalisation? > It would seem as though if a class implements IDispose I have to call it as > so

Re: [DOTNET] .config for Class Library

2002-06-13 Thread Hearn, Bruce
If you desperately need some sort of "per-assembly" config files, you might consider also using Mike Woodring's nice little extension class, which allows you to use dll.config files: http://www.develop.com/devresources/resourcedetail.aspx?type=t&id=852 Bruce -Original Message- From: Mi

Re: [DOTNET] IDispose and Determinstic Finalisation?

2002-06-13 Thread Chris Sells
> It would seem as though if a class implements IDispose I have to call it as > soon as I've finished with the object. This seems more long winded with more > chance of being forgoten by the multitude of developers out there. would it > have not been easier for the actual clr to see what objects n

[DOTNET] IDispose and Determinstic Finalisation?

2002-06-13 Thread Rolls, Robert
It would seem as though if a class implements IDispose I have to call it as soon as I've finished with the object. This seems more long winded with more chance of being forgoten by the multitude of developers out there. would it have not been easier for the actual clr to see what objects need to b

Re: [DOTNET] ADO.NET and Dispose

2002-06-13 Thread Kevin E. Kenny
Daniel, Where there is a Close() it will invariably call Dispose(). Also classes that implement IDisposeable will call Dispose() from the (always) implemented Finalize method (destructor). Leaving it up to the Finalize method to call Dispose() has two direct impacts on application performance

[DOTNET] I need documentation on ASP.Net security models

2002-06-13 Thread Philo
Are there any documents on how ASP.Net security works? Basically I'm looking for a low-level understanding of what has to access where using what role in what manner during a .aspx page call. I'd like a breakdown of how it works for *each* authentication mode, though I'm currently troubleshooting

Re: [DOTNET] .config for Class Library

2002-06-13 Thread Mitch Denny
Nischal, Configuration files are assigned on a per-AppDomain basis so the only way you could have a different configuration file to AppName.exe.config is if in each of your classes you pointed to an AppDomain just for their functionality. I wouldn't recommend this since it would complicate your

[DOTNET] .config for Class Library

2002-06-13 Thread Nischal Muthana
Hi All I created a C# class library with couple of .cs files in it. One of the class connects to the database and does some inserting. My question here is, Can I have a config file in which I can specify the connection string of the database instead of specfying in the class. I know there is som

[DOTNET] Server.Transfer and Relative Paths

2002-06-13 Thread Gagne, Chris
Good evening list members. I was wondering if someone could possibly help with an issue that seems to have me stumped. I've done the usual search the archives routine with no luck. We use Server.Transfer to fire over to pages that we require use of the context handler. Problem is relative path

[DOTNET] DataBinding

2002-06-13 Thread Wayne Lee
Dear All I have a query run against a database to retrieve a list of companies. I can bind that to the repeater fine no problem. what i'd LIKE to be able to do is, bind that to the repeater as part of theitemtemplate...and have that companies products also in the itemtemplate, as a much smaller h

Re: [DOTNET] SOAP Problems with ASP.NET

2002-06-13 Thread Tewari, Vijay
I actually already had that attribute on the server. It turns out that the problem was subtle. The sent XML uses NS declaration as xmlns:tns="http://tempuri.org Changing that to xmlns:tns="http://tempuri.org/"; "note the ending slash" rectified the problem. Regards Vijay > >I am sending the

Re: [DOTNET] Microsoft/Terrarium auto-update code

2002-06-13 Thread Dean Cleaver
Chris, Thanx for confirming what I thought - I will have to add this myself. I guess I will probably detect the new version available, copy my entire working directory over to the new directory, then let the update components overwrite whatever they need to, leaving my old files untouched. Cheer

Re: [DOTNET] .NET and Microsoft Terminal Services

2002-06-13 Thread Marsh, Drew
Keith Franklin [mailto:[EMAIL PROTECTED]] wrote: > But have you ever had an application deployed on a Terminal > Services Server with multiple users hitting the application > via Terminal Services and use .NET Remoting to get to a middle tier. Sorry, my brain accidentally skipped over the "deplo

Re: [DOTNET] .NET and Microsoft Terminal Services

2002-06-13 Thread Keith Franklin
But have you ever had an application deployed on a Terminal Services Server with multiple users hitting the application via Terminal Services and use .NET Remoting to get to a middle tier. Keith -Original Message- From: Marsh, Drew [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002

Re: [DOTNET] .NET and Microsoft Terminal Services

2002-06-13 Thread Marsh, Drew
Keith Franklin [mailto:[EMAIL PROTECTED]] wrote: > Anyone done any development of Windows Forms applications > deployed on Microsoft Terminal Services that use .NET Remoting. > > Looking for gotchas. That's the way I develop at work. I have a .NET box with no monitor that I just remote desktop (

[DOTNET] .NET and Microsoft Terminal Services

2002-06-13 Thread Keith Franklin
Anyone done any development of Windows Forms applications deployed on Microsoft Terminal Services that use .NET Remoting. Looking for gotchas. Keith A Franklin You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.dev

Re: [DOTNET] Html viewer code or class structure

2002-06-13 Thread Matthew Sherman
You can interop with the Microsoft WebBrowser control (the main browsing component used by Internet Explorer). See: http://codeproject.com/csharp/webbrowser.asp -Matthew > -Original Message- > From: Ajay Sharma [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 13, 2002 02.39p > To: [EMAI

Re: [DOTNET] SOAP Problems with ASP.NET

2002-06-13 Thread Stephane Murphy
I noticed you soap message is soap section 5 encoding. If it the case then on the server add the following attribute to the web method: [SoapDocumentMethod(Use=SoapBindingUse.Encoded)] Stephane >From: "Tewari, Vijay" <[EMAIL PROTECTED]> >Reply-To: The DOTNET list will be retired 7/1/02 ><[EMAI

[DOTNET] Html viewer code or class structure

2002-06-13 Thread Ajay Sharma
Hi, Has anybody made a html viewer in C#. It must read html files and display just like Internet Explorer/Dreamweawer. If not, can any one give me any hints, class structure etc Regards ajay sharma You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other Deve

Re: [DOTNET] SOAP Problems with ASP.NET

2002-06-13 Thread Tewari, Vijay
Did that too, still the same result. Regards Vijay -Original Message- From: Christian Weyer [mailto: Sent: Thursday, June 13, 2002 11:43 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] SOAP Problems with ASP.NET Try to avoid the "" when specifying the SAOPAction HTTP header. Cheers, C

Re: [DOTNET] SOAP Problems with ASP.NET

2002-06-13 Thread Christian Weyer
Try to avoid the "" when specifying the SAOPAction HTTP header. Cheers, Christian - .NET XML Web Services Repertory http://www.xmlwebservices.cc/ - Tewari, Vijay wrote: > I am sending the following explicitly using sockets to

[DOTNET] SOAP Problems with ASP.NET

2002-06-13 Thread Tewari, Vijay
I am sending the following explicitly using sockets to a ASP.NET service POST /HelloWorldService/Service1.asmx HTTP/1.1 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://tempuri.org/Add"; Content-Length: 544 Expect: 100-continue Connection: Keep-Alive Host: localhost http://schemas.xmlso

Re: [DOTNET] Microsoft/Terrarium auto-update code

2002-06-13 Thread Chris Sells
> Now - what I left out was the config files for the RealApp. For obvious > reasons, that config file is "specific" to each client, so it can't be > downloaded. Thus if I put one in the Version1 directory on install, and > that is correct, how does the exe in Version2 go about reading it? Short >

Re: [DOTNET] STOP REFORMATTING MY HTML!!!!

2002-06-13 Thread Shawn Wildermuth
It doesn't reformat my HTML because I use the NotePad IDE and HomeSite to edit my HTML... : ) Thanks, Shawn Wildermuth [EMAIL PROTECTED] > -Original Message- > From: The DOTNET list will be retired 7/1/02 > [mailto:[EMAIL PROTECTED]] On Behalf Of Philo > Sent: Thursday, June 13, 2002 7:

Re: [DOTNET] Visual Studio Installation error

2002-06-13 Thread BadreNarayanan V
HI, After formating my disk, reinstalled every thing, It's working. Actually, I was using both version in same m/c for long time. I am not using VSS with VS.NET. I am using VSS with VS-6.0.The problem occured when I installed the MSDN.NET from DVD. May be files not read properly from DVD. Might c

Re: [DOTNET] OT: spaces in subject line

2002-06-13 Thread Larry McCoy
Ian, Thanks for the explanation. It seems to me, after reading the various replies I've seen is that it is a combination of several things. I don't think it is just the email client. (I'm guess that's what you mean when you say "Mail user agents") I have been using Outlook (not Outlook Express

Re: [DOTNET] XmlTextWriter.WriteString and quoted chars

2002-06-13 Thread Sam Gentile
BTW, "Ok that's it" meant that was the answer. It now works. Thank you. >From: Sam Gentile <[EMAIL PROTECTED]> >Reply-To: The DOTNET list will be retired 7/1/02 ><[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [DOTNET] XmlTextWriter.WriteString and quoted chars >Date: Thu, 13 Jun 2002 1

Re: [DOTNET] Diff between Asynchronous calls and threading

2002-06-13 Thread Ian Griffiths
(Copied to DOTNET-CLR and DOTNET - please direct replies to DOTNET-CLR - the DOTNET list will be shut down soon. Please refrain from starting new threads on the DOTNET list.) If we're talking about using BeginInvoke on a delegate, then it's just one of the many ways of getting code to run on ano

Re: [DOTNET] Console window for Windows application

2002-06-13 Thread Rune Christensen 8397
Thanks for the reply. Guess I'm not very good at describing my problem... If I do not use /t:winexe, a console window is _always_ created (if not started from console). I don't want that. I can be a mit more concrete: I've written an application 'cm' that can have both a command line interface

Re: [DOTNET] XmlTextWriter.WriteString and quoted chars

2002-06-13 Thread Rune Christensen 8397
What about writing "&"? - will be replaced with "&" -Original Message- From: Sam Gentile [mailto:[EMAIL PROTECTED]] Sent: 13. juni 2002 17:06 To: [EMAIL PROTECTED] Subject: [DOTNET] XmlTextWriter.WriteString and quoted chars This is a pretty simple question but I want to be able to wri

Re: [DOTNET] XmlTextWriter.WriteString and quoted chars

2002-06-13 Thread Christoph
Sam, The WriteRaw method on the XmlTextWrite will write out the string as you are you are passing in, i.e. without making any conversions: StringWriter sw = new StringWriter( new StringBuilder() ); XmlTextWriter xw = new XmlTextWriter( sw ); xw.Formatting = Formatting.Indented; xw.WriteStartDocu

Re: [DOTNET] XmlTextWriter.WriteString and quoted chars

2002-06-13 Thread Marsh, Drew
Sam Gentile [mailto:[EMAIL PROTECTED]] wrote: > This is a pretty simple question but I want to be able to > write out "&" as part of an Xml string. The doc says: > WriteString does the following > > The characters &, <, and > are replaced with &, <, and > >, respectively. So I get &. > > How c

Re: [DOTNET] OT: spaces in subject line

2002-06-13 Thread Ian Griffiths
"Mike Woodring" <[EMAIL PROTECTED]> wrote: > > > I've noticed that all of the postings to this list (and the other > > DevelopMentor lists I am on) have a subject line with five (5) > > spaces in them. > > [mw] Doesn't happen to me or others I know of. Actually it happens to me, and several other

Re: [DOTNET] XmlTextWriter.WriteString and quoted chars

2002-06-13 Thread Sam Gentile
Ok that's it. I'm sorry for the stupid question. I don't know much about this area. >From: Chris Anderson <[EMAIL PROTECTED]> >Reply-To: The DOTNET list will be retired 7/1/02 ><[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [DOTNET] XmlTextWriter.WriteString and quoted chars >Date: Thu

[DOTNET] source code of cryptography base classes

2002-06-13 Thread Brooke Philpott
There is a link on www.gotdotnet.com http://www.gotdotnet.com/team/clr/samples/eula_clr_cryptosrc.aspx That is for the cryptography bases classes in .net but I can't open the zip file because it seems to be an invalid zip archive. Does anyone have this file? I would like to look at the code. Tha

Re: [DOTNET] XmlTextWriter.WriteString and quoted chars

2002-06-13 Thread Chris Anderson
Why not write "&", and let the parser do it's job and convert it to "&" ? :-) Merak > -Original Message- > From: Sam Gentile [mailto:[EMAIL PROTECTED]] > > This is a pretty simple question but I want to be able to > write out "&" as part of an Xml string. The doc says: > WriteString does

Re: [DOTNET] XmlTextWriter.WriteString and quoted chars

2002-06-13 Thread Shawn Wildermuth
What do you mean by escape them? Do you need them URLEncoded or HtmlEncoded? Thanks, Shawn Wildermuth [EMAIL PROTECTED] > -Original Message- > From: The DOTNET list will be retired 7/1/02 > [mailto:[EMAIL PROTECTED]] On Behalf Of Sam Gentile > Sent: Thursday, June 13, 2002 11:06 AM > T

Re: [DOTNET] Help Me out

2002-06-13 Thread franklin gray
To make sure I understand. You have created a Web Service that creates an object on the server, then you try to execute a method of that object and passing in a parm of a very large string, correct? Are you saying that this errors out when you call the web service? -Original Message-

[DOTNET] XmlTextWriter.WriteString and quoted chars

2002-06-13 Thread Sam Gentile
This is a pretty simple question but I want to be able to write out "&" as part of an Xml string. The doc says: WriteString does the following The characters &, <, and > are replaced with &, <, and >, respectively. So I get &. How can I escape the characters? - Sam Gent

Re: [DOTNET] Console window for Windows application

2002-06-13 Thread Ian Griffiths
Have I missed something? Isn't this what happens automatically when you build a console application? Or is there some nuance I've failed to spot? (I've only had 1 coffee today...) So if you want this behaviour for a Windows Forms application, just set the output type to Console Application. (T

Re: [DOTNET] Help with error The msiexec.exe is linked to missing export msi.dll-222

2002-06-13 Thread Miguel Ángel Chacón
I´m not sure, but I remember that Windows Installer is only available to Windows 2000, and , therefore, WinXP. Sorry if I´m wrong. -Mensaje original- De: The DOTNET list will be retired 7/1/02 [mailto:[EMAIL PROTECTED]] En nombre de Sam Gentile Enviado el: jueves, 13 de junio de 2002 16:0

Re: [DOTNET] Help with error The msiexec.exe is linked to missing export msi.dll-222

2002-06-13 Thread Sam Gentile
Thanks for the quick response. I'll pass it on right away. >From: Patrick Steele <[EMAIL PROTECTED]> >Reply-To: The DOTNET list will be retired 7/1/02 ><[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [DOTNET] Help with error The msiexec.exe is linked to missing > export

Re: [DOTNET] WAY OT: Humorous Don Box story...

2002-06-13 Thread Sam Gentile
True. >From: Steve Holak <[EMAIL PROTECTED]> >Reply-To: The DOTNET list will be retired 7/1/02 ><[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [DOTNET] WAY OT: Humorous Don Box story... >Date: Wed, 12 Jun 2002 17:32:15 -0400 > >Yeah, but Don usually initiates the stuff. Do you think t

Re: [DOTNET] Help with error The msiexec.exe is linked to missing export msi.dll-222

2002-06-13 Thread Patrick Steele
Do they have the latest Windows Installer installed? Even if they do, try re-installing it: http://download.microsoft.com/download/WindowsInstaller/Install/2.0/W9XM e/EN-US/InstMsiA.exe --- Patrick Steele ([EMAIL PROTECTED]) Lead Software Architect Image Process Design -Original Message-

Re: [DOTNET] sms application

2002-06-13 Thread MikeDotNet
Try http://www.2sms.com There are HTTP, COM, SOAP and XML interfaces (as well as Java) for sending text messages. If you have any problems, please do let me know, regards, Mike - Original Message - From: "dotNetMailinglist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, J

[DOTNET] Help with error The msiexec.exe is linked to missing export msi.dll-222

2002-06-13 Thread Sam Gentile
I have a beginner friend who is getting a strange error and was wondering if anyone knew anything about this: I've developed an app using VB.net and created an installation file that includes the .net framework. It works wonderfull on Windows 2000 and XP but I get an error on Windows 98, NT and ME

Re: [ADVANCED-DOTNET] Threading is blocking itself or ?

2002-06-13 Thread Craig Andera
> I ran it a few times to handle the JIT but the Thread behaviour occurs in > a > loop. I suspect that the Framework is doing something funnyy eg not > mapping > 1 Thread to 1 OS thread , using lightweight objects or intializing the OS > thread by copying an existing Thread. < 5ms for a new Threa

[DOTNET] Help Me out

2002-06-13 Thread Dinesh Upare
Hi, I encountered some strange problem. I have a component at server which is vb dll.It takes a parameter string. I have created a wsdl file of the component and exposed it as a webservice. But when the length of the string parameter exceeds certain limit( in my case more than 90 kb); The .NET

[DOTNET] NT/2k permissions for process operations in .Net

2002-06-13 Thread Blain Timberlake
In some code I have running as a service I do some process monitoring. I first enumerate using all the processes using the Systems.Diagnostics.Process.GetProcesses method. >From there I step through each process (after putting it into an array of Process) I go through some stuff, and at some poi

Re: [DOTNET] OT: spaces in subject line

2002-06-13 Thread Blain Timberlake
Ditto on the exchange server as well. My mail is actually routed through some VAX systems before it gets to Outlook/Exchange and the subject spaces exist there as well. =Blain -Original Message- From: The DOTNET list will be retired 7/1/02 [mailto:[EMAIL PROTECTED]] On Behalf Of Bryan B

[DOTNET] STOP REFORMATTING MY HTML!!!!

2002-06-13 Thread Philo
I've unchecked every "auto format" box I can find with respect to formatting HTML/XML in the VS.NET IDE, yet when I switch from HTML to the designer it's still reformatting the HTML (and very badly, I might add). How can I stop it from playing with my code? Philo You can read messages from the

Re: [DOTNET] Custom Hosts, AppDomains and Domain-Neutral Assemblies

2002-06-13 Thread Nick Wienholt
If your product will break if this functionality is removed, you'd be crazy to rely on it, but as this is simply an optimization, using the registry key does no harm - if the functionality is removed, the app keeps on working, just a bit slower. As an added safety net, the key is actually read in

[DOTNET] Re: [DOTNET] urlencoding problem with åäö

2002-06-13 Thread Mattias Konradsson
>The %C3%B6 is the UTF-8 encoding of the ö character, while the %F6 is the >ISO-8859-1 (ISO-Latin-1) encoding of the same character. Your problem is >probably caused by not setting what kind of encoding you want to use, and >then it defaults to UTF-8. Woop, thanks HttpUtility.UrlEncode("lkö",Enc

Re: [DOTNET] Finding selected row in a bound control's DataTable

2002-06-13 Thread Jay Ayliff
Hi Ian, Thanks for the answer to that one. For the archives, the VB.Net code I am using is this: Dim DRV As DataRowView = Me.BindingContext(dgrdMain.DataSource).Current Debug.WriteLine("SN = " & DRV("System Number").ToString & " VNUM = " & DRV("Visit Number").ToString) One wonde

Re: [DOTNET] Custom Hosts, AppDomains and Domain-Neutral Assemblies

2002-06-13 Thread Nick Wienholt
If your product will break if this functionality is removed, you'd be crazy to rely on it, but as this is simply an optimization, using the registry key does no harm - if the functionality is removed, the app keeps on working, just a bit slower. As an added safety net, the key is actually read in

Re: [DOTNET] ANN: Free Improved Typed DataSet Generator

2002-06-13 Thread Avi Nahir
Hi Shawn, A nice idea and a nicely written chapter. The "I asked you to write a lot of code but now I can tell I was only teasing you." line is surely starting the chapter with a bang :-) Comments: 1. I personally prefer to print material I read, so I love "printer friendly" PDF/Word versions.

Re: [DOTNET] urlencoding problem with åäö

2002-06-13 Thread Mathias Axelsson
On Thu, 13 Jun 2002, Mattias Konradsson wrote: > form it gets encoded as "lk%F6" but if I do HttpUtility.UrlEncode("lkö") i > get "lk%c3%b6" what am I missing here? The %C3%B6 is the UTF-8 encoding of the ö character, while the %F6 is the ISO-8859-1 (ISO-Latin-1) encoding of the same character.