Re: [DOTNET] Datagrid problem

2002-05-01 Thread Fernando, Chaminda non Unisys
I want to do this not in asp.net application but in windows application(vb.net) Chaminda -Original Message- From: Richard Spence [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 01. Mai 2002 21:12 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Datagrid problem Yes there is a OnSortCommand event:

[DOTNET] Rãspuns: [DOTNET] From C# to VB.NET

2002-05-01 Thread Ovidiu Platon
Isn't there an import directive (import is the keyword). Ovidiu. -Mesaj original- De la: dotnet discussion [mailto:[EMAIL PROTECTED]] În numele Joel Mueller Trimis: Wednesday, May 01, 2002 11:52 PM Către: [EMAIL PROTECTED] Subiect: Re: [DOTNET] From C# to VB.NET There isn't one, as fa

[DOTNET] Dynamic Form Creation/Population at Run Time

2002-05-01 Thread Tim Sargent
Greetings - I'm trying to set up a program (Windows Application) that will allow a user to read/edit/create/etc messages that will be sent and received in XML. The basic idea is to allow the user to manipulate the data without having to deal with the actual XML itself. What I'd like to do

Re: [DOTNET] More XMLSerialisation options...

2002-05-01 Thread Dean Cleaver
Grrr... No sooner do I send than have a thought... XmlTextWriter myXmlTextWriter = new XmlTextWriter("b2b_request_status.xml", System.Text.Encoding.UTF8); Works a treat... Cheers, Dino -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Dean Cleaver Sent:

Re: [DOTNET] More XMLSerialisation options...

2002-05-01 Thread Sills, Adam
I don't know if there's a better way to do it, but you can do this: XmlTextWriter writer = new XmlTextWriter("C:\\test.xml", Encoding.UTF8); writer.WriteProcessingInstruction("xml", "version='1.0' encoding='UTF-8'"); //write some elements Writer.Close(); Adam.. -Original Message- From:

Re: [DOTNET] How to determine delegate type in C#

2002-05-01 Thread Rolls, Robert
I forgot to add when within the Browser - selected components If you actually selected the variable of the object that fires events iyou've declared in your app i.e. WindowsApplication1->WindowsApplication1->Form1 then select the member var within the Members pane. The hot link within the info

[DOTNET] More XMLSerialisation options...

2002-05-01 Thread Dean Cleaver
Ok, I gave up on the serialisation of classes, and went for the XmlTextWriter approach - gave me a bit more control. But there's one thing I can't seem to do - and that's set the first line to be: I can only get the "" portion to come out, or with the Standalone property as well. Any suggesti

Re: [DOTNET] How to determine delegate type in C#

2002-05-01 Thread Rolls, Robert
Bill I think what your asking is how do you know what function within your class matches the signature of the delegate that is the actual event. I too must be missing something obvious as it doesn't seem too intuitive to me. (I think it's something to do with case sensitivity!) but here's what I

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread Mattias Sjögren
Peter, >I will often use the try ... finally pattern in C# if there is more than one >type of resource to clean up. The using statement only supports one type at >a time. Yes, but you can easily nest them using ( DisposableType1 d1 = new DisposableType1() ) using ( DisposableType2 d2 = new Disp

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread Peter Stephens
I will often use the try ... finally pattern in C# if there is more than one type of resource to clean up. The using statement only supports one type at a time. -- Peter You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://di

Re: [DOTNET] dataset.GetChanges on deleted rows

2002-05-01 Thread Peter Stephens
> franklin gray spake: > > Has anybody gotten this to work right? I get an empty dataset. > The rows have been deleted, not removed. > > TempDS = Me.DS.GetChanges(DataRowState.Deleted) Are you serializing your DataSet (ie Remoting) before calling GetChanges()? There seemed to be a serialization

Re: [DOTNET] VS.NET: Would like a pointer to an article, book, whatever, which describes why it is best to leave controls Protected

2002-05-01 Thread Dan Souk
There's no better authority than one's boss, except perhaps one's experience. Convince the boss that this sloppy habit will cost valuable maintenance time down the road and let the boss create a coding standards policy that addresses this. Although they may kick and scream at the thought of such a

