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# > february 2005 > threads for saturday february 26

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

Startup folder of the application
Posted by Mark at 2/26/2005 11:50:11 PM
How can I get startup folder of the application? ...more >>


BitConverter.ToInt16 Issue
Posted by Michael Davidov at 2/26/2005 11:14:41 PM
byte []array = {0x00,0x04}; short ashort = BitConverter.ToInt16(array,0); Console.WriteLine(ashort.ToString()); Why am I wrong to think that this should return a 4 instead of 1024? Also, is there a way to get a short value of 4 from those 2 bytes without switching their possition in the byt...more >>

Avoiding the warning of not using Exception variable in catch
Posted by Jack Addington at 2/26/2005 10:33:35 PM
I have a 3rd control that throws an exception if the syntax of a method call is incorrect. I am passing dynamic strings to that method so it is acceptable that the method will fail. I have my try...catch setup as try{ ...} catch(Control.StrangeException sEx){ } I get a compiler warning ...more >>

How i can bypass proxy/firewall in .Net? preferably c#?
Posted by Mahesh Devjibhai Dhola at 2/26/2005 9:34:43 PM
Can you please help me in my problem? I have a socket prog. application like http://www.codeproject.com/dotnet/csharpwhiteboard.asp My application is chat application like above architecture. I want to bypass firewall aswell as proxy if any on two chat clients like yahoo or msn can chat b...more >>

.msi for Pocket PC?
Posted by max at 2/26/2005 8:46:02 PM
In http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfdeployment.asp they talk about "1-click" to build an .msi package for Pocket PCs, but I think it's still a long way off. This article talks about "Custom Installer Components", where are these? How do y...more >>

C# converting application
Posted by puzo at 2/26/2005 8:00:14 PM
is it possible to convert C# application so i can run it on the computer where there is no framework? ...more >>

How to create a MSDE Database
Posted by ad at 2/26/2005 6:56:00 PM
How to create a MSDE Database with C#? ...more >>

Showing a form from another thread
Posted by kurotsuke at 2/26/2005 6:10:18 PM
Hi, I need to show a form from a secondary thread and I'm using the Invoke method to call the delegate on my form. I would like to display the form and issuing the command from the secondary thread. My problem is that the Show seems to do nothing. I put a breakpoint and it isn't even triggere...more >>



How to change the display name of a object's property in PropertyGrid
Posted by X.W. at 2/26/2005 6:08:36 PM
Hi group, I have a class like this: class Person { public uint Age { get{...} set{...} } } Thus a PropertyGrid displays the Person.Age property as "Age". But I want to display it in chinese, but not the english word "Age", and I don't want to change this class's definition . ...more >>

TimerCallBack namespace
Posted by T. at 2/26/2005 4:53:01 PM
I have the following line code which won't compile: System.Threading.TimerCallBack tmrdlgt = new TimerCallback(this.CountTime); yet I have included the System.Threading namespace with the line: using System.Threading; at the top of my class definition. Where am I going wrong?...more >>

ASP.NET, C#, Process.GetProcesses
Posted by Denis Brkljacic at 2/26/2005 4:35:56 PM
Hi, I have made some simple ASP.NET (C#) application, that somewhere uses this command: Process [] aProcesses = Process.GetProcesses(Environment.MachineName); This command purpose is to find some proccess on local machine and do something. This works perfect on the machine (XP) where I ha...more >>

Problem in Load vs LoadFrom
Posted by daveland NO[at]SPAM oru.edu at 2/26/2005 3:58:14 PM
The following fragment of code exhibits some anomolous behavior: public IDbConnection GetConnection(string cnstr) { 1 IDbConnection cn = null; 2 Assembly a = Assembly.Load("System.Data"); 3 Assembly a = Assembly.LoadFrom("System.Data.dll"); 4 cn = (IDbConnection) Activator.Cr...more >>

help me!!!
Posted by nisit NO[at]SPAM rwb.ac-dot-th.no-spam.invalid at 2/26/2005 1:39:03 PM
I have problem about "the sleepy barber shop" Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** ---------------------------------------------------------- ...more >>

Mixing VB and C# in one web solution - continued
Posted by John at 2/26/2005 12:16:26 PM
Hi all, I posted the question a few days ago of including a c# web page in a web solution that already contained VB pages. Thanks for your responses. I suspected I had to go down the separate project route but thought there may be another solution to my problem. The reason for me wantin...more >>

Customising a windows close buttons and title bar
Posted by thechaosengine at 2/26/2005 12:09:34 PM
Hi all, Some applications achieve a really nice look and feel in part because they have changed the bar at the very top of the form window. There appears to be a way to customise the whole bar and its buttons but I have no idea how its done. Can anyone point me in the right direction. Pe...more >>

How to handle special keyboard keys?
Posted by Sylwia at 2/26/2005 12:06:37 PM
Hi! I'm writing an application that runs in a 'Full screen' mode. I do not want any other windows (as well as the desktop) to be accessible while my application is running. My problem is that when I press for example a key 'Windows left logo' (with keyboard scan code 91) my app looses fo...more >>

Command Line Parameters
Posted by Mark at 2/26/2005 11:40:45 AM
How can I use (get) command line parameters in my application? ...more >>

Downloading File From HTTP
Posted by Mark at 2/26/2005 11:23:35 AM
Hello. How can I download some file from HTTP (for example "http://www.mysite.com/files/myfile.doc") and then save it to my local drive (for example "C:\MyFiles\myfile.doc")? Thank you. ...more >>

Working with text.
Posted by Jensen bredal at 2/26/2005 11:08:50 AM
Hello, I have stored some text in my database. I want to retrive the first two lines from text and display it in a an asp.net page.. How to get the first two lines from my text? Any good way of doint this? Many thanks JB ...more >>

Newbie Question: Which arrays are recommend for best performance?
Posted by charliewest at 2/26/2005 9:27:04 AM
Developing a windows application for a pocket-pc device, using .NET Compact Framework, I am using a 2 dimension string array to hold TreeNode data in a TreeView control. Given the limited resources of the pocket-pc devices, my question is: Is any particular array type more efficient (i.e. ...more >>

Cannot connect to server for ASP.Net applications
Posted by tomKry at 2/26/2005 7:19:02 AM
In Visual C# 2003, I am unable to create a new ASP.Net application or open an existing one. I get the error message "Could not establish connection to server". This happens, even though the ASP.Net application does work properly when I run it in the browser. To make things a little more str...more >>

How to: Override TreeView Control's "SelectImageIndex" property
Posted by charliewest at 2/26/2005 3:47:02 AM
Using the .Net Compact Framework, how is it possible to override the SelectImageIndex property? I am trying to achieve the following: That when a user selects a node, or child-node, that the image does not change. By default, the TreeView control selects the image in the ImageList at posit...more >>

Problem using collection base and listbox
Posted by Josema at 2/26/2005 3:03:02 AM
Hi to all, I have a class (persons) that derives from collection base: and another class (person) with this properties: -ID -Name When i have complete filled the object Persons with all the persons, i put each persons inside a ListBox following this: this.ListBoxpersons.DataSource=A...more >>

Find address of array
Posted by SB at 2/26/2005 1:20:08 AM
I have a struct with a fixed array of items (see below). How can I obtain the physical address of the array? I don't need to do anything with it other than display it to the end user (this is a small debugger-type of app for a dll). Note that I do realize that the object may be moved later ...more >>


DevelopmentNow Blog