PowerTCP Web Enterprise for ActiveX
from $499.00Available Platforms
Powerful HTTP ActiveX Controls
Control the web with PowerTCP Web Enterprise for ActiveX. Perfect for automated web searches that require complex HTML parsing and secure file transfers. Web Enterprise includes the most sophisticated HTTP/S COM controls available, backed by the best technical support in the industry.
Perform HTTP/S Requests Including GET, POST, HEAD and more
- Get web pages, traverse sites and download files to disk or memory
- Upload files and automate form submissions
- Blocking and non-blocking (asynchronous) operation
- Progress event reports data transfer rate and statistics
- Send any command to the server, including custom commands
- Optimized for use in server-side ASP pages
Feature-Rich ActiveX Controls
- Flexible cookie handling
- Resume interrupted downloads
- Add custom headers to any request
- International character support
- Log event for session logging and debugging
- URL cracking parses addresses into parts
Security and Proxy Support
- SSL2, SSL3, PCT, TLS support for stream-level security
- Client-side and server-side authentication options
- Real-time certificate acceptance or rejection
- Basic HTTP Authentication
- Firewall and proxy support, including SOCKS and HTTP CONNECT
- Selective Proxy bypass support
Samples and Documentation
- Stand-alone and online documentation
- Many sample projects, including VB6 and VC++
- VC++ Wrapper classes included for easy integration
- COM+
- Royalty-free license
Included With Web Enterprise for ActiveX
Component | Description |
---|---|
WebAsp Control | Wininet-independent server-safe HTTP/HTTPS control. |
Http Control | WinInet-dependent HTTP/HTTPS control. |
WebPage Object | A powerful HTML parser, searcher, and resource collector. |
- Web and Http drag and drop controls deliver HTTP/S transport functionality to your application
- WebPage object provides sophisticated web page parsing, including page resources and tables
- Many additional objects for handling SSL certificates, cookies, posted variables and more
- DartStream object for streaming data to and from a file
- Convenient DartStrings collection for working with string lists
- Sample projects for VB6, VC++, C# and more
- Debug Server application for debugging and protocol testing
- Comprehensive stand-alone MS Help and online documentation
- Free email support during subscription period
Supported Environments
Operating Systems: XP, Windows Server 2003, Vista, 2008, Windows 7
Requires Internet Explorer 4.0+.
PowerTCP Web Enterprise for ActiveX can be used in the following development environments:
- Visual Basic
- Visual C++
- FoxPro
- ASP
- VBScript (wscript, cscript, etc)
- MS Office VBA
Visual Basic
Looking to integrate HTTP into Visual Basic? PowerTCP Web Enterprise for ActiveX contains 8 full sample projects for Visual Basic.
Visual C++
PowerTCP Web Enterprise for ActiveX includes C++ wrapper classes to make HTTP integration into C++ even easier. In addition, 5 full sample projects are included.
Code Examples
These PowerTCP Web Enterprise for ActiveX code snippets can be copied and pasted into your project.
Code Snippet | Description |
---|---|
Get Page or File | Demonstrates how to get a web page or download a file. |
Post Data | Demonstrates how to submit data to a web page. |
Upload a File | Demonstrates how to upload a file to a web page. |
Get Page Images | Demonstrates how to download all images in a web page. |
Sample Projects Included
The samples are fully working applications and include complete source code.
Sample Name | Sample Description | Environments |
---|---|---|
Http PageFetch | Demonstrates how to Get a web page. | VB 6, VC++ 6 |
Http Post Demo | Demonstrates how to Post information to a website. | VB 6 |
Http Multipart Post Demo | Demonstrates how to Post files and variables to a website. | VB 6 |
LinkSpider | Demonstrates how to build a spider to search for information on the Web. | VB 6 |
WebAlive | Compares the download performance of any two web pages. Useful for comparing the relative performance of mirrored webservers. | VB 6 |
WebAsp PageFetch | Demonstrates how to Get a web page using the WebAsp control. | VB6 |
WebAsp Post Demo | Demonstrates how to Post information to a website using the WebASP control. | VB6, VC6 |
WebAsp Multipart Post Demo | Demonstrates how to post files and variables to a web site using the WebAsp Control. | VB 6 |
Web Enterprise for ActiveX includes the following application:
Application | Description |
---|---|
Debug Server | This server application is based on one of Dart's own internal testing tools and is designed to help developers debug their client-side applications. Permits the tester to respond to the client application with a customized response message. |
ASP (Online) Samples
Samples written in VBScript for traditional ASP pages.
Sample Name | Sample Description | Environments |
---|---|---|
Web Scraper | ASP application that accesses any web page and displays the text in an edit box. | COM, .NET |
HTML Mail on the Web | The Web Control gets a page (including all images) and sends it to the specified email address. | COM |
The following is a list of public releases for all components shipped with PowerTCP Web Enterprise for ActiveX (Latest Release 2018-07-11)
dartwebasp.dll dartcertificate.dll dartsecure2.dll
dartsock.dll dartweb.dll dartwebutil.dll
dartwebasp.dll
Current Version: 1.9.2.6
1.9.2.6 Released: 2018-07-11
- Revised ProtocolConstants enumeration to provide explicit support for TLS 1.1 and TLS 1.2.
Product fixes in this release:
- An issue where websites retrieved using chunking may not be reassembled correctly has been resolved. (5774)
- Url casing will now be preserved. (5775)
1.9.1.1 Released: 2013-06-17
Product fixes in this release:
- Resolved a Com registration error.
1.9.0.1 Released: 2012-07-10
- There are now separate "Trial" and "Licensed" versions of the dll. Trial dlls are not for deployment and will only function on machines on which a trial version of the product has been installed.
dartcertificate.dll
Current Version: 2.11.1.0
2.11.1.0 Released: 2017-10-26
- Version change.
2.11.0.0 Released: 2015-11-13
- Version change.
2.10.5.0 Released: 2013-05-24
Product fixes in this release:
- Programmatically setting the SelectedIndex of the CertificateList control will now correctly highlight the selected certificate. (5492)
- The CertificateList control now only allows one selection at a time. (5493)
2.10.4.0 Released: 2013-05-10
Product fixes in this release:
- Resolved a com registration error.
2.10.2.0 Released: 2012-07-10
- There are now separate "Trial" and "Licensed" versions of the dll. Trial dlls are not for deployment and will only function on machines on which a trial version of the product has been installed.
2.10.1.1 Released: 2012-02-09
Product fixes in this release:
- Fixed CertificateList filter so that all certificates matching the criteria appear. (5495)
2.10.0.1 Released: 2010-03-26
- Now functions on all Data Execution Protection (DEP) enabled systems.
- No longer vulnerable to attacks outlined in Microsoft Security Bulletin MS09-035 (http://www.microsoft.com/technet/security/bulletin/MS09-035.mspx).
dartsecure2.dll
Current Version: 2.2.3.0
2.2.3.0 Released: 2017-12-07
- Updated RemotePort and LocalPort properties to return the correct values when using IPv6.
2.2.2.0 Released: 2017-11-09
Product fixes in this release:
- Corrected an incompatability in SecureServer.Listen
2.2.1.1 Released: 2017-10-26
- Now includes 64-bit dlls.
- Support for IPv6 has been added.
- Explicit TLS 1.1 and TLS 1.2 support has been added.
2.2.0.0 Released: 2015-11-12
- The ProtocolConstants enumeration has been restructured to behave as a flag enumeration in order to better support specifying specific versions of secure protocols.
- Support for TLS 1.1 and TLS 1.2 added on supported operating systems.
2.1.5.0 Released: 2013-05-24
- FTP over SSL and POP over SSL functionality are now provided by our PowerTCP FTP for ActiveX and PowerTCP Mail for ActiveX controls. As such, references to the Secure Pop and Secure Ftp dlls should be replaced by references to DartFtp.dll and DartMail.dll respectively.
Product fixes in this release:
- Segmented SSL negotiation packets will no longer cause a timeout to occur. (4586)
2.1.4.0 Released: 2013-05-10
Product fixes in this release:
- SSL2 negotiation and SSL negotiation on Windows 8 now work as expected. (5683, 5691)
2.1.2.0 Released: 2012-07-10
- There are now separate "Trial" and "Licensed" versions of the dll. Trial dlls are not for deployment and will only function on machines on which a trial version of the product has been installed.
2.1.1.0 Released: 2012-02-09
Product fixes in this release:
- Fixed condition under which the ValidSignature argument in the Certificate event would incorrectly be true.
2.1.0.1 Released: 2010-03-26
- Now functions on all Data Execution Protection (DEP) enabled systems.
- No longer vulnerable to attacks outlined in Microsoft Security Bulletin MS09-035 (http://www.microsoft.com/technet/security/bulletin/MS09-035.mspx).
dartsock.dll
Current Version: 2.12.0.0
2.12.0.0 Released: 2017-12-07
- Version change.
2.11.1.0 Released: 2017-10-26
- Now includes 64-bit dlls.
- Support for IPv6 has been added.
2.11.0.0 Released: 2015-11-13
- Version change.
2.10.2.1 Released: 2013-05-08
Product fixes in this release:
- Resolved a com registration error.
- Resolved an issue where DartStrings would be empty when reading and splitting a large file with delimiters. (5117)
- Resolved a memory leak when calling the Udp.Receive(DartStream) overload. (5536)
2.10.0.1 Released: 2012-07-10
- There are now separate "Trial" and "Licensed" versions of the dll. Trial dlls are not for deployment and will only function on machines on which a trial version of the product has been installed.
2.9.1.0 Released: 2012-02-09
- No changes from 2.9.0.3.
2.9.0.3 Released: 2010-10-26
- CertificateList and CertificateStore are now licensed controls in PowerTCP Mail for ActiveX.
2.9.0.2 Released: 2010-07-26
Product fixes in this release:
- Fixed problem getting DartStrings.All when the collection is empty.
2.9.0.1 Released: 2010-04-28
- Now functions on all Data Execution Protection (DEP) enabled systems.
- No longer vulnerable to attacks outlined in Microsoft Security Bulletin MS09-035 (http://www.microsoft.com/technet/security/bulletin/MS09-035.mspx).
2.9.0.0 Released: 2010-02-11
Product fixes in this release:
- The StartAfter parameter of DartStrings.Find can now be greater than 65535. (4707)
- Ras Phonebook entries can now have names with multibyte characters. (4875)
2.8.5.0 Released: 2008-03-19
Product fixes in this release:
- It is now possible to edit and add to Ras PhoneBooks on Vista machines. (4225)
- Two running instances of the same application using the Ping control are now completely independent. (4583)
2.8.3.27 Released: 2008-02-04
Product fixes in this release:
- DartStrings.Remove now works with a string parameter. (4262)
- NoDelay and KeepAlive properties can now be set to false on Vista machines. (4351)
- DartStrings.Add now works when adding strings to the end of the collection by specifying an index parameter. (4632)
dartweb.dll
Current Version: 1.9.2.1
1.9.2.1 Released: 2013-05-24
Product fixes in this release:
- Resolved a com registration error.
1.9.1.0 Released: 2012-07-10
- There are now separate "Trial" and "Licensed" versions of the dll. Trial dlls are not for deployment and will only function on machines on which a trial version of the product has been installed.
1.9.0.0 Released: 2011-01-13
- No longer vulnerable to attacks outlined in Microsoft Security Bulletin MS09-035 (http://www.microsoft.com/technet/security/bulletin/MS09-035.mspx)
- Now functions on all Data Execution Protection (DEP) enabled systems.
dartwebutil.dll
Current Version: 1.9.3.0
1.9.3.0 Released: 2013-06-14
Product fixes in this release:
- Resolved a Com registration error.
1.9.2.0 Released: 2012-07-10
- There are now separate "Trial" and "Licensed" versions of the dll. Trial dlls are not for deployment and will only function on machines on which a trial version of the product has been installed.
1.9.1.0 Released: 2012-02-09
- No changes from 1.9.0.0.
1.9.0.0 Released: 2011-07-29
- No longer vulnerable to attacks outlined in Microsoft Security Bulletin MS09-035 (http://www.microsoft.com/technet/security/bulletin/MS09-035.mspx).
- Now functions on all Data Execution Protection (DEP) enabled systems.
WebASP ActiveX Control (HTTP and HTTPS)
Use the WebASP control to communicate with Web Servers using HTTP and HTTPS. The WebASP control differs from the PowerTCP Http control in the following ways:
- It is WinInet independent, making this control suitable for high-performance web server applications
- It uses an intuitive WebMessage object to represent HTTP Requests and Responses
- It integrates with the WebPage object, providing powerful HTML parsing and resource collecting
Features include:
- Easily Get a complete web page with one method call
- Post files to the server using the PostedFile property
- Use the WebPage object to gather HTML resources and to parse HTML
- Cookie object makes it easy to create and send cookies within your code
- Secure (HTTPS) connections fully supported
- Customize certificate handling
- Client authentication fully supported
Development Environments
- Visual Basic (VB)
- Visual C++ (VC++)
- Delphi
- ASP
- MS Office
- Visual Studio .NET (COM Interop)
- more
Code Example
How easy is the WebASP control to use? Check out the following VB example below, which gets an HTML file and saves it to disk.
'Reset the Request Message
WebASP1.Request.Content = ""
'Get a file
WebASP1.Request.Url = "www.test.com/testweb.html"
WebASP1.Get
'Check the result
If WebASP1.Response .Status = 200 Then
'Good response from server
'Save it to a file
WebASP1.Response.Body.Filename = "C:\temp\TestWeb.txt"
End If
Http ActiveX Control (HTTP and HTTPS)
The Http control is used to communicate (send GET and POST requests) with HTTP and HTTPS servers. Features include:
- Full support for Secure connections
- Easily Get a complete web page with one method call
- Simulate form posts
- Send cookies or custom headers
- Post data and files
Development Environments
- Visual Basic (VB)
- Visual C++ (VC++)
- Delphi
- ASP
- MS Office
- Visual Studio .NET (COM Interop)
Code Example
How easy is the Web Control to use? Check out the following VB example, which gets an HTML file and displays its contents.
Dim Orderform As String
Http1.Timeout = 20000 'Give it 20 seconds to complete
Http1.Url = "http://www.dart.com/" 'Specify the URL to GET
Http1.Get Orderform 'Send a GET request, Orderform will be filled with data
Text1.Text = Orderform 'The HTML code for the web site appears in the text box
WebPage Object
The WebPage object is used to represent an HTML page for parsing and resource collecting. Features include:
- Full integration with the WebASP control - get a page and parse it
- Get all images, links, meta-content, or other HTML resource on a page
- Parse locally saved HTML documents
- Powerful HTML table parsing (such as grabbing the value of a cell)
- Find content between two tokens
Development Environment
The WebPage object can be used in many development environments including:
- Visual Basic (VB)
- Visual C++ (VC++)
- Delphi
- ASP
- MS Office
- Visual Studio .NET (COM interop)
Code Example
How easy is the WebPage object to use? Check out the following VB example below, which demonstrates getting and saving all images on a web page.
'WebPage object to use for parsing
Dim WebPage1 As New WebPage
Dim blnResult As Boolean
'Set Request url
WebASP1.Request.Url = "www.dart.com"
'Get the page
WebASP1.Get
'Set webpage source to html source from Response
WebPage1.Source = WebASP1.Response.Body.ReadString
'Iterate through WebResources, be sure to set WebPage.UrlHost first
WebPage1.UrlHost = WebASP1.Request.Url
For i = 1 To WebPage1.Resources.Count
If WebPage1.Resources.Item(i).UrlType = resImg Then
'This WebResource is an image, so write to file
blnResult = WebPage1.Resources(i).Get("C:\temp\img", True, 30000)
If blnResult = True Then
List1.AddItem WebPage1.Resources(i).UrlName & " is saved"
End If
End If
Next
Get a Page or File Code Example
The following example demonstrates a Get using the Web control. The page or file is saved to disk once it is retrieved. Progress is displayed in a log.
Private Sub buttonGet_Click()
GetPage("www.dart.com/myImage.jpg", App.Path & "\myImage.jpg")
End Sub
Private Sub GetPage(ByVal url As String, ByVal filename As String)
'Reset the Request Message.
Web1.Request.Content = ""
'Get the page or file.
Web1.Request.url = url
Web1.Get
'Save the file to disk.
Web1.response.Body.filename = filename
End Sub
Private Sub Web1_Progress(ByVal Method As DartWebASPCtl.WebMethodConstants, _
ByVal Status As DartWebASPCtl.WebStatusConstants, ByVal Count As Long, _
ByVal Size As Long)
'Show progress during the Get.
If Method = webGet And Status = webReceiving Then
textLog.Text = textLog.Text + CStr(Count) + " of " + CStr(Size)
textLog.Text = textLog.Text + + " bytes transferred." + vbCrLf
End If
End Sub
Post Data Code Example
The following example demonstrates a data Post using the Web control. The function creates a data string from the parameters passed in and submits it to the specified URL.
Private Function PostData(ByVal url As String, ByVal name As String, _
ByVal company As String, ByVal quantity As Integer)
'Set URL of the page to post to.
Web1.Request.url = url
'Add data variables to the Request.
Web1.Request.Variables("name") = name
Web1.Request.Variables("company") = company
Web1.Request.Variables("quantity") = CStr(quantity)
'Submit the data.
Web1.Post
'Return response.
Dim response As String
response = GetVersion(Web1.response.version) + " "
response = response + CStr(Web1.response.Status)
response = response + " " + Web1.response.StatusText + vbCrLf
response = response + Web1.response.Header.All + vbCrLf
response = response + Web1.response.Body.ReadString
PostData = response
End Function
Private Function GetVersion(ByVal version As WebVersionConstants)
GetVersion = ""
If version = webHTTP10 Then GetVersion = "HTTP/1.0"
If version = webHTTP11 Then GetVersion = "HTTP/1.1"
End Function
Upload a File Code Example
The following example demonstrates a file upload using the Web control. Uploading files requires a multipart MIME message, which are created automatically by the Web control. Contrast this with the PowerTCP Http control, which requires the developer to create the MIME message manually.
Private Function PostFile(ByVal url As String, ByVal filename As String)
'Open file to read and post.
Dim file As New DartStream
file.FileMode = createExisting
file.filename = filename
file.Ref = "file1"
file.Position = 0
'Add file to files to post collection.
Dim files As New DartStreams
files.Add file
Web1.Request.FilesToPost = files
'Send Post and get server response.
Web1.Request.url = url
Web1.Post
'Return response.
Dim response As String
response = GetVersion(Web1.response.version) + " "
response = response + CStr(Web1.response.Status)
response = response + " " + Web1.response.StatusText + vbCrLf
response = response + Web1.response.Header.All + vbCrLf
response = response + Web1.response.Body.ReadString
PostData = response
End Function
Private Function GetVersion(ByVal version As WebVersionConstants)
GetVersion = ""
If version = webHTTP10 Then GetVersion = "HTTP/1.0"
If version = webHTTP11 Then GetVersion = "HTTP/1.1"
End Function
Get Page Images Code Example
The following example demonstrates using the WebPage object to retrieve all images on a web page.
Private Sub Command4_Click()
GetImages "www.dart.com/default.aspx"
End Sub
Private Sub GetImages(ByVal url As String)
'Get the page.
Web1.Request.url = url
Web1.Get
'Set the web page source.
Dim WebPage1 As New WebPage
WebPage1.Source = Web1.response.Body.ReadString
'Get and list images.
Dim result As Boolean
WebPage1.UrlHost = Web1.Request.url
For i = 1 To WebPage1.Resources.Count
If WebPage1.Resources.Item(i).UrlType = resImg Then
result = WebPage1.Resources(i).Get(App.Path + "\images", True, 10000)
If result = True Then
listImages.AddItem WebPage1.Resources(i).UrlName
End If
End If
Next
End Sub
Purchase Options
Customize your product and support options match your needs. Discounts are applied when products are purchased in multiples or within available product suites.
Have any questions about purchasing? See our Sales FAQ