Outputting results


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Outputting results

  1. #1
    Stephen Guest

    Outputting results


    I have been playing with Visual Basic for a while now and there is still one
    thing that I don't know how to do but want to. When I query a database or
    even just store information into memory I want to be able to ouput the results
    to a html file.

    can anybody help point me in the right direction.

    thanks

  2. #2
    mrfelis Guest

    Re: Outputting results

    Assuming you know HTML and how to get info from a Database. Here's a crude
    sample to write the file.

    Public Sub WriteHTML(sFile as String, sHTML as string)
    'Aircode
    dim i as integer
    i=freefile
    open sFile for output as #i
    Print #i,sHTML;
    Close #i
    End sub
    --
    ~~~
    !ti timda I ,KO
    ..em deppals nocaeB sivaM
    !draH
    ~~
    C'Ya,
    mrfelis@yahoo!com
    Stephen <steve@microagepei.com> wrote in message
    news:3a68ab28$1@news.devx.com...
    >
    > I have been playing with Visual Basic for a while now and there is still

    one
    > thing that I don't know how to do but want to. When I query a database or
    > even just store information into memory I want to be able to ouput the

    results
    > to a html file.
    >
    > can anybody help point me in the right direction.
    >
    > thanks




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center