Re: [DOTNET] dataset.GetChanges on deleted rows

2002-05-01 Thread Shawn Wildermuth
This works fine for me. If I have the following code: // Connect to the database SqlConnection conn = new SqlConnection("Server=localhost;" + "Database=ADONET;" + "Integrated Security=true;"); SqlDataAdapter da = new

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread Ron Jacobs
The VB equivalent is a try/finally block using(Foo f = new Foo()) { // ... } // Dispose is called here VB Equivalent Dim f as Foo 'Foo must support IDisposable Try ' ... Finally f.Dispose End Finally Ron Jacobs Program Manager XML Enterprise Services -Origi

Re: [DOTNET] Encoding Namespace Question.

2002-05-01 Thread Rolls, Robert
Thanks drew. ASCIIEncoding.ASCII.X() is a little bit like re-stating the obvious. Encoding.ASCII looks a whole lot smooother. R. -Original Message- From: Marsh, Drew [mailto:[EMAIL PROTECTED]] Sent: Thursday, 2 May 2002 12:34 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Encoding Namespac

Re: [DOTNET] Encoding Namespace Question.

2002-05-01 Thread Rolls, Robert
looks as though I confused myself with static members and instance members! for the documentation, make a lot more sense now! -Original Message- From: Rolls, Robert [mailto:[EMAIL PROTECTED]] Sent: Thursday, 2 May 2002 10:23 To: [EMAIL PROTECTED] Subject: [DOTNET] Encoding Namespace Ques

Re: [DOTNET] Encoding Namespace Question.

2002-05-01 Thread Marsh, Drew
Rolls, Robert [mailto:[EMAIL PROTECTED]] wrote: > I'm a little bit confused over all the encoding types and the > documentation and I have a query with the following - > > is this equivalent - > > Byte[] a = Encoding.ASCII.GetBytes("Fred"); > Byte[] b = ASCIIEncoding.ASCII.GetBytes("Fred"); > > a

[DOTNET] Encoding Namespace Question.

2002-05-01 Thread Rolls, Robert
I'm a little bit confused over all the encoding types and the documentation and I have a query with the following - is this equivalent - Byte[] a = Encoding.ASCII.GetBytes("Fred"); Byte[] b = ASCIIEncoding.ASCII.GetBytes("Fred"); and the same for UnicodeEncoding, UTF7Encoding, UTF8Encoding? Th

Re: [DOTNET] How often does Garbage Collection run?

2002-05-01 Thread Pradeep Tapadiya
Jim, Good summary! Where did you get the size limits for each generation? I had asked for this information to Microsoft folks via .NET authors connection some time ago but could not get an answer :-(. Pradeep http://www.tapadiya.net/pradeep - Original Message - From: "Murphy, James" <[

Re: [DOTNET] XMLSerialisation options...

2002-05-01 Thread Marsh, Drew
Dean Cleaver [mailto:[EMAIL PROTECTED]] wrote: > 1. The classes you want serialised have to be public - but > this isn't really what I wanted for this project - I wanted > to hide the implementation from the "end user" of this > component - is there any way to avoid this? Sorry... that's just th

Re: [DOTNET] XMLSerialisation options...

2002-05-01 Thread Dean Cleaver
Thanx Alex - confirmed my suspicions re the public, and thanx for the info on the XmlSerializerNamespaces. Cheers, Dino -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Alex DeJarnatt Sent: Thursday, 2 May 2002 10:15 To: [EMAIL PROTECTED] Subject: Re: [D

Re: [DOTNET] XMLSerialisation options...

2002-05-01 Thread Alex DeJarnatt
1. your classes have to be public. There's no way around this. We've received a lot of feedback about this requirement, though, and are considering our options for future versions. 2. you can suppress these prefix definitions by passing an empty XmlSerializerNamespaces class to the Serialize metho

Re: [DOTNET] UI of Component services

2002-05-01 Thread Marsh, Drew
Syed.Alam [mailto:[EMAIL PROTECTED]] wrote: > No, I have not :) > > So would this do the magic? Yes, that's the trick. ;) Later, Drew You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] XMLSerialisation options...

2002-05-01 Thread Dean Cleaver
I was trying out the XML serialisation, and struck a few snags... 1. The classes you want serialised have to be public - but this isn't really what I wanted for this project - I wanted to hide the implementation from the "end user" of this component - is there any way to avoid this? 2. The seria

Re: [DOTNET] Pls post in plain text, was Re: COM + Deployment

2002-05-01 Thread Brian G. Vallelunga
Please, post to this forum in plain text format. I follow the discussion via the webb interface and there are quite a few postings that aren't readable due to utf-8 encoding or other encodings. Isn't UTF-8 plain-text? Correct me if I'm wrong, it is Unicode, yes, but it is also plain text. If s

Re: [DOTNET] OT: Multiple instances of a Win32 Service.

2002-05-01 Thread Mike Woodring
It's pretty easy to get the same exe/service to be registry multiple times in the registry under different service entries. This would allow you to run the same code under different account credentials or with different startup parameters. Here's an example of how you'd accomplish this the insta

Re: [DOTNET] UI of Component services

2002-05-01 Thread Syed.Alam
No, I have not :) So would this do the magic? -Original Message- From: Marsh, Drew [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:39 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] UI of Component services Syed.Alam [mailto:[EMAIL PROTECTED]] wrote: > When I run my client

Re: [DOTNET] question about sql to c# datatypes

2002-05-01 Thread Scott Densmore
Sorry... Didn't read the guid part I think there is a GetGUID value and then you should check DataReader.IsDBNull for the field that can be null... scott -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Scott Densmore Sent: Wednesday, May 01, 2002 4:41 P

Re: [DOTNET] question about sql to c# datatypes

2002-05-01 Thread Marina Zlatkina
The datareader has many many functions for retrieving field values, such as GetInt32, GetGuid, etc.. You should look at all of those, to see which ones are more appropriate for the data types you have, and define MyFunc appropriately. On Wed, 1 May 2002 14:36:42 -0700, Jeff Mangan <[EMAIL PROTEC

Re: [DOTNET] question about sql to c# datatypes

2002-05-01 Thread Marsh, Drew
Jeff Mangan [mailto:[EMAIL PROTECTED]] wrote: > I have a datareader and for each row, I am passing two of the > column values to a c# function in my code behind. They are a > bit and varchar(50). My c# function will only work if I make > the parameters as objects ie. MyFunc (object value1, objec

Re: [DOTNET] question about sql to c# datatypes

2002-05-01 Thread Scott Densmore
Boolean and String respectively. DataReader.GetBoolean([column_name_bit]), DataReader.GetString([column_name_var_char]); -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Jeff Mangan Sent: Wednesday, May 01, 2002 4:37 PM To: [EMAIL PROTECTED] Subject: [DOT

Re: [DOTNET] UI of Component services

2002-05-01 Thread Marsh, Drew
Syed.Alam [mailto:[EMAIL PROTECTED]] wrote: > When I run my client and use the COM compoent, I can not see > the UI of the component in COM+ coponent services change. No > indication of the fact that the COM object was used. I am > sleeping for ten seconds within the called method of the COM > co

[DOTNET] question about sql to c# datatypes

2002-05-01 Thread Jeff Mangan
I have a datareader and for each row, I am passing two of the column values to a c# function in my code behind. They are a bit and varchar(50). My c# function will only work if I make the parameters as objects ie. MyFunc (object value1, object value2). I don't want to do it this way due to many

[DOTNET] UI of Component services

2002-05-01 Thread Syed.Alam
Hi I compiled a poolable COM+ component in C#, registered (regsvcs) and installed (gacutil) it, and I can see it configured in COM component services. When I run my client and use the COM compoent, I can not see the UI of the component in COM+ coponent services change. No indication of the fact

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread Dunne, Joe
Jim, it's A reason, but hardly killer app. IMHO joe >> (BTW, this is a great reason to use C#!) >>Jim > -Original Message- > From: Henrik Enemark Rasmussen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 4:54 PM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] From C# to V

[DOTNET] dataset.GetChanges on deleted rows

2002-05-01 Thread franklin gray
Has anybody gotten this to work right? I get an empty dataset. The rows have been deleted, not removed. TempDS = Me.DS.GetChanges(DataRowState.Deleted) You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.c

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread Joel Mueller
Right, but the VB.NET eqivalent of this: using (Bitmap foo = new Bitmap()) { ... } Would be all of this: Dim foo As Bitmap = New Bitmap() Try ... End Try Finally If foo <> Nothing Then CType(foo, Idisposable).Dispose() End Finally There isn't any direct eqivalent. > -

[DOTNET] Please help : C# app with Atl ActiveX problem

2002-05-01 Thread Eric Hebert
I have a C# application that encapsulate html files via the webbrowser control. For that application to talk to it's html files it quite easy, but to html to talk to the application it's not the same. In that way i've create an Atl Project and add a Atl Control in it(i've choose that solution, to

[DOTNET] Are there any .NET wrappers for WNet...

2002-05-01 Thread David Ferguson
Are there any .NET wrappers for WNet... Thanks...David You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread Murphy, James
There is no such thing. The C# compiler folks added that support at the C# language level. There is nothing about it in the CLI to support this. you have to write nested try/finally blocks instead. (BTW, this is a great reason to use C#!) Jim > -Original Message- > From: Henrik Enem

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread Mathieu Rachlin
Hi there, Oh wow, I had never come across the "using statement" versus the "using directive". I did a quick search and came across this... Perhaps this will assist you:[1] I think that is a C#-only feature. - Mat [1] http://www.gotdotnet.com/team/libraries/whitepapers%5Cresourcemanagement%5C

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread Henrik Enemark Rasmussen
No, I don't think it's "with". >From MSDN: "You create an instance in a using statement to ensure that Dispose is called on the object when the using statement is exited. A using statement can be exited either when the end of the using statement is reached or if, for example, an exception is thro

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread franklin gray
In the archives (within the last two weeks) there is a link to a web page that can translate C# to VB.net. -Original Message- From: Joel Mueller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 3:52 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] From C# to VB.NET There isn't on

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread Joel Mueller
There isn't one, as far as I know. > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] > On Behalf Of Henrik Enemark Rasmussen > Sent: Wednesday, May 01, 2002 3:40 PM > To: [EMAIL PROTECTED] > Subject: [DOTNET] From C# to VB.NET > > > Hello All > > What is the VB.NET

Re: [DOTNET] From C# to VB.NET

2002-05-01 Thread Mathieu Rachlin
Perhaps you mean "with" ? Like: With oSomething .Property = "abc" .Method("def") End With ??? - Mat -Original Message- From: Henrik Enemark Rasmussen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:40 PM To: [EMAIL PROTECTED] Subject: [DOTNET] From C# to V

[DOTNET] From C# to VB.NET

2002-05-01 Thread Henrik Enemark Rasmussen
Hello All What is the VB.NET equivalent to the C# 'using' statement (not the 'using' directive) ? Regards Henrik You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] ProgressBar Question

2002-05-01 Thread Ian Griffiths
But if you wanted to do that 'Progress bar with XOR' look it's not exactly difficult to achieve in GDI+ despite the lack of XOR drawing: Rectangle r = ClientRectangle; r.Width = (r.Width * (percent)) / 100; using (GraphicsPath gp = new GraphicsPath()) using (StringFormat sf = new

[DOTNET] Printing source code

2002-05-01 Thread Greg Gates
Hello everyone: Is it possible to print out all of the source code for a given project at once. I am currently using the rather tedious practice of opening and printing each class one at a time. thanks, Greg You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe t

Re: [DOTNET] How often does Garbage Collection run?

2002-05-01 Thread Murphy, James
I suspect you knew it wasn't that simple a question... the GC collects parts of the managed heap at different frequencies. The heap is partitioned into 3 sections called generations. The idea is that collecting a generation is a lot cheaper than collecting the entire heap. An object lives in o

Re: [DOTNET] Possible VS.Net bug ... in templatecolumn --- NOT AN SWERED

2002-05-01 Thread Brijesh Chawla
>language ="javascript" onclick = "SelectIt('<%# >DataBinder.Eval(Container.DataItem, "Login")%>','<%# >DataBinder.Eval(Container.DataItem, "FirstName")%> <%# >DataBinder.Eval(Container.DataItem, "LastName")%>' )"/> Rahul, Are those line breaks for real? I don't think you can hav

[DOTNET] How often does Garbage Collection run?

2002-05-01 Thread Farhan
How often does garbage collection run? what condition needs to be true in order for it to run? is there any way to tell when the Garbage collection will run? Thanks, Farhan You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http:/

Re: [DOTNET] Confirm string GetHashCode reflects string, not object

2002-05-01 Thread Ian Griffiths
*goes back and actually reads the documentation for HashAlgorithm.HashSize* "Gets the size of the computer hash code in *bits*." (my emphasis) D'Oh! -- Ian Griffiths DevelopMentor - Original Message - From: "Joel Mueller" <[EMAIL PROTECTED]> > An MD5 hash is actually only 16 bytes,

Re: [DOTNET] How to determine delegate type in C#

2002-05-01 Thread Bill Schmidt
Thanks, Drew and Mattias. Both of you said the same thing, but neither of you said it in a way I could immediately understand. For the archives, the key thing (and apparently the only way to do this) is to type a "." before the "+=". In other words, if I type this.cboName. Intellisense show

Re: [DOTNET] Hosting the browser in a WinForms application

2002-05-01 Thread Marsh, Drew
Peter Stephens [mailto:[EMAIL PROTECTED]] wrote: > 3. Are there any good/comprehensive tutorials on the Net that > describe the necessary steps to do all this. Peter, You can find answers to all your questions by starting here[1]. HTH, Drew [1] http://msdn.microsoft.com/workshop/browser/hosti

[DOTNET] Hosting the browser in a WinForms application

2002-05-01 Thread Peter Stephens
Hi Netters, I am interested in using the IE browser control in my WinForms application. I have never hosted the browser (even in other languages) and am not sure what the capabilities and caveats are. So far I have determined that I need to use the COM interop tools like so: aximp c:\windows\sy

Re: [DOTNET] How to determine delegate type in C#

2002-05-01 Thread Mattias Sjögren
Bill, >But how can I figure out what goes after the "new" keyword? It shows in the tooltip for the event in the IntelliSense list. After you have typed in SelectedIndexChanged, you can also right-click and select Go To Definition (or press F12), which will bring you to the Object Browser, whe

Re: [DOTNET] Submit by pressing Return - event?

2002-05-01 Thread Richard Spence
I'm not using Netscape, but works find using IE 6.0. As for bad, usability-wise, the only caveat is when using multiline controls, and this is handled. I'm not aware of server-side events for mouse or keyboard keys. If you find out differently, I'm interested. Richard Spence -Original Messag

Re: [DOTNET] Pls post in plain text, was Re: COM + Deployment

2002-05-01 Thread Mathieu Rachlin
It begs the question "why"? Do you write e-mail to people on green screens? =P I'm only kidding... I agree about the comment about LISTSERV resolving the issue. In reality, I think that's the only viable solution... - Mat -Original Message- From: Daniel Morgan [mailto:[EMAIL PROTECTED

Re: [DOTNET] Adding a button to Windows Form Datagrid Component

2002-05-01 Thread Marsh, Drew
Peterson, Tim [mailto:[EMAIL PROTECTED]] wrote: > Has anyone been able to add a button control or even a link > label control as a column into the windows form datagrid? > > Its quite easy in the web form datagrid control, but I am at > a loss as to how to do it with the windows form datagrid. I

Re: [DOTNET] How to determine delegate type in C#

2002-05-01 Thread Marsh, Drew
Bill Schmidt [mailto:[EMAIL PROTECTED]] wrote: > How are more experienced C# programmers hooking up events in > a RAD fashion? I'm looking for a shortcut similar to (but > hopefully easier/quicker than) the one for getting the event > signature. Intellisense shows the type of the event. So if i

Re: [DOTNET] Pls post in plain text, was Re: COM + Deployment

2002-05-01 Thread Daniel Morgan
I prefer plain text myself. The problem is that Outlook and Outlook Express by default use html. -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Ingo Lundberg Sent: Monday, April 29, 2002 7:07 AM To: [EMAIL PROTECTED] Subject: [DOTNET] Pls post in plain

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread SUBSCRIBE DOTNET Anonymous
You are correct on what a well formatted element looks like. However, the other 'element' you are referring to is known as the declaration. W3C spec says it is required but you can get away using the DOM without it. Keep in mind encoding and other possible attribute values not set may produce u

Re: [ADVANCED-DOTNET] remoting from browser, security bug (?)

2002-05-01 Thread Albert István
Thank you for all the answers. It helped a lot. Steve > -Original Message- > From: Moderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED]] On Behalf Of > John Cavnar-Johnson > Sent: Tuesday, April 30, 2002 3:47 AM > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET]

[DOTNET] How to determine delegate type in C#

2002-05-01 Thread Bill Schmidt
I'm a VB programmer trying to learn C#, and I'm having trouble doing the setup for writing event procedures for built-in WinForms controls. Here's an example: I have a ComboBox control, and I want to write code for the SelectedIndexChanged event. With help from the list archives, I found that I

Re: [DOTNET] Submit by pressing Return - event?

2002-05-01 Thread João Pedro Martins
At 11:54 01-05-2002 -0700, you wrote: >The nature of ASP.Net controls is to generate a postback when the return key >is pressed. You might want to >simply suppress this action using client-side JavaScript to check for the >return key. The following code will >accomplish this for you: Does this wo

[DOTNET] Adding a button to Windows Form Datagrid Component

2002-05-01 Thread Peterson, Tim
Has anyone been able to add a button control or even a link label control as a column into the windows form datagrid? Its quite easy in the web form datagrid control, but I am at a loss as to how to do it with the windows form datagrid. Thanks for any help Tim Peterson You can read message

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread Wedinger, Keith
In XML, everything is a node. You have element nodes, attributes nodes, text nodes, processing instruction nodes, comment nodes...you get the picture. An element node has the serialization format you describe below. J. Keith Wedinger Senior Software Developer Sterling Commerce [EMAIL PROTECTED]

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread Tomas Restrepo
Hi Franklin, << I thought a well formatted node has a /> such as or a bunch of stuff here this doesn't have that. >> Well, yes, it doesn't have it, because it's not an element. What you described above is an Element Node, not just a node. For example, in XML, an element's attribute is itse

Re: [DOTNET] Sockets on one machine?

2002-05-01 Thread Ted Faison
To answer your question: only one NIC needed when the sender and receiver are on the same computer. The sender uses one socket, the receiver another. --Ted You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.

Re: [DOTNET] Sockets on one machine?

2002-05-01 Thread Ted Faison
Yes. Each connection used its own tcp socket. When you open a tcp connection for a given IP address and port, a "socket" is created. Any traffic on this socket is private to the socket (other sockets opened on the same address and port will not see it). --Ted You can read messages from the DOTNE

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread franklin gray
I thought a well formatted node has a /> such as or a bunch of stuff here this doesn't have that. -Original Message- From: Tomas Restrepo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:30 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Schema from Dataset Franklin, >

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread Rama Mahesh
Hi Not an expert in XML but I have had this issue when the encoding did not support some characters in the loaded XML doc...from where do you get this XML fragment ? Thx Mahesh -Original Message- From: Prabhu, Neelesh (CAP, CARD, KPMG Consulting) [mailto:[EMAIL PROTECTED]] Sent: 01 May 2

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread Tomas Restrepo
Franklin, > BTW, I knew that the first line was correct as in it is part of a document, but it isn't a > node ... It _is_ a node, just not an element node (it's actually a processing instruction node, but that's another matter ;)) -- Tomas Restrepo [EMAIL PROTECTED] You can read messages from t

[DOTNET] VS.NET: Would like a pointer to an article, book, whatever, which describes why it is best to leave controls Protected

2002-05-01 Thread Rod Falanga
We've been working with VS.NET since beta 1, although it hasn't been easy going for us. I have been quite excited by the product since Beta 2. And having some C++ background, I am thrilled to be once again doing some "real" OOP again. To date, our work has been primarily on writing ASP.NET pag

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread franklin gray
That worked wonderfully. You the man Shawn. BTW, I knew that the first line was correct as in it is part of a document, but it isn't a node and that is why it wasn't working the way I was trying. For some unknown reason, I was looking at it as a seperate document, but didn't think to create a

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread franklin gray
ahdidn't think about that. Good idea. Thanks. -Original Message- From: Shawn Wildermuth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 10:40 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Schema from Dataset The XSD that are are getting back is an XML document, not a fra

Re: [DOTNET] Datagrid problem

2002-05-01 Thread Richard Spence
Yes there is a OnSortCommand event: private void SortRows(object source, DataGridSortCommandEventArgs e) { // fired when the column headings in the DataGrid are clicked //get the sort expression (name of the column heading that was clicked) string strSO = e.SortExpressio

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread Shawn Wildermuth
The XSD that are are getting back is an XML document, not a fragment. You need to load the XML into a DOM and get the first node from the XSD document and set it to the node of your other document. The first line is correct. Thanks, Shawn Wildermuth [EMAIL PROTECTED] > -Original Message---

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread franklin gray
I create a new document, create a document element, then I create a child element. I assign the child's innerxml = to the schema. So far, so good. I then create an XML string by getting the document's outerxml and pass that along to a new document. I do a LoadXML on the new document and that

Re: [DOTNET] JIT optimization and inlining (again)

2002-05-01 Thread Marsh, Drew
Simon Robinson [mailto:[EMAIL PROTECTED]] wrote: > Phew! (and thanks to Neil Kidd at MS who finally figured > out what was going on, as well as several people on this list > who made various suggestions) Thanx for the follow up Simon! In "normal" development this scenario would probably never co

Re: [DOTNET] Submit by pressing Return - event?

2002-05-01 Thread Richard Spence
The nature of ASP.Net controls is to generate a postback when the return key is pressed. You might want to simply suppress this action using client-side JavaScript to check for the return key. The following code will accomplish this for you: Richard Spence mailto:[EMAIL PROTECTED] -Origin

Re: [DOTNET] JIT optimization and inlining (again)

2002-05-01 Thread Simon Robinson
In case anyone is interested - this issue, which I raised on this list back in March, has finally been resolved, thanks to the efforts of an MS engineer after I raised a tech support incident. To recap, I'd written a little test program that timed itself accessing a field, both directly and throu

Re: [DOTNET] Schema from Dataset

2002-05-01 Thread Prabhu, Neelesh (CAP, CARD, KPMG Consulting)
The first line is perfectly legal and called a processing instruction in XML. Please provide details on how you are trying to load this document in the node of the xmldocument Thanks -Original Message- From: franklin gray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:3

[DOTNET] Schema from Dataset

2002-05-01 Thread franklin gray
I am trying to load a schema from a dataset into a node of an xmldocument. If I remove the first line of the text below, it will load. I am not an XML expert but from what I know, the first line doesn't seem to be a well formated xml node and that is why loading it into an XMLElement fails.

Re: [DOTNET] Service Packs and .NET

2002-05-01 Thread dotNetMailinglist
The runtime is now pushed down as an "optional" update via WU. If you do this, the next time you run WU, SP1 for the FX is listed, and you can install it. I think it has also been publicically stated that with SP1 for XP, the runtime will be included. This (iirc) will not happen on SP3. Check the

Re: [DOTNET] Service Packs and .NET

2002-05-01 Thread Graeme Foster
Yes it does. There's been a fair bit of discussion on this topic already. I don't know if anyone has anything new to add..? G. -- Graeme Foster ([EMAIL PROTECTED]) Principal Software Engineer Aston Broadcast Systems Ltd. (http://www.aston.tv) Disclaimer: I really don't have a clue what I'm on abo

Re: [DOTNET] Response header

2002-05-01 Thread Stefan Finch
You should still be able to use a Soap Extension in an .NET Web Service Client. I guess you'd be interested in SoapMessageStage.AfterDeserialize. -Original Message- From: Dzuy Nguyen [mailto:[EMAIL PROTECTED]] Sent: 01 May 2002 15:16 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Response h

Re: [DOTNET] Response header

2002-05-01 Thread Dzuy Nguyen
Actually, I'm connecting to an Apache server running EasySoap++. I know what the server has sent back. What I'm interested in capturing is what .Net client sees because the results from the Invoke() method shows null. -Original Message- From: Stefan Finch [mailto:[EMAIL PROTECTED]] Sen

Re: [DOTNET] Control SOAP Envelope

2002-05-01 Thread David B. Bitton
Thanks for the security info. To answer your question, yes, I am running as Admin. After reading an article in MSDN, i tried running as a regular user, but as doing development work was way to frustrating. Yes, in a Unix/Linux enviro, it works well, because it is suited as such. Windows just d

Re: [DOTNET] Response header

2002-05-01 Thread Stefan Finch
If you are connecting to a ASP.NET Web Service you could use a Soap Extension [1] to trace the raw request/response on the server side. HTH S [1] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide /html/cpconalteringsoapmessageusingsoapextensions.asp -Original Messa

[DOTNET] Response header

2002-05-01 Thread Dzuy Nguyen
Is there a way to capture the response header from my C# prog when I use SoapHttpClientProtocol? You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] Service Packs and .NET

2002-05-01 Thread Prabhu, Neelesh (CAP, CARD, KPMG Consulting)
Hi, Does MS propose to install the .NET Redist or the .NET Service Packs as a part of their future Service packs? On XP Windows Update installs the .NET SP1 if .NET runtime is present but does not install the runtime itself if it is not installed. Is this how the MS service packs will behave as we

Re: [DOTNET] .NET in Blues

2002-05-01 Thread Marina Zlatkina
That's awesome... You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Debugging asp applications with static ip

2002-05-01 Thread Pierre Greborio
I changed the sln file setting the ip address Http://192.168.0.1/xxx but the debuggr doesn't work. I'll try with remote debugging configuration eithier if I'm local. Thx Pierre --- Pierre Greborio [EMAIL PROTECTED] http://www.pierregreborio.it

Re: [DOTNET] DreamWeaver MX - VS Replacement or a Complimentary Product...your thoughts.

2002-05-01 Thread Stefan Finch
We're going with complimentary product... Our design team are creating the .aspx/.ascx files with little or no C# implementation. These files are then integrated into the project build (VS.NET) and developers then hook everything up. Changes can still be made to the HTML in the .aspx files in D

Re: [DOTNET] Debugging asp applications with static ip

2002-05-01 Thread Stefan Finch
I guess your solution file (.sln) is pointing to http://localhost/ ? If you change this you will have to enable remote debugging? (simply a guess!!!) HTH -Original Message- From: Pierre Greborio [mailto:[EMAIL PROTECTED]] Sent: 01 May 2002 10:11 To: [EMAIL PROTECTED] Subject: [DOTN

Re: [DOTNET] DreamWeaver MX - VS Replacement or a Complimentary Product...your thoughts.

2002-05-01 Thread Saurabh Nandu
This might be a little off-topic but since you are looking for other combinations you can have a look at Code Charge Studio, this is a fresh product in beta stages, although it's not a full-fledged editor like Dreamweaver, its more of a code generator combined with an editor. It also plug's into M

[DOTNET] DreamWeaver MX - VS Replacement or a Complimentary Product...your thoughts.

2002-05-01 Thread John
Hi all, For asp development I always used a combination of VI6 and Ultradev 4. Now VS.Net is out I love it, but the design view has a few snags (Not really errors just not the best design environment). This is where I think dreamweaver is really useful. Just been looking at Dreamweaver MX and i

Re: [DOTNET] Handling multiple web references

2002-05-01 Thread John Burkhardt
That kind of helps, but the thing that is annoying is more like this: namespace MyApp.WebReference1 { class MySoapHeader { }; }; namespace MyApp.WebReference2 { class MySoapHeader { }; }; This is sort of what gets generated, but in fact 'MySoapHeader' is really the same class, same data for

[DOTNET] Debugging asp applications with static ip

2002-05-01 Thread Pierre Greborio
Hi, I have some problems debugging my asp.net application (Windows XP Pro, IIS 5.1). If I set the IP Address of the web server to (All unassigned) I can debug without any problem. If I set an IP address (ie. 192.168.0.1) I cannot debug the web application (error message "Unable to debug the web ap

  1   2   >