CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: vb to web pages

  1. #1
    Join Date
    Aug 2001
    Location
    Northern Ireland
    Posts
    2

    vb to web pages

    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?



  2. #2

    Re: vb to web pages

    >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/im...ertaplanet.gif'>
    </center>

  3. #3
    Join Date
    Aug 2001
    Location
    Northern Ireland
    Posts
    2

    Re: vb to web pages

    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?


  4. #4

    Re: vb to web pages

    hi...
    yes I can see your code.. mail me at mailto:[email protected] 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/im...ertaplanet.gif'>
    </center>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured