Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: dartweb.dll with posting from asp questions
accu

From: Norcross, GA USA
Posts: 6
Member Since: 10/04/02
posted April 22, 2003 5:10 PM

I have been using the web tool successfully from vb and now am trying it from an asp page. I'm using IIS on a 2000 server. Whenever I do the following:
Set Http1 = Server.CreateObject("Dart.Http.1")
my page just kind of hangs. I have installed and registered the dll on the server and I can't find any errors on the server. Also if I try to do anything with the dll on the server (like delete it) it tells me it is in use. I don't see it in the processes or applications. How do I gain access to it.

Thanks,
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 23, 2003 4:08 PM

Hi,
The code below worked for me.
If you are using the updated dlls, make sure you have a license or trial license on the machine hosting the script.
Also, please note that the control uses wininet, which Microsoft recommends against using in ASP. You may want to consider our WebAsp control, which is part of the Web Enterprise Tool.
-ken

<%
Dim http
set http = Server.CreateObject("Dart.Http.1")
dim content
content= ""
http.Url = "http://www.dart.com"
http.Get content
Response.Write content
%>
accu

From: Norcross, GA USA
Posts: 6
Member Since: 10/04/02
posted April 23, 2003 4:26 PM

That code didn't work for me either. It shows it is doing something but nothing ever comes up. I will try the webasp but how do I get the dartweb.dll off the server. whenever I try to delete it it says that it is in use, but I don't see it in processes.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 23, 2003 4:34 PM


You have to restart IIS by doing the following:

Start -> Run -> iisreset.exe

Then delete it before anyone else loads the page.
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX