Click here to Skip to main content
15,920,896 members
Home / Discussions / C#
   

C#

 
GeneralDrag & Drop Pin
sreejith ss nair28-Feb-05 3:15
sreejith ss nair28-Feb-05 3:15 
GeneralWorking directly with pixel of a bitmap Pin
Anonymous28-Feb-05 2:05
Anonymous28-Feb-05 2:05 
GeneralRe: Working directly with pixel of a bitmap Pin
leppie28-Feb-05 6:15
leppie28-Feb-05 6:15 
QuestionHow to creat login Pin
chandtec28-Feb-05 2:00
chandtec28-Feb-05 2:00 
AnswerRe: How to creat login Pin
turbochimp28-Feb-05 10:03
turbochimp28-Feb-05 10:03 
GeneralRe: How to creat login Pin
chandtec28-Feb-05 10:52
chandtec28-Feb-05 10:52 
GeneralRe: How to creat login Pin
turbochimp28-Feb-05 16:11
turbochimp28-Feb-05 16:11 
GeneralIPAddress(byte[]) fails - need help Pin
Sebastian Schneider28-Feb-05 1:36
Sebastian Schneider28-Feb-05 1:36 
Hello everyone,

I am currently trying to code a little Subnetting-Calc, trying to get as close to .NET-Standards as I can (and thus, get some practise with .NET-Standards).

One thing I want to do is to return a networks broadcast-address based on Client IP and subnet-mask.

I have a method getBroadcastAddressAsLong (which accepts 2 Params representing SubnetMask and Client-IP and returns the BroadcastAddress as LONG).

During testing, I first wanted to try if the IP-Addresses were valid, so I tried to create 2 IPAddresses which should be identical, one long (0xFFFFFF00) and one byte[] (0,255,255,255) and passed them to the IPAddress Constructor.

Unfortunatley, the byte[] constructor fails, throwing an ArgumentException with the "additional info: addres" (sic!).

That really does not help much, so it would be great if someone could tell me, what to pass along to get that byte[] constructor to work".

Version of .NET FW is 1.1 SP1

Cheers
Sid
GeneralRe: IPAddress(byte[]) fails - need help Pin
leppie28-Feb-05 6:18
leppie28-Feb-05 6:18 
GeneralRe: IPAddress(byte[]) fails - need help Pin
Sebastian Schneider1-Mar-05 20:39
Sebastian Schneider1-Mar-05 20:39 
GeneralRe: IPAddress(byte[]) fails - need help Pin
lushgrass21-Jul-05 14:36
lushgrass21-Jul-05 14:36 
Generalsocket connection in Windows XP Pin
Begoña28-Feb-05 1:32
Begoña28-Feb-05 1:32 
GeneralRe: socket connection in Windows XP Pin
leppie28-Feb-05 6:21
leppie28-Feb-05 6:21 
GeneralRe: socket connection in Windows XP Pin
Dave Kreskowiak28-Feb-05 7:15
mveDave Kreskowiak28-Feb-05 7:15 
Generaldatagrid sorting hassles Pin
steven shingler28-Feb-05 0:27
steven shingler28-Feb-05 0:27 
GeneralRe: datagrid sorting hassles Pin
leppie28-Feb-05 6:22
leppie28-Feb-05 6:22 
GeneralToolbar Pin
subPose27-Feb-05 23:51
subPose27-Feb-05 23:51 
GeneralRe: Toolbar Pin
subPose1-Mar-05 1:03
subPose1-Mar-05 1:03 
GeneralWildcard Conversion to Regular Expressions Pin
Aisha Ikram27-Feb-05 23:38
Aisha Ikram27-Feb-05 23:38 
GeneralCustom Printdialog - Printer Properties Pin
pahlsson27-Feb-05 23:27
pahlsson27-Feb-05 23:27 
GeneralCustom DataType Pin
Maqsood Ahmed27-Feb-05 20:16
Maqsood Ahmed27-Feb-05 20:16 
GeneralRe: Custom DataType Pin
spif200127-Feb-05 22:04
spif200127-Feb-05 22:04 
QuestionHow to add Windows Form to Tab Control page using C#? Pin
pubududilena27-Feb-05 17:06
pubududilena27-Feb-05 17:06 
AnswerRe: How to add Windows Form to Tab Control page using C#? Pin
leppie27-Feb-05 19:22
leppie27-Feb-05 19:22 
GeneralRe: How to add Windows Form to Tab Control page using C#? Pin
Dave Kreskowiak28-Feb-05 1:10
mveDave Kreskowiak28-Feb-05 1:10 

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.