Solved

Help in building an OCX for a web site

Posted on 2002-03-19
12
151 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
 
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now