Wrox Programmer Forums
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 22nd, 2006, 04:10 AM
Authorized User
 
Join Date: Jan 2006
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default Writing HTML in VB

For example

    visual basic code:<tr>
            <td width="150" height="16"><b>Director</b></td>
            <td width="80%" height="16"><MOVIE_DIRECTOR></td>
          </tr>


In the line above, I get an error at width="80%" height="16" Mainly at the numbers defining width, height etc

 
Old August 22nd, 2006, 03:15 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

In what is this code contained?
And the error is, " . . . "? (The text of the error, not the number.)
I'm a little confused, as you provided HTML, not VB code, but you called it "VB code" . . . (I apologize if I'm being a little thick.)
 
Old August 23rd, 2006, 03:05 AM
Authorized User
 
Join Date: Jan 2006
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, it is HTML code. Must have gotten mixed up. You know how it is when one gets desperate!!

 
Old August 23rd, 2006, 12:04 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

. . .
And the error is, " . . . "? (The text of the error, not the number.)
. . .
 
Old August 23rd, 2006, 12:16 PM
Authorized User
 
Join Date: Jan 2006
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi BrianWren, I managed to sort out the problem. It meant adding extra "" marks. But now I Have created a HTML file inside VB and saved it as a function that can be called to display in the webbrowser. I have a ListView on my form too, this control displays ALL the movies in my DB. I want to code in such a way that, when I click/selct a movie from the ListView, the details of the selected item are displayed in the webbrowser control. How should I combine the HTML function which I called WriteHTML to display the ListView items?

 
Old September 11th, 2006, 02:01 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Is this an ASPX page or a windows application that launches a web browser?

"The one language all programmers understand is profanity."





Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing to Excel from a dataset with VB.Net ruairi VB.NET 2002/2003 Basics 5 July 27th, 2009 12:07 PM
Writing a VB/Access app for Vista as Standard User lescox Pro VB 6 2 March 9th, 2008 05:39 PM
About writing datas to DB from VB cnkumar74 Access 2 February 15th, 2007 08:41 AM
Reading and Writing data from Excel using VB? honey123 VB How-To 0 March 25th, 2006 08:48 AM
Writing on html templates using PHP anshul Pro PHP 12 January 5th, 2005 03:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.