Re: [ADVANCED-DOTNET] Async Data Commands with ADO.Net

2003-10-07 Thread Jade Burton
But what's wrong with creating a thread? If you use the threadpool it's almost a one-liner! (Aside from the stub you'll prob have to write..) I guess it's personal preference whether you prefer to use special async APIs or whether you prefer fns that block until complete -- I personally avoid as

[ADVANCED-DOTNET] Async Data Commands with ADO.Net

2003-10-07 Thread Brian Gaer
Is anyone familiar with a method to have an ADO.Net command object perform a command.ExecuteNonQuery() asynchronously? The Stored Proc I am calling takes from 2 to 10 minutes to return, and I cannot wait for it and do not care what the results of the query are. I searched all over and the only o

Re: [ADVANCED-DOTNET] Configuration file for code running in dllhost on Windows 2000 COM+ 1.1

2003-10-07 Thread Bill Bassler
One thing I neglected to add in this scenario was that the dll is installed in the GAC. So while it has a physical location (somewhat hidden) there isn't a direct physical folder where the config file can be installed based on a GAC'd dll location. I believe. I suppose that you could just hard co

Re: [ADVANCED-DOTNET] Unanswered - Mail Merging within an application - best approach?

2003-10-07 Thread Julian Voelcker
On Mon, 6 Oct 2003 09:51:26 -0600, Joshua Perry wrote: > We have since been working on an XML/XSLT solution that is > going rather well. One thing that I wanted to mention is that you can > run C# in-line in the XSLT so it makes it rather powerful dynamically. That sounds interesting - an

Re: [ADVANCED-DOTNET] Unanswered - Mail Merging within an application - best approach?

2003-10-07 Thread Julian Voelcker
On Mon, 6 Oct 2003 21:55:27 -0700, Shawn A. Van Ness wrote: > If you're averse to XSLT (hard to debug, interop-challenged, unreasonably > difficult to implement procedural logic, etc) you should check out some of > the ASP-style codegen/template languages out there... like Eric Smith's > C

Re: [ADVANCED-DOTNET] Unanswered - Mail Merging within an applica tion - best approach?

2003-10-07 Thread Julian Voelcker
On Tue, 7 Oct 2003 12:24:25 +0200, JC Oberholzer wrote: > Don't know Hot Docs, but will check it out. Got a link to a site > somewhere? Yes you can find out more from http://www.capsoft.com. >From the end user interface side of things it looks pretty cack handed, but seems to do a good j

Re: [ADVANCED-DOTNET] Enumerating AppDomains Collection

2003-10-07 Thread Kapil Sachdeva
This can be done using Com Interoperability. The page that answer you query very well is : http://weblogs.asp.net/nunitaddin/posts/1992.aspx Hope this helps. regards Kapil --- Hussein <[EMAIL PROTECTED]> wrote: > i can reach the current executing process through > System.Diagnostics but > how c

Re: [ADVANCED-DOTNET] Configuration file for code running in dllhost on Windows 2000 COM+ 1.1

2003-10-07 Thread Mike Woodring
Since remoting configuration can be in any file you have access to (it doesn't need to be in an application configuration file), the easiest thing to do is just put the config file in the same directory the assembly is installed in, and then pass the path to that file to RemotingConfiguration.Confi

Re: [ADVANCED-DOTNET] Enumerating AppDomains Collection

2003-10-07 Thread Mike Woodring
You have to resort to COM interop. Purely managed applications can't 'see' outside their current appdomain (as far as they're concerned, there appdomain is the entire extent of their world). If resorting to COM interop is okay, I have a sample here that demonstrates how to enumerate processes and

[ADVANCED-DOTNET] Enumerating AppDomains Collection

2003-10-07 Thread Hussein
i can reach the current executing process through System.Diagnostics but how can i reach a collection of the appdomains in this process . i need to iterate inside these appdomains found in a specific process ? === This list is hosted by DevelopMentorĀ® http://www.de

[ADVANCED-DOTNET] Synchronization strategy against concurrency

2003-10-07 Thread Inanc Gumus
Hi, I am developing an application which will be served to more than hundred of users in one second. Of course, this is a roughly way of telling my case in an example like this. Because the system will be served many users it has to be use any database queries as seldom as possible. So, I found a

Re: [ADVANCED-DOTNET] Unanswered - Mail Merging within an application - best approach?

2003-10-07 Thread Shawn A. Van Ness
If you're averse to XSLT (hard to debug, interop-challenged, unreasonably difficult to implement procedural logic, etc) you should check out some of the ASP-style codegen/template languages out there... like Eric Smith's CodeSmith tool, or my X-Code .NET tool. Both freeware. http://www.ericjsmit

[ADVANCED-DOTNET] Calling web services from no-touch-deployed apps

2003-10-07 Thread Charlie Butts
When I run a no-touch-deployed windows form app under .net framework 1.1 on XP pro, calling a web service (on the same win 2003 server site), it works great, but if I let it sit for 5 or 10 minutes and call the web service again, it times out. The next call to the web service works fine. This rem

Re: [ADVANCED-DOTNET] Unanswered - Mail Merging within an applica tion - best approach?

2003-10-07 Thread JC Oberholzer
We opted to go with ITP rather than XSL because of the fine grained printing control in MS Word and the fact that our users had to be the authors of the documents. They have a good knowledge of WORD, but XSL and C# will leave them bleeding, and generally do not have inhouse developers. Having MS

[ADVANCED-DOTNET] Configuration file for code running in dllhost on Windows 2000 COM+ 1.1

2003-10-07 Thread Bill Bassler
I have a component running in a COM+ 1.1 application on Windows 2000 using Server activation. I need the component to be able to retrieve remoting info from a .config file e.g. http://web1.mycompany/ConfigServer.soap"; /> The only way I've found to make this work is place

Re: [ADVANCED-DOTNET] Way to set COM+/Enterprise services attribute for application account?

2003-10-07 Thread Stoyan Damov
Try the ChangeServiceConfig API. HTH, Stoyan -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Bill Bassler Sent: Monday, October 06, 2003 8:48 PM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Way to set COM+/Enterprise servic