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 monday july 2

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

Query on User Authentication aganist ADS
Posted by apondu at 7/2/2007 11:49:34 PM
Hi I have a query, i have put the code here. I am using VS 2005, C#.Net. This is working fine when i am install the Win OS 2003 with ADS, but after few days it starts entering the exception and gives the message " Logon Failure : unknown user name or bad password" I am a bit confu...more >>


Error Logging
Posted by Rasika WIJAYARATNE at 7/2/2007 10:42:43 PM
Hi guys, Please check this out: http://rkwcoding.blogspot.com/2007/07/error-logging.html ...more >>

this is an easy one
Posted by news at 7/2/2007 9:59:23 PM
I must be tired. I have a two dimensional byte array byte[,] byte_array = new byte[12,256]; Now I populate the 12 arrays each with 256 byte values. I create a single dimension array byte[] single_byte_array = new byte[256]; How do I copy one of the 256 byte arrays from the 2 dimens...more >>

Accessing parents of linked cells in Excel without COMException
Posted by ortega23 at 7/2/2007 9:33:56 PM
Hi, I am trying to obtain the column number of the parent of a cell, if the cell is a linked cell (i.e. its value depends on another cells value). I try to read "Precedents"(parent cells) of a "Range"(selection of a single cell in this case) for each cell in my table to access parents of t...more >>

C# Thread Syncornization
Posted by NvrBst at 7/2/2007 8:30:30 PM
Is there any internal thread variables/states I can set to request stops? or I need to make my own global variables? IE ----------------------------- Thread myThrd = new Thread(new ParameterizedThreadStart(Func)); myThrd.Start(objParams); *do stuff* myThrd.ThreadState = ThreadState.SuspendR...more >>

numerical entry control
Posted by colin at 7/2/2007 7:26:08 PM
Hi, Is there a simple numerical data entry control ? I had a look at the http://www.codeproject.com/cs/miscctrl/HDNumericTextBox.asp wich seemed to be what I wanted but it doesnt seem to work, when I try and put it on the form using the designer it gives the error :- --------------------...more >>

How create label array at design time?
Posted by Ronald S. Cook at 7/2/2007 7:07:51 PM
How can I create a label array at design time in a .NET Windows forms app? Thanks, Ron ...more >>

DataGridView and KeyDown event
Posted by M K at 7/2/2007 6:19:50 PM
My dg is loaded (from stored procedure) and has 1 record in it. When I press enter on that row it does nothing (I have a breakpoint just inside the code where i check for enter pressed) if (e.KeyData == Keys.Enter) It never goes into that event. For the DataGridView I have: ReadOnly =...more >>



Networking Disconnect Error
Posted by DanielGifford NO[at]SPAM gmail.com at 7/2/2007 6:13:44 PM
Hi, I'm writing a tcp connection program. Whenever the client disconnects from the server, I get this error: ////////begin error An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in System.dll Additional information: An existing connection was forcibly closed b...more >>

Culture sensitive character comparison
Posted by Rene at 7/2/2007 4:22:01 PM
I was wondering if it is possible to compare 2 characters (char) using a specific culture. I don't really have a need to do this, I am simply curious about it. According to me, the documentation appears to say that when two characters get compared (Char.CompareTo), the system will use the U...more >>

Control for putting items in sequence?
Posted by Ronald S. Cook at 7/2/2007 3:34:06 PM
Is there an intinsic or 3rd party Windows control you would recommend for the following? I'm wanting to create a form where a user can set the order of hundreds of pens. I was thinking about some sort of drag and drop that automatically pushes down the list, etc. Available Pens: 101 1...more >>

Failed to load resources
Posted by Adam Benson at 7/2/2007 2:21:21 PM
Hi, I have seen a lot of different threads about this error in the new groups, but never came across anything that pointed to an obvious solution. 6(!) instances of our app on a customer site just stopped working with the error box : "Setup Error Failed to load resource from resource...more >>

How to get the "Programs" special folder for 'All Users'
Posted by Boaz Ben-Porat at 7/2/2007 1:50:34 PM
Hi all I need to find the 'Programs' folder on he Start Menu for 'All Users'. On standard English Windows XP it is "C:\Documents and Settings\All Users\Start Menu\Programs", but on other languaghes it is different. Environment.GetFolderPath(Environment.SpecialFolder.Programs) returns the ...more >>

about Checkbox !!
Posted by rushd at 7/2/2007 1:40:01 PM
Hi all, i have a question about checkbox. i made a form, with some textboxes, and buttons.. the idea is this.. i want to enter some information (like name, address..) and some hobbies ! i made the hobbies as a checkboxes.. so the user check the ones apply.. then i made a "SAVE" button, to add ...more >>

Best way to assign one class to another
Posted by Eitan at 7/2/2007 1:34:01 PM
Hello, Suppose I have created 2 objects of MyClass: MyClass myClass1 = new MyClass(); MyClass myClass2 = new MyClass(); I also defined variables inside MyClass1: myClass1.myVar1 = 1 ; myClass1.myVar2 = 2 ; What would be the best, elegant, way to achive: myClass2 = myClass1 ; T...more >>

Enum extenting
Posted by Ralfeus at 7/2/2007 12:36:21 PM
Hi all Oftenly I need to use enums but standard C# enums provide little bit poor possibilities. For example I'd like to restrict variables to get only values specified in enums. Also sometimes I want to implement some type conversion from enum to some other type. Is it possible to create a new ...more >>

Move to next DataSet row
Posted by Looch at 7/2/2007 12:31:48 PM
Hi All, I'm using the following to fill a DataSet: public void itemSearch(string column, string item) { ...fill DataSet } I want to be able to move to the next and previous rows with: private void cmdNext_Click(object sender, EventArgs e) { ...more >>

