• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

Help in building an OCX for a web site

I am trying to build a simple ocx in vb to be used in my web site. All it has to do is accept one parameter and display it like a heading. I think i coded the ocx to work alright but cant get it to work in asp. Any suggestions to something different i have to do in the ocx code?
0
hutchison
Asked:
hutchison
1 Solution
 
5thcavCommented:
dont you want to use an activeX or ASP
0
 
Richie_SimonettiIT OperationsCommented:
more details...?
0
 
hutchisonAuthor Commented:
i want to build an activex control to be used in asp. Example being something like the ones that come with interdev. I have used the wizard in vb6 to create an ocx control and when i create the ocx and dump it into the web page i get the <PARAM> tag coming up but if i set it to a value the ocx is not picking up the value.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Arthur_WoodCommented:
I trust that you are aware that adding an OCX (which IS an ActiveX control) to your web site ABSOLUTELY eliminates ANYONE who wants to use NetScape as their Browser?  NetScape and ActiveX are ABSOLUTELY imcompatable .
0
 
hutchisonAuthor Commented:
yes i know that. this is for a company internally and they all use IE
0
 
Richie_SimonettiIT OperationsCommented:
isn't there a plug-in for netscape to use active x?
I did read something about it a time ago.
0
 
Richie_SimonettiIT OperationsCommented:
0
 
hutchisonAuthor Commented:
thanks but i have solved it
0
 
Richie_SimonettiIT OperationsCommented:
How?
0
 
hutchisonAuthor Commented:
i removed the get property and only used the let property.
eg:
Private strFileName As String

Public Property Let FileName(ByVal NewFileName As String)
    strFileName = NewFileName
End Property

Public Function ShowRecord()
    text1.text = strFileName
End Function

and instead of using it as a param i am using vbscript to reference the object.

Only problem now is that it works perfectly on my machine but i cant get it to work on another machine
0
 
DanRollinsCommented:
hutchison, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Refund points and save as a 0-pt PAQ.

DanRollins -- EE database cleanup volunteer
0
 
kodiakbearCommented:
Moving to the paq

kb
Experts Exchange Moderator
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now