Visual Basic help for a Java programmer

gregulator

Senior member
Apr 23, 2000
631
4
81
Okay so here is the deal, I transferred to a new school this semester and I am taking an assembly language course for intel CPU's but we got a homework assignment where he wants us to convert hex floating point numbers (32-bit like FFA80322) and write them out as decimal numbers. Now I have only programmed in java before and have no idea about visual basic, or visual c++. That is all they have here so I was just looking for a little help. The program is easy enough to code but I don't know the specifics for these languages. Here is what I would like to do as pseudocode (java in parenthesis):

-Get an input string from a user (usually use an inputbox and store as string)
-Parse the string and convert each char in hex to a nibble (using toBinaryString or similar methods)
-End up with a 32 char. binary string(concat all the nibbles)
-Look at first bit for number sign
-Look at next 8 bits and convert to decimal(another base conversion method)
-Subtract 127 for excess 127 bias notation(duh!)
-Look at last 23 bits and add up each binamal place if set (using charAt loops)
-Multiply previous stage by the 2^exponent number(duh!)
-Output result(print statement)

So if anyone can at least give me some hints or some useful pages it would be much appreciated. I know exactly what I want to do but don't what methods are available and have yet to find a useful visual basic website. Java has a list of classes and methods on Sun's site, is there something similar for VB? It is so frustrating having to learn the jargon all over again... oh well, welcome to the world of programming right!? Thanks for any suggestions
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
The MSDN help files that come with VB were enough for me to get by on, funny how MS' dev tools have great help docs but none of their other tools do.