Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ?

2004-09-02 Thread Ranjan
:). I already started on my home computer. r. -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of J. Merrill Sent: Thursday, September 02, 2004 11:17 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] is there a support for r

Re: [ADVANCED-DOTNET] How do I make a call back to the client from a webservice?

2004-09-02 Thread J. Merrill
I don't think the original question suggested that there was a problem with threading on the client side -- the problem is on the server side. The async call pattern is to let the caller do something else while waiting for the server to finish processing the request. The server has to keep the

Re: [ADVANCED-DOTNET] Reflection.Emit question

2004-09-02 Thread Andrew Savinykh
>>In Whidbey (.NET 2.0) there will be a way to dynamically add (static) >>methods to modules and those methods can (optionally, given the right >>permissions) also access the private members of a class. That's good to know - exactly what I need. Thank you very much //Andrew

Re: [ADVANCED-DOTNET] Reflection.Emit question

2004-09-02 Thread Andrew Savinykh
>>You could create a type that descends from the type you want to modify, add a method to it, "bake it" and call the method; then repeat, this time descending from the type you had just built. >>You'd end up with a bunch of classes, each with one method, that descend from each other in a "ladder"

Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ?

2004-09-02 Thread J. Merrill
I don't think it can be true that redesigning would take longer. Build a tool that starts by assuming that buttons and labels don't resize and that controls ending "flush right" should be anchored there. Then I'm actually now thinking that I should build the tool I'm imagining, rather tha

Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ?

2004-09-02 Thread J. Merrill
I guess I asked for it!! But as there's no use of docking or anchoring in the example, I guess I don't know what wouldn't work right if those were set. If the issue isn't "dock and anchor aren't sufficient" but rather "we can't / won't spend time setting the dock and anchor properties correctly

Re: [ADVANCED-DOTNET] Reflection.Emit question

2004-09-02 Thread J. Merrill
You could create a type that descends from the type you want to modify, add a method to it, "bake it" and call the method; then repeat, this time descending from the type you had just built. You'd end up with a bunch of classes, each with one method, that descend from each other in a "ladder" s

Re: [ADVANCED-DOTNET] When would SqlConnection.Open blow away a COM+ context?

2004-09-02 Thread Marsh, Drew
Frans Bouma wrote: > Did you install SP1 for .NET 1.1 already? I have not installed it yet, but I will give it a try later today and see if maybe it's patched. -Drew === This list is hosted by DevelopMentorĀ® http://www.develop.com Some .NET courses you may be in

Re: [ADVANCED-DOTNET] Reflection.Emit question

2004-09-02 Thread Jeroen Frijters
Hi, No, it's not possible. To call a method you need to bake the type first and after you've baked the type, you can no longer change it. In Whidbey (.NET 2.0) there will be a way to dynamically add (static) methods to modules and those methods can (optionally, given the right permissions) also a

Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ?

2004-09-02 Thread Ranjan
>>Is that about right? Yes that's the case >>The problem is that handling resizing always requires some work. It needs a certain amount of thought and planning because there isn't any r>>>reliable way of automating the process completely. You will, unfortunately, need to work out what layout setti

Re: [ADVANCED-DOTNET] Reflection.Emit question

2004-09-02 Thread Stoyan Damov
See MethodBuilder, you'll find a sample in the overview of the class HTH, Stoyan -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Savinykh Sent: Thursday, September 02, 2004 14:33 To: [EMAIL PROTECTED] Subject: [ADVANCE

Re: [ADVANCED-DOTNET] How do I make a call back to the client fro m a webservice?

2004-09-02 Thread Ryan Heath
Adam Straughan wrote: > Absolutely no idea, I just happened to see the title and thought it might be > relevant. Me neither :) but i thought I had read somewhere WS-Events is all between webservices. // Ryan === This list is hosted by DevelopMentorĀ® http://www.de

[ADVANCED-DOTNET] Reflection.Emit question

2004-09-02 Thread Andrew Savinykh
Hello, Is it possible add a method to an existing class. What I want to is 1) create a dynamic type and a method on this type 2) invoke this method 3) create another method on the same type 4) invoke the new method E.t.c. Is it possible? As far as I can see you have to call TypeBuilder.CreateTyp

Re: [ADVANCED-DOTNET] How do I make a call back to the client fro m a webservice?

2004-09-02 Thread Adam Straughan
> -Original Message- > From: Ryan Heath [mailto:[EMAIL PROTECTED] > Sent: 02 September 2004 12:36 > Correct me if I am wrong here, but > isn't WS-Events presented as being a solution for pull/push > events BETWEEN web services? Absolutely no idea, I just happened to see the title and thou

Re: [ADVANCED-DOTNET] How do I make a call back to the client fro m a webservice?

2004-09-02 Thread Ryan Heath
Hi, Correct me if I am wrong here, but isnt WS-Events presented as being a solution for pull/push events BETWEEN webservices? // Ryan On Thu, 2 Sep 2004 09:43:34 +0100, Adam Straughan <[EMAIL PROTECTED]> wrote: > Is WS-Events any use to you? > > http://xml.coverpages.org/WS-Events20030721.pdf >

Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ?

2004-09-02 Thread Vince Pacella
My approach is nothing more than a hack. Was more of a short-term than real solution. Regards, J. Vince Pacella / OOCL Chicago Cell 773-454-8683 Fax - 773-867-5050 Cargo Tracking Online at: www.cargosmart.com -Original Message- From: Unmoderated discussion of advanced .NET topics. [mail

Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ?

2004-09-02 Thread Iain Smallwood
Apologies in advance if I am butting in inappropriately, or this has been covered, as I have not followed this thread. This article explains custom layout extenders very well and has a lovely sample project. I have seen nothing better. (And it enabled me to at least grasp what attributes were abou

Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ?

2004-09-02 Thread Vince Pacella
This might be obvious, but if you code something that could read through the code of these forms and highlight which controls are the right-most ones for their "row", and which ones are in the middle... If your controls are laid out in an orderly way you may be able to programmatically set the anch

Re: [ADVANCED-DOTNET] How do I make a call back to the client from a webservice?

2004-09-02 Thread Ian Griffiths
To solve the threading problem in your third solution, it sounds like what you want is an async web service. When you implement a web service, you can either write it synchronously or asynchronously. This makes no difference to how the service looks to the outside world, it just changes the implem

Re: [ADVANCED-DOTNET] How do I make a call back to the client from a webservice?

2004-09-02 Thread Francis Tracey
Have you considered using MSMQ? You could have your clients create local message queues and the server could then send messages to these queues when the event occurs. You could have the clients register the queue with the server by name. === This list is hosted by D

Re: [ADVANCED-DOTNET] How do I make a call back to the client fro m a webservice?

2004-09-02 Thread Adam Straughan
Is WS-Events any use to you? http://xml.coverpages.org/WS-Events20030721.pdf Abstract This document describes Web Services Events (WS-Events) Version 2.0, an XML syntax and a set of processing rules for advertising, subscribing, producing and consuming Web Services Events. An Event is an abstract

Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ?

2004-09-02 Thread Ian Griffiths
Having looked through the code and read what you said, it sounds like this is the situation: someone has already done the complete design for all of these forms, but they didn't bother making them resizable. You now want to fix that. Is that about right? The problem is that handling resizing alw

[ADVANCED-DOTNET] How do I make a call back to the client from a webservice?

2004-09-02 Thread Ragnvald Barth
I have a number of clients calling the various methods of my webservice. Then some event occurs on the server, and I want to notify the clients immediately. How can I achieve this? Polling: I thought about polling, but frequent polling from many clients would generate a lot of obsolete load, so I