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 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...
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,
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!
I am using .Net's C# language in an application that is using a SQL Server database. Some of the calls in my application to the DB take quite a while to handout the results and I would like to give my users the possibility to cancel the request if they think it's taking too long. When using...
Hi!
I am using .Net's C# language in an application that is using a SQL Server database. Some of the calls in my application to the DB take quite a while to handout the results and I would like to give my users the possibility to cancel the request if they think it's taking too long. When using...
Hi!
I am trying to serialize a class that contains a list of objects. Here's the situation:
[Serializable()]
class A: ISerializable{
ArrayList m_aList;//Contains objects of type B
//... methods to fill array with object B
public A(){}
public A(SerializationInfo info...
Hi!
I am using SQL server and am trying to find the internal row indexes of a table. For example, with the following table
Client:
ClientID | ClientName
---------------------
cid01 | name01
cid02 | name02
I would like to be able to get the internal row ID of this structure meaning that...
Hi! I am just trying to get the XML namespace value out of my XML file, but can't seem to get it to work! Anyone can help me?
Here's a sample XML file:
<?xml version="1.0" encoding="utf-8" ?>
<pages xmlns="the_namespace_value_i_want">
<value>5</value>
</pages>
I want to get the value of the...
Hi!
My goal is to create a typed dataset from an XML file, meaning that I don't want all columns to be strings, but also integers, floats and so on. The thing is that at run-time, I know about the types of the fields to be created, but I don't have this information in a .xsd or .dtd file and...
Hi! I am using Crystal Report 9 and I am having some problems with the DSN I am using.
I've got different computers in my LAN running different MySQL databases. So I need to be able to gather data from different sources with my reports. I am using a User DSN to do this, but I am having a hard...
Hi, I'm using Crystal Report 9 and I'm gathering data from a MySQL database in a LAN from different computers.
It works fine when I create the DSN to connect to a database. My problem is that I need to change the MySQL server in the DSN to obtain data from other db on other computers in my...
Hi all! Here's what I need to do :
I have two tables :
A B
a b c d
---- ----
1 z 1 k
2 x 5 l
3 c 6 j
I need a SELECT with JOIN that would give me :
A
a b
----
1 z
2 x
3 c
5 NULL
6 NULL
so I need to add the missing rows from the A.a and B.c JOIN...
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.