by Naveen Dhotre (1 Submission)
Category: OLE/COM/DCOM/Active-X
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 13th March 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
For ActiveX Control developers - Use ASP to get Online information for your ActiveX control - For eg. Order Status
API Declarations
'***** Place a label named : lblStatus
'***** This label should display either Approved or Rejected !!!
lblStatus.Caption = inet1.openURL "http://YourSite.com/ASPDirectory/CheckStatus.asp?OrderNo=" & txtOrderNo.Text
'Code for ASP Page
<% Language=VBScript %>
<%
** Establish connection with the database
** Query the database
If MyDatabase.StatusField = "A" then
Response.Write "Accepted"
Else
Response.Write "Rejected"
End if
%>
'**** That's it.... happy coding !!!!
No comments have been posted about For ActiveX Control developers - Use ASP to get Online information for your ActiveX control - For e. Why not be the first to post a comment about For ActiveX Control developers - Use ASP to get Online information for your ActiveX control - For e.