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# > november 2004 > threads for monday november 22

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

ListView control with Tile View
Posted by Etan Bukiet at 11/22/2004 11:29:45 PM
Can someone who has downloaded the 2.0 beta version of .Net tell me if TileView is supported in the listview (since this release is supposed to have more support for windows XP and its styles this would seem logical). If so, could you post the system.windows.forms.dll from your GAC so that I ...more >>


Re: number formating
Posted by Tom at 11/22/2004 11:04:56 PM
Hi guys just wondering how do I format a number from 1 to 0001 ? eg. 1 to 0001 12 to 0012 532 to 0532 Thanks Tom ...more >>

Datagrid DateTime
Posted by web1110 at 11/22/2004 11:01:09 PM
I have a table with a field of type datetime. I am displaying this table in a datagrid. My problem is that the datetime field shows only the date and not the time. I'd appreciate some help. Thanx, Bill ...more >>

How to create a new object.
Posted by gana at 11/22/2004 11:01:06 PM
Hello, string typename = obj.GetType().FullName; where obj is a object of any type. Now my problem is how to create back the object just by passing this typename. Thanks for the help. Best Regards, -- Gana...more >>

DrawReversible
Posted by Peder Y at 11/22/2004 10:27:19 PM
Hi! My application contains a simple drawing module. The user can draw lines, ellipses and so on. Now, I'm a fan of visual feedback. The user should see the changes he or she does at the very instant they have been done. For example, the user draws an ellipse. The ellipse need to be moved a...more >>

how can i pass char* or string to byte*[] in C#
Posted by 知易行难 at 11/22/2004 9:21:03 PM
sorry i am poor in English. i am trying to call functions from a "dll"(maybe developed in C++), there is a struct in this function,which is defined like this: typedef struct{ .......... BYTE * BS[5]; .......... }DBDIS; this struct is used as parameter in some functions,an...more >>

regex puzzle!
Posted by galenstewart NO[at]SPAM yahoo.com at 11/22/2004 8:44:05 PM
The objective is to extract the first n characters of text from an HTML block. I wish to preserve all HTML (links, formatting etc.), and at the same time, extend the size of the block to ensure that all closing tags are recovered. For example, simply extracting the first 400 characters of a HT...more >>

Conversion Question
Posted by JRB at 11/22/2004 8:35:01 PM
So the plan is to send and recieve numbers of type double through the serial port. I just don't know how to convert a double to a byte array as that's how I am sending and recieving data through the port. Also, when recieving, how to convert a byte array back to a double. Any information would...more >>



How To Build A Panel Control Wizard?
Posted by clintonG at 11/22/2004 8:09:21 PM
Please provide your article reference(s) that document how to use DNF 1.1 panel controls to build a Wizard. I've seen and tried out the DNF 2.0 Wizard Control, I don't like the current implementation, the final release will most likely be no better, I can't wait until DNF 2.0 is released and I wa...more >>

How good an encryption algorithm is this?
Posted by Bonj at 11/22/2004 7:14:30 PM
I was in need of an encryption algorithm to the following requirements: 1) Must be capable of encrypting strings to a byte array, and decyrpting back again to the same string 2) Must have the same algorithm work with strings that may or may not be unicode 3) Number of bytes back must either b...more >>

Chinese file problem
Posted by choihead at 11/22/2004 6:07:28 PM
I have a aspx, which have a dropdown box in it and the dropdown box is in a include file, but then the the drop down box's chinese cannot be display properly, My system is English W2k3, In web.config it is <globalization requestEncoding="Big5" responseEncoding="Big5" /> so is there anything I ...more >>

Message handling with WndProc
Posted by Robert Wilson at 11/22/2004 5:01:45 PM
Hi everyone. I have a dialog box based application that I am developing for my employer. We are only just getting to grips with C~ having been developing in VC++ for ages. I am handling a user defined message using an overloded WndProc function. What i'd like to know is do I have to ph...more >>

OO Analysis
Posted by KV at 11/22/2004 4:56:44 PM
Alright, I've read Jesse Liberty's book almost cover to cover. So now I know something about using C#. I have an idea for a program I want to write. I have NO IDEA what objects I need, or how to set things up. Are there any good object-oriented books or website tutorials on ANALYSIS that...more >>

Set column width of datagrid
Posted by Grey at 11/22/2004 4:41:43 PM
how to programmatically set the column with of datagrid in winform ...more >>

