Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > c# > july 2007 > threads for tuesday july 3

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

IE Buttons JavaScript Interaction (like Greasemonkey for FF)
Posted by 9icj4u613jeqrx8 NO[at]SPAM jetable.org at 7/3/2007 11:42:19 PM
Hi, I need some help with IE browser programming (in .NET). I'm trying to add a button to the IE toolbar, and on the click of the button open a popup window with a remote URL. Secondly, I'm trying to highlight certain predefined words on particular web sites through the IE plugin itself. ...more >>


string/regex: extracting the context of a string match around the found search term?
Posted by kenfine NO[at]SPAM nospam.nospam at 7/3/2007 11:41:47 PM
I'm analyzing large strings and finding matches using the Regex class. I want to find the context those matches are found in and to display excerpts of that context, just as a search engine might. In terms of code, what's the easiest way to make that happen? The code below works fine for ident...more >>

Search for performance analysis tool like fxcope for .net C# project.
Posted by chandan at 7/3/2007 10:58:41 PM
Hi, I am in search of a tool that checks the performace of my project so that I am able to improve the code accordingly.I found a nice tool FXcope that is Microsoft free tool it helps a lot.But it takes input as DLL of the project that I have to check. I am...more >>

Accessing form controls
Posted by M K at 7/3/2007 9:40:59 PM
I have 2 classes. One where the form resides and I created another one for all the database stuff. after i get data from the db i want to be able to update the form. I have the namespace of where the form code is but how do i get to the controls themselves. newbie in the class world.. ...more >>

calling dll function using C sharp
Posted by Victor Lai at 7/3/2007 8:48:01 PM
Hi, I wrote an simple application using VS2005 C#. I am trying to call some functions in my other dll file. This dll is written in EVC for running on Windows CE 5.0. This dll file has the following function exported: void init_GPIO(); void set_GPIO_Value(int value); void se...more >>

VS 2005, Vista, MP3s, And A Celeron M 520 Based Laptop?
Posted by Gary Brown at 7/3/2007 8:30:56 PM
Hi, I could use a sanity check. I used to listen to MP3s while working with VS 2003 and XP on a 500MHz CPU. Now I'm being told this might not be possible with VS 2005 and Vista on a 1.6GHz Celeron M 520 based laptop. Is this really true? (Assume memory upgraded to 1GB). I've heard terr...more >>

problem System.Single[*] -> System.Single[]
Posted by Keeper at 7/3/2007 8:29:59 PM
class object (COM-object) return dimension "System.Single[*]". problem: Object o; // object = VARIANT o = comclass.GetData(); Single[] dm = (Single[]) o; // Error, problem convertation Help!!! ...more >>

Trouble connecting to Oracle database from C#
Posted by at 7/3/2007 8:10:34 PM
Hi, I use the System.Data.OleDb.OleDbConnection class to establish a connection to a Oracle 10G database. The dsn connection string I use look like this: dsn=provider="MSDAORA.1";User ID=test;Data Source="172.30.0.25/ JBOS";Password=test; This works fine in Windows XP and Windows server 20...more >>



Help with "forms" container
Posted by Troy Bull at 7/3/2007 6:35:58 PM
Greetings I am trying to use a singleton to hold a group of forms. I have a MDIMaster form. I have a class called Forms; Forms is a singleton. I want to do something like the following. In MDIMaster (and other forms), I want to get an instance of Forms (the only instance). Inside For...more >>

Having an MDI Container Form within another MDI Container
Posted by Doc John at 7/3/2007 6:32:54 PM
I have a "global" MDI which will contain everything in the application. Since the application itslef will include three different "environments" with their own child Forms, I was wondering if I could load any of these MDI containers (or environments) so that their parent is the global MDI form...more >>

Dynamically binding causes paging issue?
Posted by Froefel at 7/3/2007 6:06:22 PM
I'm very new to the ADO.NET and WebForms arena, so the problem that I'm having is probably trivial. Using VS2005, I'm just creating a small test project that has a text box allowing you to enter a SQL statement, a button to execute the statement and a GridView control to display the results. T...more >>

Attributes lost during postback
Posted by Raymond Du at 7/3/2007 5:55:39 PM
Hi, I am having problem RadioButtonList class, I have a page that populates a RadiobuttonList during non-postback, but after postback, all attributes I added disppear. Here is my code snippet; //Inside Page_Load, I have: { /* some codes go here */ if (!isPostback) RenderFo...more >>

SerialPort
Posted by John at 7/3/2007 4:40:01 PM
Hi Everyone, How can I set the serial port Timeout to Off using C# (please see the following)? Thanks. Baud: 9600 Parity: None Data Bits: 8 Stop Bits: 2 Timeout: ON //I want this to be Off XON/XOFF: OFF CTS hands...more >>

Rising events between threads
Posted by at 7/3/2007 3:23:14 PM
Hi all, I've recently digged into C# and the whole .Net stuff. Particularly I found the idea of adding Events and Delegates to the C# language very interesting and I'm trying to use them in every weird way that comes to my mind. Particularly I'm struggling to find a way to use events between ...more >>

