Hi,
I have a COM component written in .Net and hosted in a COM+ server application so that only 1 instance of the component will exist on a box at a given time. Multiple different applications will be accessing the COM component: Matlab, VB Script, .Net application, etc...
When the COM...
Hi, I am using WCF in a client-server architechture, my server has a UI and is configured as follows:
[ServiceBehavior(UseSynchronizationContext = true, InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple)]
Meaning that all calls done from my...
Hi, thanks for your reply, but the code you sent does the same as mine. I didn't show how I iterate through the results of the FindAll() method, but if you check, the previous calls are essentially the same. The SearchScope property is also set to "SubTree" by default.
any other suggestions?
Hi all,
I am using C# 2.0.
Here is my active directory setup:
MAIN_DIRECTORY (root)
\ SUBDOMAIN1 -> [user1, user2]
\ SUBDOMAIN2 -> [user3, user4]
From a machine in the SUBDOMAIN1, I want to query users from both subdomains.
I am using the following code...
Hi, thanks for your reply.
The thing is, when using the format I mentionned at the beginning of the post, I never need to explicitely configure the web services to point to the URLs specified in the config file. It is done automatically. Using your method would work, but I would have to set the...
I am using C# 2.0
When creating a new web-reference in a Windows application, Visual Studio creates a bunch of references to the web service in the project. We have moved these references in the App.Config of the application as follows:
<applicationSettings>...
Hi, I am writing an application in C#2.0 with Crystal Reports XI Release 2. I am using a report viewer to display reports that need to connect to a distant DB. I need to set the datasource of my report programmatically so that my users don't have to know where the DB is or what credentials they...
Hi all,
I need to have a thread that runs a stored procedure that can take up to an hour to process. This task is going to be scheduled to run at night on a DB server and the code that runs it has to be C#.
The stored proc runs fine when executed in the query analyser, but I get timeouts when...
Hi all,
Here is my situation:
I have two services I want to package in a single setup program, using VS.Net deployment tools. Both services assemblies have the classes inheriting from System.Configuration.Install.Installer and have the ServiceProcessInstaller & ServiceInstaller configured...
Hi,
I want to have a form to be over all my other windows, but only in my application, not over all the other Windows applications. I also do not want this form to be shown in a modal state because the user might need access to the background windows. The "TopMost" property of a form puts the...
Hi!
I need to output an XML string directly from a DataSet without any "\t" or "\n" in it. Is there a simple way, or do I have to use another XML class to do this?
Thanks!
Huck
Hi!
Thanks for the answer. What about if I am dealing only with types and not instances?
The ultimate goal is a plugin manager in which class types will be registered. They will then be retrived by groups filtrered by their inheritance from a particular interface. This means that in the...
Hi,
I need to be able to find out if a class is derived from a particular interface.
I know that it is possible to find out if a class is derived from a base class with the System.Type class with the following code:
public class Class1 {}
public class Class2 : Class1 {}...
Hi!
Here's my problem: I currently fill a single column in a DataSet from an SQL DB. I can get up to 10000 records. So I have a Table in the DataSet like this:
|MyCol|
---------
Val1
Val2
...
The thing is that in my case, it would be very helpful to have another column containing boolean...
Hi Korach, thanks for your answer. Your solution will work fine, the only concern I have with it is that the job might keep running on the distant SQL Server? I might be wrong, I wonder what happens when a connection is closed with the server like it will happen when I call the abort on the thread.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.