Click here to Skip to main content
15,904,156 members
Home / Discussions / C#
   

C#

 
QuestionDataGrid details Pin
Yoyosch20-Sep-05 11:12
Yoyosch20-Sep-05 11:12 
AnswerRe: DataGrid details Pin
seee sharp20-Sep-05 18:02
seee sharp20-Sep-05 18:02 
GeneralRe: DataGrid details Pin
Naveed Kamboh21-Sep-05 13:41
Naveed Kamboh21-Sep-05 13:41 
QuestionWindow Application won't shutdown with XP Pin
har04mich20-Sep-05 10:31
har04mich20-Sep-05 10:31 
AnswerRe: Window Application won't shutdown with XP Pin
snouto20-Sep-05 11:11
snouto20-Sep-05 11:11 
GeneralRe: Window Application won't shutdown with XP Pin
Anonymous21-Sep-05 4:03
Anonymous21-Sep-05 4:03 
QuestionTransparent RichTextBox Pin
zagzagzag20-Sep-05 10:11
zagzagzag20-Sep-05 10:11 
QuestionProblems with Sockets - A Bug?? Pin
Glenn Inman20-Sep-05 10:03
Glenn Inman20-Sep-05 10:03 
I am working with Sockets – I find this interesting, and I would call it a bug. It seems odd that the bytes that comes from GetAddressBytes is not valid for creating a new address given the prototype for it is the same. (A System.ArgumentException is thrown) let me know if you find this odd, a bug or if I am just not understanding how to use this interface correctly.




using System;
using System.Net;
using System.Net.Sockets;
using System.Windows.Forms;
using ThreadingEx;

namespace foo
{

[STAThread]
static void Main(string[] args)
{
IPHostEntry Host;
IPAddress Address;
IPAddress Address2;


Host = Dns.Resolve(“AnyAddressThatResolves.com”);
Address = Host.AddressList[0];

/*
** This will cause an error, the prototype is
** public IPAddress(byte[] address);
** and the GetAddressBytes is
** public byte[] GetAddressBytes();
*/
Address2 = new IPAddress(Address.GetAddressBytes());

}



}

AnswerRe: Problems with Sockets - A Bug?? Pin
Judah Gabriel Himango20-Sep-05 10:07
sponsorJudah Gabriel Himango20-Sep-05 10:07 
QuestionObjects, Abstract Class or Interface? Pin
Wayne Phipps20-Sep-05 9:50
Wayne Phipps20-Sep-05 9:50 
AnswerRe: Objects, Abstract Class or Interface? Pin
Not Active20-Sep-05 9:57
mentorNot Active20-Sep-05 9:57 
AnswerRe: Objects, Abstract Class or Interface? Pin
Andrew Kirillov20-Sep-05 10:03
Andrew Kirillov20-Sep-05 10:03 
GeneralRe: Objects, Abstract Class or Interface? Pin
Wayne Phipps20-Sep-05 10:24
Wayne Phipps20-Sep-05 10:24 
GeneralRe: Objects, Abstract Class or Interface? Pin
Guffa20-Sep-05 16:38
Guffa20-Sep-05 16:38 
GeneralRe: Objects, Abstract Class or Interface? Pin
Jaiprakash M Bankolli20-Sep-05 17:59
Jaiprakash M Bankolli20-Sep-05 17:59 
AnswerRe: Objects, Abstract Class or Interface? Pin
Anonymous20-Sep-05 10:11
Anonymous20-Sep-05 10:11 
QuestionMessageBox in console application Pin
Mr Marchepane20-Sep-05 8:26
Mr Marchepane20-Sep-05 8:26 
AnswerRe: MessageBox in console application Pin
Not Active20-Sep-05 9:14
mentorNot Active20-Sep-05 9:14 
AnswerRe: MessageBox in console application Pin
Judah Gabriel Himango20-Sep-05 9:19
sponsorJudah Gabriel Himango20-Sep-05 9:19 
AnswerRe: MessageBox in console application Pin
Mr Marchepane20-Sep-05 10:15
Mr Marchepane20-Sep-05 10:15 
GeneralRe: MessageBox in console application Pin
Judah Gabriel Himango20-Sep-05 10:27
sponsorJudah Gabriel Himango20-Sep-05 10:27 
GeneralRe: MessageBox in console application Pin
Mr Marchepane20-Sep-05 10:46
Mr Marchepane20-Sep-05 10:46 
QuestionRSA with private key Pin
IsaacB20-Sep-05 8:21
IsaacB20-Sep-05 8:21 
AnswerRe: RSA with private key Pin
Not Active20-Sep-05 9:22
mentorNot Active20-Sep-05 9:22 
QuestionRe: RSA with private key Pin
IsaacB20-Sep-05 10:04
IsaacB20-Sep-05 10:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.