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

C#

 
QuestionHow do i get directx to play a video, without opening a new window? Pin
Anthony Mushrow22-Nov-05 6:01
professionalAnthony Mushrow22-Nov-05 6:01 
AnswerRe: How do i get directx to play a video, without opening a new window? Pin
leppie22-Nov-05 19:00
leppie22-Nov-05 19:00 
QuestionCapture console output Pin
Kash22-Nov-05 5:42
Kash22-Nov-05 5:42 
AnswerRe: Capture console output Pin
S. Senthil Kumar22-Nov-05 5:57
S. Senthil Kumar22-Nov-05 5:57 
GeneralRe: Capture console output Pin
Kash22-Nov-05 23:40
Kash22-Nov-05 23:40 
QuestionHow to playback file wave by tapi Pin
sharapova22-Nov-05 4:51
sharapova22-Nov-05 4:51 
QuestionHash Code calculation Pin
J4amieC22-Nov-05 4:20
J4amieC22-Nov-05 4:20 
AnswerRe: Hash Code calculation Pin
Stanciu Vlad22-Nov-05 6:08
Stanciu Vlad22-Nov-05 6:08 
If you are planning to use the hash code generated by the classes you described with the .Net HashCode class, than you will be happy to know that string keys are alowed (you could concatenate each id convered to a string with a dot between values) Smile | :)

If not the simplest solution comes by creating "concatenating each key with addition". Meaning, for example if your maximum reached value for the id has 4 digits, and you have 3 values different from -1 (lets say 100, 120 an 30) your unique id can be a linear arrangement of the values : 0000 0100 0120 0030 = 10001200030 (it is usefull to use 0000 for -1 if your id can not be 0, although -1 has it's own binary representation)
In order to implement such an uid you should be aware of the max numer of digits and byte[] operations.

Good luk.

I hope you understand...because is a rough world out there...

GeneralRe: Hash Code calculation Pin
J4amieC22-Nov-05 6:23
J4amieC22-Nov-05 6:23 
GeneralRe: Hash Code calculation Pin
Stanciu Vlad22-Nov-05 7:40
Stanciu Vlad22-Nov-05 7:40 
GeneralRe: Hash Code calculation Pin
Leslie Sanford22-Nov-05 9:57
Leslie Sanford22-Nov-05 9:57 
Questionapplication version (major and minor) c# winform Pin
fady_sayegh22-Nov-05 2:34
fady_sayegh22-Nov-05 2:34 
AnswerRe: application version (major and minor) c# winform Pin
Dan Neely22-Nov-05 3:06
Dan Neely22-Nov-05 3:06 
AnswerRe: application version (major and minor) c# winform Pin
J4amieC22-Nov-05 3:17
J4amieC22-Nov-05 3:17 
Question.NET 1.x remoting hell! Pin
Bob Stanneveld22-Nov-05 2:32
Bob Stanneveld22-Nov-05 2:32 
AnswerRe: .NET 1.x remoting hell! Pin
S. Senthil Kumar22-Nov-05 3:56
S. Senthil Kumar22-Nov-05 3:56 
GeneralRe: .NET 1.x remoting hell! Pin
Bob Stanneveld22-Nov-05 22:43
Bob Stanneveld22-Nov-05 22:43 
QuestionEval equivalent in C# Pin
zaboboa22-Nov-05 2:11
zaboboa22-Nov-05 2:11 
AnswerRe: Eval equivalent in C# Pin
Joshua Quick22-Nov-05 7:41
Joshua Quick22-Nov-05 7:41 
QuestionListen to serial port and read RFID kit Pin
Tyler4522-Nov-05 2:08
Tyler4522-Nov-05 2:08 
Questiondwg files to emf format Pin
theladsmith22-Nov-05 1:59
theladsmith22-Nov-05 1:59 
QuestionTips on how to handle Source Contol Pin
anderslundsgard21-Nov-05 23:21
anderslundsgard21-Nov-05 23:21 
AnswerRe: Tips on how to handle Source Contol Pin
mav.northwind22-Nov-05 2:00
mav.northwind22-Nov-05 2:00 
GeneralRe: Tips on how to handle Source Contol Pin
anderslundsgard24-Nov-05 4:36
anderslundsgard24-Nov-05 4:36 
GeneralRe: Tips on how to handle Source Contol Pin
mav.northwind24-Nov-05 7:44
mav.northwind24-Nov-05 7:44 

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.