Solved

Help in building an OCX for a web site

Posted on 2002-03-19
12
154 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
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

856 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