RowState
Posted by Bhagya at 7/2/2007 12:16:48 PM
Hello, I have a Dataset in which i have multiple rows. Some of these rows have been edited and some new rows have also been added to the Dataset. Now I have two Commands that is the InsertCommand and the UpdateCommand. I want to seperate the rows in such a way that, all the rows that hav...more >>

How to pass a byte[] from C# to JavaScript
Posted by thomas_okken NO[at]SPAM hotmail.com at 7/2/2007 11:48:21 AM
I'm working on a little C# DLL that will let me capture audio from within Internet Explorer. The idea is that the C# object, once it is recording, will periodically invoke a JavaScript callback, which will handle the audio somehow. The JavaScript callback is a simple function, which I pass to ...more >>

Help with delegates and/or generics
Posted by rbjorkquist at 7/2/2007 11:05:47 AM
I am looking for some help figuring out the best way to refactor these two examples. I was thinking of using delegates and/or generics; but have little experience with either. Any sample code would greatly be appreciated. I have many methods like, MyReadExternalTempOnly() and MyReset() that ...more >>

New to C#
Posted by Trecius at 7/2/2007 10:12:02 AM
Hello, Newsgroupians: I'm new to C#, and I'd like to ask for your input on a couple of questions of mine. First, I am creating a Windows application. In my main statement, I have one line... public static int Main(string[] astrArgs) { System.Windows.Forms.Application.Run(new QualWn...more >>

Free ASP.Net webhosting?
Posted by Malli M at 7/2/2007 9:15:48 AM
Hi, I want setup my personalProjectwebsite , using the .Net, IS there is any Free Webhosting (ASP.NET) links are avilable, Please tell me 50MB Disk Dpace, Sql or MySQL server FTP 5 Mail a/C Asp,, code behind files supports urget Please help me. thanks Malli ...more >>

C# random alphanumeric strings ?
Posted by bitshift at 7/2/2007 9:12:40 AM
Anyone got an example ? ...more >>

Multicast
Posted by Jayme.Pechan at 7/2/2007 7:36:07 AM
I was working on a multicast client and ran into a possible problem. Here is the code... udpClient = new UdpClient(4000); udpClient.JoinMulticastGroup(IPAddress.Parse("224.1.1.1")); udpClient.BeginReceive(new AsyncCallback(DoUDPReceive), this); My conce...more >>

axWebBrowser does not release object
Posted by M4tt at 7/2/2007 7:23:02 AM
Hi, i am using axWebBrowser object to display pdf's and excel spreasheet drag dropped onto it. the trouble is once a file is displayed in the browser it is not released. even if i close the window, which should dispose of the webbrowser object, my files are locked and may not be moved or renamed...more >>

Microsoft.Web.Services
Posted by Abra at 7/2/2007 5:21:50 AM
Hi, I am using Visual Studio .NET 2005 and have an application where I need to implement the IPasswordProvider interface. But this interface is defined in Microsoft.Web.Services, which is not available in the Visual Studio .NET 2005 toolkit. Is there any aditional Microsft package available, ...more >>

Time Out Error
Posted by saurav ajm at 7/2/2007 3:16:21 AM
Our application is running successfully on production server from last three month. Yesterday we received the error - Timeout Error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Our application is built in asp.net 2.0 and Sql serve...more >>

sql statement
Posted by jed NO[at]SPAM auto-soft.co.za at 7/2/2007 3:15:09 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 >>

Custom Collections & Sorting
Posted by moongirl at 7/2/2007 3:06:39 AM
i have designed a class (MyClass) which contains 2 custom collections of objects. One is a list of people which I want to display at all times in order of name, and one is a list of the same people but this time always displayed in order of their score. Therefore as scores are entered via a d...more >>

How to create picturebox array ?
Posted by Boki at 7/2/2007 2:33:51 AM
Hi All, I remember in VB6, we can create any component array just by copy and paste, and the IDE will ask us to use a component array or not. I did the same thing on C#, it will auto create the next picturebox, the name is something like: picturebox2. if they are not array, I will be very d...more >>

Writing to the Eventlog
Posted by mcw.willart NO[at]SPAM interpolis.nl at 7/2/2007 2:16:06 AM
Hi, I want to write events to the Apllication log and I'm trying to create a custom source. When I run the app I get "The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.", which is pretty normal, as users don't have rights to read/write the...more >>

coding or
Posted by Jerry at 7/2/2007 12:00:00 AM
Hi I am having a bad day. I wish to code the following for the input to a combo box: if nothing is typed in a combo box and no items in the drop down list of the combo box are selected then a message box will show to warn the user. I have tried various things - using if ((cboSimple...more >>

including an uninstall capacity
Posted by Jerry at 7/2/2007 12:00:00 AM
Hi I have noticed that my apps don't have an uninstall capacity in the users programs shortcuts. While users can remove the program in the control panel, add remove programs, I would like to have an uninstall as an option in the program menu. I am using VS2005 and using the setup deploy...more >>

Security Issue in Crystal Reports XI Release 2 on Terminal Services ?
Posted by Frederic Hoornaert at 7/2/2007 12:00:00 AM
Hi, I'm having a problem with Crystal Reports XI Release 2 running on Terminal Services. When invoking the Crystal Reports method ReportDocument.Load(file), an COMException is thrown. System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified. ...more >>

data grid view resize and reorder columns
Posted by Jerry at 7/2/2007 12:00:00 AM
Hi I have a data grid view that I have AllowUserToResizeColumns = True but at runtime, the user cannot resize columns. Is there something I am missing? Is there a conflict with the ability to sort columns? Thanks Doug ...more >>


DevelopmentNow Blog