Advertisement

09.24.2005 at 05:11AM PDT, ID: 21572719
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0

Writting HTML in VB and exporting it to a html file

Asked by vk7ybe in VB Controls

Tags: , ,

Ok guys i am still new at VB, but what i am trying to do it write some html code in my form to be exported to a html file, there will be area of this html code that will be change depending on the input to my app (This i already know how to do) but i am having some many problmes when i am trying to write code to export the html that i have, this is the file i am trying to deal with as you can see i am trying to use print to write the file but i keep on getting "Compile error, extended expression" I hope someone can help me out here

Private Sub webupdate_Click()
Open "c:\pool_availability.html" For Output As #2
'To Print Preview
Print #2, " <!DOCTYPE HTML PUBLIC "-  "/" /W3C/ /DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">""
<html><!-- InstanceBegin template="/Templates/HealthgloMain.dwt" codeOutsideHTMLIsLocked="false" -->

<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Healthglo - Burnie </title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<!-- InstanceEndEditable -->
<link href="/StyleSheets/topBar.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/background.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/navBar.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/main.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/bottomBar.css" rel="stylesheet" type="text/css">

<link href="/StyleSheets/leftBar.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/level0.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/level1.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/level2.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/main.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/main data detail.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/main data table.css" rel="stylesheet" type="text/css">

<link href="/StyleSheets/rightBar.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/rightBar data detail.css" rel="stylesheet" type="text/css">
<link href="/StyleSheets/TopBar header.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="NavBar/includes/browser.js">

/***********************************************
* Jim's DHTML Menu v5.7- © Jim Salyer (jsalyer@REMOVETHISmchsi.com)
* Visit Dynamic Drive: http://www.dynamicdrive.com for script and instructions
* This notice must stay intact for use
***********************************************/

</script>
<script type="text/javascript" src="NavBar/config.js"></script>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body onload="init()"
 style="MARGIN: 0px" vLink="#0000ff" bgcolor="#21037b"
marginheight="0" marginwidth="0">

<div id="topBar">
<img src="images/HGlogo.gif">
<div id="rightside">
            <h1>OPEN 7 DAYS </h1>
           
    <dd>Monday-Thursday 6:00am - 9:00pm</dd>
           
    <dd>Friday 6:00am - 8:00pm</dd>
    <dd>Saturday 8:00am - 6:00pm</dd>
           
    <dd>Sunday 9:00am - 5:00pm</dd>
           
    <dd>Public Holidays 8:00am - 8:00pm</dd>
  </div>
          </div>
       
       

<div id="NavBar">

</div>
<div id="main"> </div>

<!-- InstanceBeginEditable name="MainData" -->
<table width="95%" border="0" align="center" cellpadding="1" cellspacing="1">
  <tr>
    <td colspan="6"><div align="center">
        <p><font color="#FFFFFF" size="6" face="Times New Roman, Times, serif">The
          Pool is unavailable for use during the following times;</font></p>
        <p><font color="#FFFFFF" size="6" face="Times New Roman, Times, serif">Period
          of 22th August to 4th September</font></p>
      </div></td>
  </tr>
  <tr>
    <td width="7%" bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">MON</font></strong></div></td>
    <td width="2%" bgcolor="#00FFFF"><div align="center"><em>22</em></div></td>
    <td width="17%" bgcolor="#00FFFF"><div align="center">11:00am - 12:00pm</div></td>
    <td width="17%" bgcolor="#00FFFF"><div align="center">4:00pm - 5:00pm</div></td>
    <td width="26%" bgcolor="#00FFFF"><div align="center">7:00pm - 8:00pm</div></td>
    <td width="31%" bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">TUES</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>23</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">6:30pm - 7:30pm</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">WED</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>24</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">10:00am - 12:00pm</div></td>
    <td bgcolor="#00FFFF"><div align="center">4:00PM - 8:30pm</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">THURS</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>25</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">6:30pm - 9:00pm</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">FRI</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>26</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">10:30am - 11:30am</div></td>
    <td bgcolor="#00FFFF"><div align="center">4:00pm - 6:30pm</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">SAT</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>27</em></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">SUN</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>28</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">10:30am - 11:30am</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">MON</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>29</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">11:00am - 12:00pm</div></td>
    <td bgcolor="#00FFFF"><div align="center">7:00pm - 8:00pm</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">TUES</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>30</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">6:30pm - 7:30pm</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">WED</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>31</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">10:00am - 12:00pm</div></td>
    <td bgcolor="#00FFFF"><div align="center">7:00pm - 8:00pm</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">THURS</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>01</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">6:30pm - 9:00pm</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">FRI</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>02</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">5:00pm - 6:30pm</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">SAT</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>03</em></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF"><div align="center"><strong><font color="#000000">SUN</font></strong></div></td>
    <td bgcolor="#00FFFF"><div align="center"><em>04</em></div></td>
    <td bgcolor="#00FFFF"><div align="center">10:30am - 11:30am</div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
    <td bgcolor="#00FFFF"><div align="center"></div></td>
  </tr>
</table>
<!-- InstanceEndEditable -->
<div id="bottombar">
  <div align="center"> <font size="-2" face="Arial, Helvetica, sans-serif"><strong>
    </strong> </font>
    <div align="center"> <font size="-2" face="Arial, Helvetica, sans-serif"><strong>
      <script language="JavaScript" src="/JavaScript/lastupdate.js">
<!--

// last update set for each page-->
</script>
      <script language="JavaScript">
<!--

    today=new Date();
    y0=today.getFullYear();

  // end hiding --->
</script>
      Copyright © 1999-
      <SCRIPT LANGUAGE="JavaScript">
  <!--- Hide from old browsers
    document.write(y0);
  // end hiding --->
</SCRIPT>
      <a>Healthglo Burnie</a> </strong> </font> </div>
  </div>
</div>

<!-- InstanceBeginEditable name="Extr Data" --> <!-- InstanceEndEditable -->
</body>

<!-- InstanceEnd --></html>Close #2
Display.Show
End SubStart Free Trial
[+][-]09.24.2005 at 05:34AM PDT, ID: 14950604

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.24.2005 at 06:05PM PDT, ID: 14952494

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.24.2005 at 08:03PM PDT, ID: 14952742

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: VB Controls
Tags: html, public, td
Sign Up Now!
Solution Provided By: Computron
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09.27.2005 at 03:54AM PDT, ID: 14965448

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]01.16.2006 at 02:24PM PST, ID: 15715029

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01.20.2006 at 06:44AM PST, ID: 15749195

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32