What is the difference between framework components and application components?
Posted by Julia at 11/22/2004 4:02:31 PM
Hi, What is excatly the difference between framework components and application components? ...more >>

Double.Parse - internalization problem
Posted by Adam Klobukowski at 11/22/2004 3:54:31 PM
Hello I need to convert some strings int doubles. Unfortunetly strings do not follow my country culture standarts (we use , to separate decimal from fraction, but strings use . there etc.). Also, I have to convert those doubles back to strings, and I need to use other standars then my c...more >>

Why "Specified cast is not valid" error?
Posted by Jack MacRank at 11/22/2004 3:44:06 PM
Hello, I'm coding a webform application in C# (ASP.NET 1.1 SP1 with VS.NET 2003 Pro on WinXP SP2 using IIS 5.1). I created a seperate "data" class to house all the MySQL connection and sql command methods. This is exactly what the Microsoft Data Access Application Block assembly does bu...more >>

Validating XML Against a XSD Schema
Posted by Shailendra Batham at 11/22/2004 3:06:44 PM
This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C4D0A4.E17FCE80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi guys I need your suggestions / opinion for doing this the right way. I have a XML and a Schema for the ...more >>

How can i get the whole string with SqlDataReader?
Posted by smeagol at 11/22/2004 2:02:14 PM
I have a varchar 255 field in the Sql. When i get the data with (string)myReader["buffer"]; it's trimed ie( SQL : "qwerty " (Lenght 255) c# : (string)myReader["buffer"].Lenght; (=5) It's possible to get (string)myReader["buffer"].Lenght; (=255) ...more >>

How to deal with integer that can be null in sql server?
Posted by TomislaW at 11/22/2004 1:34:56 PM
I have integers in my database that can be null. I read them with SqlDataReader and show them to Repeater. Since integer can not be null in c#, I set null integer to -1. My project is 3-tier and it is very complicated to check in data tier if it is null set -1, then in business tier if it is...more >>