Which one is better between these two approaches?
Posted by Rolandpish at 7/3/2007 1:40:04 PM
Hi, I'm doing an application using C# and I have this question: I have a method called sqlQueryBD which receives a string sql query and executes it against a database. I also have a class called sqlCompat which has one property "sqlText" with its getter and setter methods. The purpose of thi...more >>

Threading
Posted by OldButStillLearning at 7/3/2007 1:14:05 PM
Trying my first project with a thread. I have a windows application in which I want to call this class which does a bunch of processing using a thread. My application validates the values supplied on the input and when all is well, it displays a message on the screen to indicate that the pro...more >>

Trying to run a query while in a reader loop...
Posted by at 7/3/2007 12:42:29 PM
I have a loop that is parsing the rows of a table, under certain circumstances, I need to query another table with a value from the table that the reader is parsing, but when I try to create another sqlcommand to run the query against the other table, it say that there is another object that ...more >>

How to hide a DataGridView Row
Posted by SteveT at 7/3/2007 12:08:03 PM
Is it possible with VS 2005 to hide a row within a datagridview based upon the "true/false" status of another boolean property within the datagridview? -- ----------- Thanks, Steve...more >>

whats faster, initialize component, or form load?
Posted by roger_27 at 7/3/2007 11:08:03 AM
hey, I have some preliminary code in my program (check for a certain file, define a like 15 variables) and I put it in the form load. I recently got the idea to make a method for it, and do it in the constructor method instead. would this make the load time of the program faster? or is it th...more >>

attach to process of .net app not started in debugger?
Posted by Les Caudle at 7/3/2007 10:35:19 AM
Is there a way to attach to a process of a .NET app not started in debug mode? I'm having a problem with an app on a remote server, with a 3rd party .net object I dont' have source files for anyway. I'd like to be able to just attach to the hung process and get some debug info. Is this pos...more >>

Reading a Text File in C# as it is being written to
Posted by BillGatesFan at 7/3/2007 9:35:30 AM
A file is being written to by another process. Is there a way I can open up the file in c# and display the contents in a textbox as the other application is writing to it? I have seen applications do this I just can't figure out how to write it in c#. Code would be greatly appreciated. Thanks ...more >>

DLL load should be easy, but errors
Posted by andrewcw at 7/3/2007 9:04:03 AM
here is a DLL I need to mimic because the application does not connect to real hardware depending on where the application runs ( it runs in a simulation mode ). The application ( C#.exe ) -> HeatDrivers.DLL ( the hardware one ) and application ( C# .exe) -> HeatDrivers.DLL ( has a r...more >>

datetime query
Posted by jed NO[at]SPAM auto-soft.co.za at 7/3/2007 6:23:47 AM
SELECT (hrs) AS total_hours,(mins)AS total_mins FROM Timerecords WHERE (workdate between 02/06/2007 and 06/06/2007; This statement doesn't work because it doesn't have times associated with the dates.When i store the dates in the database originally it automatically adds time to them is there ...more >>

Checking a listview item while mouse click
Posted by Manikandan at 7/3/2007 3:43:44 AM
Hi, I have a listview items with checkbox . I want the checbox to be checked or unchecked when the user clicks the listview items or check box. When i click the checkbox for list view item, it is not checked. But if i select the listview items by mouse click, the checkbox is checked. I want t...more >>

sql statement (correction)
Posted by jed NO[at]SPAM auto-soft.co.za at 7/3/2007 2:51:34 AM
string selectstr = "SELECT SUM(hrs) AS total_hours,SUM(mins)AS total_mins FROM Timerecords WHERE (workdate >='" + Convert.ToDateTime(dateTimePickerfirst.Text) + "')AND (workdate<='" + Convert.ToDateTime (dateTimePickersecond.Text) + "')"; I have two datepickerboxs that i want to select dates i...more >>

Finding Files
Posted by begum at 7/3/2007 12:51:04 AM
HI everybody; I have problem about selecting files in my main file. I have to find the files whose ending INF. What Can I do?Can anybody help me? using System; using System.Collections.Generic; using System.Text; using System.IO; namespace ConsoleApplication1 { public class FileClas...more >>

Internet access and geting source - possible?
Posted by ofiras at 7/3/2007 12:00:00 AM
Hii everyone, Dose someone knows if and how I can access internet urls? Can I get the source code of the page to a string variable? For example: There is a website www.hahaha.com, and it has some pages that the urls are: www.hahaha.com/1, www.hahaha.com/2, www.hahaha.com/6. I know the URL...more >>

Virtual static member
Posted by Ralfeus at 7/3/2007 12:00:00 AM
Hi all. I have a base class and several classes inherited from this base class. I need to create a instances counter for each class. I thought about something like creation of virtual static member in the base class and increasing it in each derived class constructor. But it's not possible to c...more >>

A question about Label object.
Posted by Kfir Marouani at 7/3/2007 12:00:00 AM
Hi, I'm trying use copy&paste on a text in a lable (simply copy&paste like any other text) but It doesn't allow me to mark and copy the text. How can I enable this option? Thanks in advance. -Kfir ...more >>

tab
Posted by huliang25 NO[at]SPAM yahoo.com at 7/3/2007 12:00:00 AM
can you make a tab separate from a group of tabs ? -Phi.pho ...more >>


DevelopmentNow Blog