Results 1 to 2 of 2

Thread: passing parameters to activex

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Posts
    17

    Exclamation passing parameters to activex

    I have an activex control that I plan to use in a web page. The activex control has a text box. I want to pass parameters to this text box based on a database query from a linked page.

    Can I use the <PARAM > tag for this?

    If so how can I declare the parameter in the activex control so it will recognize it?

    Thanks a bunch
    ML

  2. #2
    New Member
    Join Date
    Jul 2001
    Posts
    1
    you need to create a property inside the activex control e.g


    Public Property Get texboxvalue() As String
    texboxvalue = Text1.Text
    End Property

    Public Property Let texboxvalue(ByVal New_texboxvalue As String)
    Text1.Text() = New_texboxvalue
    PropertyChanged "texboxvalue"
    End Property

Posting Permissions

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



Click Here to Expand Forum to Full Width