Solved

Help in building an OCX for a web site

Posted on 2002-03-19
12
161 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Suggested Courses
Course of the Month4 days, 13 hours left to enroll

636 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