Activex controls and ASP

Results 1 to 2 of 2

Thread: Activex controls and ASP

  1. #1
    lepakshi Guest

    Default Activex controls and ASP

    I have an activeX control on my asp file. Can i access the properties of the activeX control in my asp code, if yes then ca you tell me how.

  2. #2
    Join Date
    Dec 1969

    Default RE: Activex controls and ASP

    Maybe this won&#039t help but...<BR><BR>Once your control is registered on the server, use "CreateObject" server method to instantiate it. Then access it like you would in a program. The following code is just an example using VBScript:<BR><BR>set objFinance = server.CreateObject("WCCFinance.PaymentTerms")<BR> objFinance.TotalPrice = Request.Form("txtTotalPrice")<BR>objFinance.Intere stRate = Request.Form("txtInterestRate")<BR>objFinance.Mont hlyPayment = Request.Form("txtMonthlyPayment")<BR>intResult = objFinance.GetNumberPayments()<BR>set objFinance = nothing<BR><BR>Hope this helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts