Results 1 to 2 of 2

Thread: Passing variables to an activeX .OCX

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2006
    Posts
    116

    Passing variables to an activeX .OCX

    hi,

    I have made my first OCX activeX in VB which is for file upload/download. The activeX is embedded within an asp page. One of the problems i need to overcome is how to send session variables from the asp page to the OCX. For example the asp page might know the file path of a file to upload and inform the OCX, rather than have the user select their own file.

    any ideas would be much aprechiated.

    thanks.

  2. #2
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: Passing variables to an activeX .OCX

    you can create a property for that OCX file for the UploadFileName and then assigning to that property you can actually pass the value to the control
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


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