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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

search Windows Metafiles for hex string in vb6

Status
Not open for further replies.

smithles

Programmer
Jul 15, 2002
18
0
0
I want to be able to search windows metafiles for a few arbitrary hex string constants. this worked in the vb4 prog that I am upgrading to vb6. The unicode is interfering, I believe. I want to perform what was..

phdp = InStr(temp,Chr$(&H7D) & ChR$(&HCD) & Chr$(&HAE) etc)

InStrB doesnt help unless I can make field2 a single hex string without the unicode interference. In the old days COMMON or EQUIVALENCE would have the problem gone in seconds.
Thanx in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top