Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Help in building an OCX for a web site

Posted on 2002-03-19
12
Medium Priority
?
167 Views
Last Modified: 2010-05-02
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
Comment
Question by:hutchison
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 
LVL 7

Expert Comment

by:5thcav
ID: 6880790
dont you want to use an activeX or ASP
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6880946
more details...?
0
 

Author Comment

by:hutchison
ID: 6881050
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 6881144
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
 

Author Comment

by:hutchison
ID: 6881262
yes i know that. this is for a company internally and they all use IE
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6882771
isn't there a plug-in for netscape to use active x?
I did read something about it a time ago.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6882780
0
 

Author Comment

by:hutchison
ID: 6883682
thanks but i have solved it
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6883814
How?
0
 

Author Comment

by:hutchison
ID: 6884259
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
 
LVL 49

Expert Comment

by:DanRollins
ID: 7634173
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
 
LVL 1

Accepted Solution

by:
kodiakbear earned 0 total points
ID: 7666030
Moving to the paq

kb
Experts Exchange Moderator
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question