hi all, im trying to make a modding program for games.

how to read 16 bit number from a save data, and display in a textbox by 10 bit number format ?

im using Microsoft Visual Basic 2008 Express Edition. plz help.

sry my bad english. thx :)

Recommended Answers

All 2 Replies

Typically you deal with bytes, not bits. If you read a 16 bit number and display it then you will be deplaying it as text so that doesn't matter unless you're talking about converting it to a 10 bit number, then displaying it as text (you cant always go from a 16bit to 10bit. It depends on how large the number is)?

Please explain what you are really trying to do so we can have a better idea of what needs to be done :)

when i use Winhex to open a file like *.bin, i can see the hex adress at D012. the number is 0A (16bit number). its 10 in 10bit number.

so i want to use VB,NET to make a button for open that *.bin, locate that hex adress(D012), and display it in 10 bit number.

thx for ur reply :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.