Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: huckfinn19
  • Content: Threads
  • Order by date
  1. huckfinn19

    Access a .Net COM object hosted in a COM+ Server in .Net?

    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...
  2. huckfinn19

    WCF: Configure call handling synchronization at method level?

    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...
  3. huckfinn19

    Cross-domain Active Directory queries

    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...
  4. huckfinn19

    How to retrieve web-references URL from config file?

    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>...
  5. huckfinn19

    Dynamic Parameters: setting datasource at runtime prompts login

    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...
  6. huckfinn19

    How to run extremely long stored proc on SQL server in c#?

    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...
  7. huckfinn19

    VS.NET Conditional Deployment of Services

    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...
  8. huckfinn19

    Windows form &quot;Always on Top&quot; instead of &quot;TopMost&quot;?

    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...
  9. huckfinn19

    Use DataSet.WriteXML to output an XML string without tabs and \n ?

    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
  10. huckfinn19

    Find out if a class is derived from an interface or a base class?

    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 {}...
  11. huckfinn19

    Add a column in the DataTable of a DataSet when it's already full?

    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...
  12. huckfinn19

    Programmaticaly cancel a SQL command sent to MS SQL Server?

    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...
  13. huckfinn19

    Programmaticaly cancel a SQL command sent to the server?

    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...
  14. huckfinn19

    Serialize an Array with ISerializable?

    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...
  15. huckfinn19

    Find internal Row index of a Table?

    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...
  16. huckfinn19

    Get the xmlns value from XML file? (XML namespace)

    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...
  17. huckfinn19

    How to create a typed dataset at run-time without .XSD files?

    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...
  18. huckfinn19

    Reports remembering old DSN !

    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...
  19. huckfinn19

    Change DB server in User DSN not working!

    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...
  20. huckfinn19

    Adding missing rows in table in 1 select (+ join) command.

    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...

Part and Inventory Search

Back
Top