Login  
Search All Forums
Dart Home | PowerTCP WebServer for ActiveX | Custom Development Reply | PowerTCP WebServer for ActiveX Topics | Forums   
AuthorForum: PowerTCP WebServer for ActiveX
Topic: Using the DartStream
User903

Posts: 2
Member Since: 02/20/01
posted February 20, 2001 3:58 AM

Can you please show me an example of how to display 2 gif file by using DartStream object.

I've test with the code below but the image does not show out.

Public Sub DefaultPage(Response as DartWebServer.Response, Request as DartWebServer.Request)
  Dim Page as DartStream
  Page.Write "<HTML><BODY>" & vbCr
  Page.Write "<H1>This is a Test!</H1>" & vbCr
  Page.Write "<img SRC=""Images/a.gif"" border=""0""> & vbCr
  Page.Write "<img SRC=""Images/b.gif"" border=""0""> & vbCr
  Page.Write "</BODY></HTML>" & vbCr

  Response.Body=Page
  Response.Status=httpOK
  set Page=Nothing
End Sub
User903

Posts: 2
Member Since: 02/20/01
posted February 20, 2001 7:16 AM

The above problem only happened in Win98se with dsclient.exe and ie 5.0 installed (not ie 5.01) but it is running fine Windows 2000 workstation. Is win98 with ie 5.0 supported?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 20, 2001 12:30 PM


Do the files a.gif and b.gif exist in the root/Images directory? If so then they should show up.

Take a look at the WebForum sample. It has parts where it does this.

Hope this helps!

Tony Priest
Dart Tech Support

Reply | PowerTCP WebServer for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX