NO, the sample code I gave you is in pure Java and not VB.
Visual Basic is a totally different programming language. A completely different animal.
Here is sample code on how to call a second html form from your Java applet.
You should look up these classes and methods to become familar with their features. You need to build a URL object that contains the path for your second html page. Then use the Applet showDocument() method.
import java.applet.*; // need to declare for context.
private AppletContext context; // html document for applet.
{
try // call URL for Servlet to get HTML page.
{
URL hostURL = getCodeBase(); //path to html page.
URL newURL = new URL(hostURL, "yourHTML.html"

;
// log("newURL: " + newURL);
context.showDocument(newURL);
}
catch (MalformedURLException e)
{
log(e.toString());
}
}
public log(String msg)
{
System.out.println(msg);
}
Try this and see if it works.
Brian (Sun Certified Programmer on the Java 2 Platform)