Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion
Message
 
 
To
29/01/2003 16:20:22
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00746887
Message ID:
00746899
Views:
20
>Hello all, I am converting an Embedded VB app to a VB.NET smart device app. I ran across a piece of code that is puzzling me. As far as I know the function is capturing data for a signature and storing it in hex, I think. Anyway, PadHex is my question. What is the code in VB.NET to carry out the same functionality as PadHex? Honestly, I really don't know what PadHex does. Below is the code. Thanks for the help.
>
>
>Private Function StoreSigData() As String
>
> WaitCursor(True)
> mstrSigData = ""
>
> For mintSigCounter = 0 To mintSigMoves - 1
> mstrSigData = mstrSigData + _
> PadHex(maintSigArrayX(mintSigCounter)) + _
> PadHex(maintSigArrayY(mintSigCounter))
> Next mintSigCounter
>
> Call WaitCursor(False)
>
> StoreSigData = mstrSigData + " (" + CStr(mintSigMoves * 4) + ")"
>
>End Function

PadHex must be a function defined in some module in the application, so it's visible in the forms. Try to search (may be using Find button for text in the file), so you will find a definition of this function. I don't think, this is a VB command.

You do have a source code, right?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform