Is it possible to print offsets in vb?

In C++ for printing offsets is %x.

Example:
Code:
add_log("Address: %x", lpBaseAddress) // for intercepting WPM call Addresses
Possible in vb?