Click here to Skip to main content
15,895,084 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Rip CD Pin
ianbacalla14-Aug-07 16:00
ianbacalla14-Aug-07 16:00 
GeneralRe: Rip CD Pin
meofcourse14-Aug-07 18:23
meofcourse14-Aug-07 18:23 
GeneralRe: Rip CD Pin
Dogu Tumerdem22-Jan-10 2:50
Dogu Tumerdem22-Jan-10 2:50 
AnswerRe: Rip CD Pin
meofcourse14-Aug-07 6:30
meofcourse14-Aug-07 6:30 
GeneralRe: Rip CD Pin
ianbacalla14-Aug-07 21:22
ianbacalla14-Aug-07 21:22 
GeneralRe: Rip CD Pin
meofcourse15-Aug-07 4:46
meofcourse15-Aug-07 4:46 
Questionstring array to Byte array....conversion problem Pin
Cory Kimble9-Aug-07 4:51
Cory Kimble9-Aug-07 4:51 
AnswerRe: string array to Byte array....conversion problem Pin
Luc Pattyn9-Aug-07 5:05
sitebuilderLuc Pattyn9-Aug-07 5:05 
Hi Cory,

the following line of code converts one string to one byte, expecting a hexadecimal
representation of the byte's value:

byte.Parse("e9", NumberStyles.AllowHexSpecifier)

it would throw an exception on bad input; the alternative TryParse() would not.

if your string contains more data, you would have to split it (using either String.Split
or String.Substring).

if you have an array of strings each representing one byte, and want an array of bytes,
you would have to create a byte array (with same dimension as the string array), then
loop over each array element.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: string array to Byte array....conversion problem Pin
Cory Kimble9-Aug-07 5:42
Cory Kimble9-Aug-07 5:42 
GeneralRe: string array to Byte array....conversion problem Pin
Luc Pattyn9-Aug-07 5:55
sitebuilderLuc Pattyn9-Aug-07 5:55 
GeneralRe: string array to Byte array....conversion problem Pin
Cory Kimble9-Aug-07 8:10
Cory Kimble9-Aug-07 8:10 
GeneralRe: string array to Byte array....conversion problem Pin
Luc Pattyn9-Aug-07 8:35
sitebuilderLuc Pattyn9-Aug-07 8:35 
QuestionHow to enumerate all possible Screen Resolutions? Pin
svengurke@gmx.de9-Aug-07 2:36
svengurke@gmx.de9-Aug-07 2:36 
AnswerRe: How to enumerate all possible Screen Resolutions? Pin
Craster9-Aug-07 3:32
Craster9-Aug-07 3:32 
GeneralRe: How to enumerate all possible Screen Resolutions? Pin
svengurke@gmx.de10-Aug-07 1:14
svengurke@gmx.de10-Aug-07 1:14 
AnswerRe: How to enumerate all possible Screen Resolutions? Pin
Luc Pattyn9-Aug-07 3:40
sitebuilderLuc Pattyn9-Aug-07 3:40 
Questionreports Pin
Sonia Gupta9-Aug-07 2:05
Sonia Gupta9-Aug-07 2:05 
AnswerRe: reports Pin
Dave Kreskowiak9-Aug-07 3:35
mveDave Kreskowiak9-Aug-07 3:35 
AnswerRe: Prabumj's reply on reports [modified] Pin
i gr89-Aug-07 8:07
i gr89-Aug-07 8:07 
Questioncamera function Pin
ahzarmokhli9-Aug-07 0:51
ahzarmokhli9-Aug-07 0:51 
AnswerRe: camera function Pin
originSH9-Aug-07 1:21
originSH9-Aug-07 1:21 
AnswerRe: camera function Pin
Christian Graus9-Aug-07 1:26
protectorChristian Graus9-Aug-07 1:26 
Questionhow to show dates in crystal report Pin
magedhv8-Aug-07 23:50
magedhv8-Aug-07 23:50 
AnswerRe: how to show dates in crystal report Pin
Salman Sheikh9-Aug-07 2:36
Salman Sheikh9-Aug-07 2:36 
AnswerSenthil's Reply for how to show dates in crystal report Pin
Senthil S9-Aug-07 2:50
Senthil S9-Aug-07 2:50 

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.