Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hex Value Fields

Status
Not open for further replies.

Xaplytz

Programmer
Joined
Jun 26, 2000
Messages
79
Location
US
Hi Everybody
I’m a Visual Fox programmer but we have a program in Visual Basic,
I don’t know if someone is Familiar with ACT, more info in This software is using *.DBF and I have to import data form this tables.
But here Is the problems this table has 5 fields that suppose just are Hex values
Here are a example of the Structure and the fields.

--Structure---
Unique c 12
Ctime c 6
Etime c 6
Mtime c 6
User c 12

--Record Example---
Unique C time Etime Mtime
;\,! ?ER X X RE? X%'&[ YXXX=

User
NZ2<! :XXXY

Does Somebody has any idea to transform this value to a normal value
Thank.
 
Private Sub Form_Load()
'Replace &quot;3F12&quot; with the Hexadecimal number you want to convert
'to decimal number
strHexValue = &quot;3F12&quot;
MsgBox Val(&quot;&amp;H&quot; + strHexValue)
End Sub

Eric
Eric De Decker
vbg.be@vbgroup.nl

Licence And Copy Protection AxtiveX
Source CodeBook for the programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top