This works (it is in C# but converting to vb.Net shouldn't be a prob)
Code:
string binary = "111";
int base = 2; 
int integer = Convert.ToInt32(binary, base);