Simply C# To VB.net Part 2....

  • Thread starter Thread starter Smoke
  • Start date Start date
S

Smoke

(Sorry, i repost here coz i got no answer)

This seems to be pretty good, but i may look really stup**d asking this...
I did replaced all 0x0* for &H* but what does i do with those for example?

UnknownCode = 0x0;
Copyright = 0x8298;
ExifVersion = 0x9000;
Flash = 0x9209;
CFAPattern = 0xa302;
InteroperabilityIndex = 0x01;
InteroperabilityVersion = 0x02;

Those lost my idea of just replace 0x0, or i should replace 0x for &H only and 0x0201 is equal to &H0201 ?

Thanks....
 
Smoke said:
(Sorry, i repost here coz i got no answer)

This seems to be pretty good, but i may look really stup**d asking
this...
I did replaced all 0x0* for &H* but what does i do with those for
example?

UnknownCode = 0x0;
Copyright = 0x8298;
ExifVersion = 0x9000;
Flash = 0x9209;
CFAPattern = 0xa302;
InteroperabilityIndex = 0x01;
InteroperabilityVersion = 0x02;

Those lost my idea of just replace 0x0, or i should replace 0x for
&H only and 0x0201 is equal to &H0201 ?

Thanks....


Replace 0x by &H


Armin
 
Smoke said:
This seems to be pretty good, but i may look really stup**d asking this...
I did replaced all 0x0* for &H* but what does i do with those for example?

UnknownCode = 0x0;
Copyright = 0x8298;
ExifVersion = 0x9000;
Flash = 0x9209;
CFAPattern = 0xa302;
InteroperabilityIndex = 0x01;
InteroperabilityVersion = 0x02;

Those lost my idea of just replace 0x0, or i should replace 0x for &H only
and 0x0201 is equal to &H0201 ?

'&H0201' = '&H201'. You can skip the preceeding zeros.
 
Hi,
for automatic translation I'm using Instant VB
(the trial can be used with limitations),
other tools are Reflector and SharpDevelop.
There might be other good tools I don't know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Simply C# To VB.net? 4

Back
Top