Click to See Complete Forum and Search --> : vb to web pages


fiacre
August 25th, 2001, 06:44 AM
VB code works well on my documents in word2000. If I save the .doc as a web page the code doesnt work. Is there a convertor program to get vb working on html pages or how do I get my vb programs work on my web pages?

berta
August 26th, 2001, 07:16 AM
>VB code works well on my documents in word2000.

1. have U a macro and after html trasformation macro don't work? HTML doesn't use macro... try to change your macro in VB script and include'em into script tag <SCRIPT language=vbscript></SCRIPT>

2. have U a VB program that open and works with a word document using an istance of word.application? so after HTML trasformation your document lost word format and your VB program doesn't well of course.

but is your the 1st or 2nd case? what's your specific problem... have U run time error? what kind of errors?

hi,brt

<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>

fiacre
August 26th, 2001, 09:07 AM
Thank you kindly Berta for your needed advice. Yes my problem is the first case you mentioned. No there is no runtime errors or even running on the html page after transformation from vb in word2000. I tryed putting the code of my html page between the vb script tags, but it results in a blank page. Its a simple program, did you want to see the .doc and .html of it.
Thank you gteatfully for your assistance and hope to hear from you soon
Fiacre
ps How does vb script work compared to html on a web page?

berta
August 26th, 2001, 12:04 PM
hi...
yes I can see your code.. mail me at mailto:berta@gsol.it and tommorrow I'll look your code.

vbscript in html page works like javascript, but javascript is supported by Netscape and IE... else vbscript is support only by IE

hi,brt


<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>