Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Webbrowser Problem in VB.NET 2K5

Status
Not open for further replies.

ty1122

Programmer
Jan 20, 2005
16
US
I am trying to load a java applet using webbrowser.documenttext="<html><body><applet ....blah....></applet></body></html>" but it won't load. It just gives me a white screen and dies.
When i am using the same html code inside a html file, i can run the applet locally.
I can run other applets inside <iframe src> links fine but not with my own <applet></applet> tag.
Please let me know if i am missing something.

Thanks for your help,

Tai
 
I think taht when you use documenttext you don't need the tags html and/or body. Try by just putting in the applet tags.

Christiaan Baes
Belgium

"My new site" - Me
 
it is still the same with applet tags.
btw i have other webbrowsers working with html tags...the only difference is that they dont have <applet>.

Tai
 
Very weird. could it be that the applet tag has spaces in it or some other weird characters.



Christiaan Baes
Belgium

"My new site" - Me
 
here is the code, i am sure it runs in an html file:

<html>
<body bgcolor='#000000' leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 scroll='no'>
<applet codebase=' code='mapview.class' archive='mapview-514beb37.jar' width='635' height='503'><param name='cabbase' value='mapview-98435962.cab' mayscript></applet>
</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top