Ok s0nic, I was bored, unfortunately I dont remember enough vb to do this either, so Im doing it in java.

1.
import javax.swing.JOptionPane
public class Name
{
public static void main(String args[])
{
String name;
int count = 0;
while(!name.equals(end))
{
name = JOptionPane.showInputDialog("Please enter the name");
count++;
System.out.println(name + " " + count);
}
System.out.println("Program terminated");
}
}