Print Page | Close Window

Active X OCX

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=11224
Printed Date: 31 March 2026 at 1:17pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Active X OCX
Posted By: Gullanian
Subject: Active X OCX
Date Posted: 17 July 2004 at 9:31am
Can anyone help me?  I got VSSPell active X component, and it's an OCX primarially designed for Visual Basic, the creators of the OCX tell me it will work on an ASP page but do not have any examples and refuse to help, how do I run the OCX from my ASP page?  I got as far as creating the object with the <object> tag and runat=server with the class ID being ok, but how do I actually do the coding in it?



Replies:
Posted By: Mart
Date Posted: 17 July 2004 at 9:44am
You would need to refer to their documentation to get a list of methods etc.


Posted By: dpyers
Date Posted: 17 July 2004 at 12:07pm

If you have visual studion, use their object browser to check it out.

You have to register it first.

Couple of vspell info links you may/may not have

http://search.componentone.com/search.asp?mode=browse&area=%2FSpell+for+%2ENET%2FKnowledge+Base+Articles - http://search.componentone.com/search.asp?mode=browse&ar ea=%2FSpell+for+%2ENET%2FKnowledge+Base+Articles
http://search.componentone.com/search.asp?mode=browse&ar ea=%2FSpell+for+%2ENET%2FDocumentation - http://search.componentone.com/search.asp?mode=browse&ar ea=%2FSpell+for+%2ENET%2FDocumentation

And someone who had some problems with it - http://weblogs.asp.net/rmclaws/archive/2004/03/30/104134.aspx - http://weblogs.asp.net/rmclaws/archive/2004/03/30/104134.asp x



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: dpyers
Date Posted: 17 July 2004 at 7:14pm

Here's an example of embedding an activeX control - Windows media playerr

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1">
 <param name="AudioStream" value="-1">
 <param name="AutoSize" value="-1">
 <param name="AutoStart" value="-1">
 <param name="AnimationAtStart" value="-1">
 <param name="AllowScan" value="-1">
 <param name="AllowChangeDisplaySize" value="-1">
 <param name="AutoRewind" value="0">
 <param name="Balance" value="0">
 <param name="BaseURL" value>
 <param name="BufferingTime" value="5">
 <param name="CaptioningID" value>
 <param name="ClickToPlay" value="-1">
 <param name="CursorType" value="0">
 <param name="CurrentPosition" value="-1">
 <param name="CurrentMarker" value="0">
 <param name="DefaultFrame" value>
 <param name="DisplayBackColor" value="0">
 <param name="DisplayForeColor" value="16777215">
 <param name="DisplayMode" value="0">
 <param name="DisplaySize" value="0">
 <param name="Enabled" value="-1">
 <param name="EnableContextMenu" value="-1">
 <param name="EnablePositionControls" value="-1">
 <param name="EnableFullScreenControls" value="0">
 <param name="EnableTracker" value="-1">
 <param name="Filename" value="XXXXXX">
 <param name="InvokeURLs" value="-1">
 <param name="Language" value="-1">
 <param name="Mute" value="0">
 <param name="PlayCount" value="1">
 <param name="PreviewMode" value="0">
 <param name="Rate" value="1">
 <param name="SAMILang" value>
 <param name="SAMIStyle" value>
 <param name="SAMIFileName" value>
 <param name="SelectionStart" value="-1">
 <param name="SelectionEnd" value="-1">
 <param name="SendOpenStateChangeEvents" value="-1">
 <param name="SendWarningEvents" value="-1">
 <param name="SendErrorEvents" value="-1">
 <param name="SendKeyboardEvents" value="0">
 <param name="SendMouseClickEvents" value="0">
 <param name="SendMouseMoveEvents" value="0">
 <param name="SendPlayStateChangeEvents" value="-1">
 <param name="ShowCaptioning" value="0">
 <param name="ShowControls" value="-1">
 <param name="ShowAudioControls" value="-1">
 <param name="ShowDisplay" value="0">
 <param name="ShowGotoBar" value="0">
 <param name="ShowPositionControls" value="-1">
 <param name="ShowStatusBar" value="0">
 <param name="ShowTracker" value="-1">
 <param name="TransparentAtStart" value="0">
 <param name="VideoBorderWidth" value="0">
 <param name="VideoBorderColor" value="0">
 <param name="VideoBorder3D" value="0">
 <param name="Volume" value="-600">
 <param name="WindowlessVideo" value="0">
</object>

In your situation, you'd want to include the codebase attribute in the object tag which indicates the source of the ActiveX cab file.

For compatibility with older Nestscape browsers, you'd need to follow up the object tags with embed tags to define a plugin. I'd just say the page requires ActiveX and leave it at that.



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: Mart
Date Posted: 18 July 2004 at 4:25am
btw the class id is the GUID of the Active X component


Posted By: Gullanian
Date Posted: 18 July 2004 at 9:54am
The company is pretty useless, I asked if they could tell me how, or have any tutorials or send me any example files on how to run it off an ASP page, but they refused, a guaranteed sale if they would just tell me.


Posted By: dpyers
Date Posted: 18 July 2004 at 10:17am
That last link I posted seems to indicate that a lot of other people share your opinion of them. If you follow the thread there though, some people make recommendations of alternaticves.

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: Gullanian
Date Posted: 18 July 2004 at 11:48am
Unfortunatly there aren't enough good alternatives out there because it needs to have a thesaurus as well.


Posted By: Mart
Date Posted: 18 July 2004 at 12:34pm
Component One are a usually a very good company. They have some very cool .NET components and demonstrate how to use them with this source project http://c1webmarket.componentone.com/c1webmarket/ - http://c1webmarket.componentone.com/c1webmarket/ . Maybe they are just poor for ActiveX components.


Posted By: Gullanian
Date Posted: 19 July 2004 at 11:02am
Anyone know about the spell checker / thesaurus component at xde.net?  Any good?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net