Smart clients
Posted by MaSTeR at 11/22/2004 1:34:49 PM
I want to stream data from a server, the client is a smart client it I want to be able to connect to a pc (eventually the pc it's been downloaded from). The problem as you might expect is that the smart client doesn't have enough permissions to open a socket, use remoting or even call a web servi...more >>

Abstract Base Collection
Posted by aa7im at 11/22/2004 1:02:03 PM
I am attempting to create a base collection that I can use to derive strongly typed collection. My base collection class will derive from CollectionBase and I want my typed collections to be forced to implement certain methods: public abstract class MyCollectionBase: CollectionBase { publ...more >>

DataGrid Column Resizing Issues
Posted by richmondmike NO[at]SPAM hotmail-dot-com.no-spam.invalid at 11/22/2004 12:56:12 PM
Hello, I am trying to set the widths on the columns of a DataGrid component, and I'm not sure if I'm doing it correctly. My code is below: //load some inital data table = db.GetDataTable( "SELECT 'Task' AS 'Type', title AS 'Title', IFNULL(u.name, 'Nobody') AS 'Assigned To' FROM tasks t LEFT...more >>

new to C#, look for a good book...
Posted by l yu at 11/22/2004 12:47:08 PM
new to C# (but with good experience on VC++), can someone point me to a good book on C#? Thanks!...more >>

static bool firstTime = true
Posted by Brahm at 11/22/2004 12:40:19 PM
Hello, I am trying to do this in C# within a private void method but the value keeps changing in each call. I tried to use const but i get compiler errors. const bool firstTime = true; if( firstTime == true) { firstTime = false; // compiler does not like this } I get...more >>

Bitmap And App.Config file
Posted by Polo at 11/22/2004 11:35:55 AM
Hi All, How can I load and save a Image (bitmap) in a config application file (xml) Thank's ...more >>

Will invalidating interface causes UDP packets disposed?
Posted by ygy at 11/22/2004 11:10:30 AM
When I receive the UDP packets,and then Set the image pixel using Image::Setpixel(),but When I invalidate the interface to show the image,the UDP packets missed.How to solve the problem? thank you in advance! ...more >>

image color transparency
Posted by newbie_csharp at 11/22/2004 10:23:10 AM
Hi, I need to load a picture on a button but I'd like to set white color tranansparency (not to show white color). How can I do it? I tried to load a masked color GIF file but VS 2002 could not load it. thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participa...more >>

update a row in datagrid
Posted by jijo kuruvila at 11/22/2004 10:13:04 AM
Actually my code looks like this.... private void DataGrid1_UpdateCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { DataGrid1.Columns[5].Visible=true; DataGrid1.Columns[6].Visible=true; TextBox t1=new TextBox(); TextBox t6=new TextBox(); TextB...more >>

Late Binding Outlook
Posted by John Smith at 11/22/2004 10:08:22 AM
Hey, I'm having a difficult time finding some good examples of late binding Outlook in C#. Anyone know of any good sites out there? I've googled and MSDN'ed, but have come up a bit empty. IT MUST BE LATE-BINDING THOUGH. I need to be able to open an existing contact folder or create a ne...more >>

update a row in data grid
Posted by jijo kuruvila at 11/22/2004 10:07:02 AM
actually my code looks like this private void DataGrid1_UpdateCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { DataGrid1.Columns[5].Visible=true; DataGrid1.Columns[6].Visible=true; TextBox t1=new TextBox(); TextBox t6=new TextBox(); TextBox t...more >>

A drag and drop problem in Outlook and .Net
Posted by BVM at 11/22/2004 10:06:33 AM
This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C4D07A.F1AED190 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi: I want to drag a mail item from Outlook and drop it in to a listbox. = Then the listbox will display t...more >>

How to include a non-.NET dll into yoour small device project?
Posted by ORC at 11/22/2004 10:01:02 AM
I have a dll written in eVC which I want to include in my project so that the dll will be automatically deployed to the small device. How should I include it? Thanks Ole ...more >>

Lost refernce to Main: "does not have an entry point defined"
Posted by Dave at 11/22/2004 9:55:34 AM
This morning I copied a C# console project file I was working on over the week-end to my workstation and tried to run it. I got the message: Program 'C:\Visual Studio\myProj.exe' does not have an entry point defined My code looks like this: using System; using System.Reflection; namesp...more >>

update a row in datagrid
Posted by jijo kuruvila at 11/22/2004 9:39:06 AM
How we can update a row in datagrid -- Jijo kuruvila trivandrum,Kerala,India...more >>

Generic HashTable Question
Posted by Mythran at 11/22/2004 8:55:38 AM
What are HashTable's used for? I mean, what are the advantages over any other collection type? Mythran ...more >>

transfering to a dll that ecpect a VariantTime???
Posted by ORC at 11/22/2004 8:08:28 AM
I'm going to transfer a parameter to a dll that expects a VariantTime or alternatively a SYSTEMTIME - but what are the corresponding formats in C#? Thanks Ole ...more >>

interprocess comms in local network
Posted by guy at 11/22/2004 7:31:07 AM
In the past I've used sockets in C++ to allow apps to communicate with each other over a local network. Is there anything better/more advanced in .NET or should I continue to use sockets and the .NET Socket class under C#? The (mini) project that I'm about to start will receive stream live da...more >>

.net sockets
Posted by Mike P at 11/22/2004 6:02:59 AM
I am using .Net Socket object to send and receive data between machines (I am following the example from http://www.developerfusion.com/show/3997/2/). However, once data has been received, I need to raise an event to check what the data contains. In my old VB6 code I was using a timer to do thi...more >>

Waiting for a timer event in a console application?
Posted by avivgur NO[at]SPAM gmail.com at 11/22/2004 4:29:37 AM
Hello, I have devised a console application that uses a System.Timers.Timer and its Elapsed event. The problem is that I want the program to continue to run so that each time the event is raised, the handler will be executed. I tried using a while(timer.Enabled) {} loop but it made the process ...more >>

java programming
Posted by segun ade at 11/22/2004 3:42:40 AM
how do i call a static method that is in another class.the method has no attributes. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

have a problem with text box
Posted by liranby NO[at]SPAM hotmail.com at 11/22/2004 2:48:07 AM
Hello everybody I have a problem with textbox. I'm initializing a textbox in page load but every time I change the textbox and Text Changed is fired the text turned beck to the original value and show the old value instead the new one How can I solve it?...more >>

Fill TextBox with DataReader...
Posted by Islam Elkhayat at 11/22/2004 2:32:31 AM
In my C# Web Application I need to fill a textbox with DataReader and use a Next Button to view next value... I created the Datareader in the Page_Load but everytime it get result of the First row. If i use a While or For loop i get result of the last row... How can i check "PostBack" to do...more >>


DevelopmentNow Blog