| Thread | Last Post | Replies |
|
| Accessing Arraylists | 23 Mar 2006 16:13 GMT | 5 |
ArrayList arrTestArrayList = TestArrayList.LoadTestRecords(ConnectionString,StartDate,EndDate); and it is in the same public class and namespace that I am trying to access it from. Basically, I am looking for a way to test against the
|
| Read a RTF File | 23 Mar 2006 16:07 GMT | 3 |
Which method is the best to read a RTF File in C#? StreamReader sr = new StreamReader(filename, System.Text.Encoding.GetEncoding(1252)); while((rtfContent = sr.ReadLine()) != null) { builder.Append(rtfContent); }
|
| App will not run as a scheduled task | 23 Mar 2006 16:07 GMT | 3 |
I have a c# console app that runs fine manually, however when i add it as a scheduled task it does not run at all. The application takes in args, and calls another command line app. Even if i disable the process call, it still will not run. Am I
|
| Drawing on a panel | 23 Mar 2006 15:49 GMT | 2 |
Here's a starter for 10 - I have the following simple code: private void panel1_Paint(object sender, PaintEventArgs e) { e.Graphics.DrawRectangle(new Pen(Color.Blue),
|
| JON SKEET! i need your help! | 23 Mar 2006 15:43 GMT | 11 |
you have mentioned importing actole.tlb into .net in a previous post - i'm trying to interface with an act 6 database - so thought i'd try to import act.tlb using tlbimp - but i'm getting self registration failed. Do you have any sample source on how to open a database in c#?
|
| Getting reference to running instance | 23 Mar 2006 15:39 GMT | 1 |
I have a C# executable that has a class, say "Sample" which is a singleton. The exe is running and the class is loaded. From another exe, can I get a reference to the running instance of the "Sample" Object?
|
| Permutations | 23 Mar 2006 15:34 GMT | 1 |
I have a select list that can contain between 1 and N items. I would like to get all possible permutations of the list, i.e. combinations that a user might select. So for example if my list has the following options: Red, Yellow, Blue I would like to get the following list:
|
| Checking internet connection | 23 Mar 2006 15:30 GMT | 4 |
From a desktop application, i want to check if an internet connection exist. Many articles use the win api "InternetGetConnectedState", but it is no sure thing. I can check it by calling a site an wait for an exception but it will cost
|
| Getting Windows Form controls? | 23 Mar 2006 15:27 GMT | 2 |
I want to get the controls of the windows form. I know that form.Controls give me the list of controls but i have a problem. For example, the toolstripmenu control cannot be reached with that way. My goal is to list the items of the toolstripmenuitem on the form. I have only ...
|
| Is there such C# tool ? | 23 Mar 2006 15:27 GMT | 4 |
I have .cs source file with a bunch of public and internal members (classes, methods, enums ...) in it. I want to extract declarations of public members into separate file so that I can distribute this file among users as documentation.
|
| SQL Connection String using Domain Account | 23 Mar 2006 15:15 GMT | 4 |
Folks, I am working on a .Net web site that connects to SQL Server 2000 on another box. The DBA has given me a Domain user account with rights to the database and table. I have confirmed with Query Analyzer that the user ID and
|
| Data Access Tier with Large Result Set | 23 Mar 2006 15:01 GMT | 3 |
I'm wondering what the best practice should be when processing a large result set within a Data tier. Basically, I have a C# app that runs a query and loops thru over 500K rows and does a few things per row. I would like to implement a DAL, but I think this would be stupid ...
|
| Installed System DSN List? | 23 Mar 2006 14:57 GMT | 2 |
Does anyone know how I can populate a combobox to display the installed DSNs on a particular machine?
|
| Threading changes in .NET 2 | 23 Mar 2006 14:36 GMT | 12 |
Can anyone explain if there are any changes or improvements to the threading system in .NET 2? I haven't found any in the "What's new" webpage but have heard some improvements and changes have been made (but nothing more specific than that)
|
| Q: property problem (enum) | 23 Mar 2006 13:32 GMT | 3 |
I want to create a property in class (datatype=enum). In one other class I have declaration of enum: public enum enumCrep {
|