Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

ActiveX Control on a Web Page.

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  configure apache2  
Author Message
Wiley Coyote

External


Since: Feb 27, 2005
Posts: 1



(Msg. 1) Posted: Sun Feb 27, 2005 1:41 pm
Post subject: ActiveX Control on a Web Page.
Archived from groups: microsoft>public>inetserver>iis (more info?)

Good day to all.

This may not be the NG to post this, but here goes.

I've created an ActiveX control and tested extensively in VB6. All works
exactly as expected. What I want to be able to do is to use it in a web
page. However, before the control is used, I need to set a few properties
and call one method.

As soon as I make referrence to my control, the browser immediately displays
it. I need to do the above PRIOR to display.

How would I do this?

My TEST page is as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>

<BODY>
<OBJECT ID="MyTstObject1"
CLASSID="CLSID:308521FB-ABC8-4F0F-AF59-C11A3D885751"
CODEBASE="MyAXcontrol.OCX">
</OBJECT>
</BODY>

</HTML>

Thanks a bunch everyone.

Wiley Coyote

 >> Stay informed about: ActiveX Control on a Web Page. 
Back to top
Login to vote
user1580

External


Since: Apr 03, 2004
Posts: 367



(Msg. 2) Posted: Sun Feb 27, 2005 6:35 pm
Post subject: Re: ActiveX Control on a Web Page. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Wiley Coyote" <newbie.DeleteThis@mentorits.com> wrote in message
news:uGwqCzQHFHA.588@TK2MSFTNGP15.phx.gbl...
 > Good day to all.
 >
 > This may not be the NG to post this, but here goes.
 >
 > I've created an ActiveX control and tested extensively in VB6. All works
 > exactly as expected. What I want to be able to do is to use it in a web
 > page. However, before the control is used, I need to set a few properties
 > and call one method.
 >
 > As soon as I make referrence to my control, the browser immediately
 > displays it. I need to do the above PRIOR to display.
 >
 > How would I do this?

Hi,

Putting an .OCX on the webserver is not a good idea.
Run the VB 'Package and Deployment' wizard, to create a cabinet file. This
wizard, will create a .HTM sample file for you as well. It's a no brainer.
Success!



--
compatible web farm Session replacement for Asp and Asp.Net
<a style='text-decoration: underline;' href="http://www.nieropwebconsult.nl/asp_session_manager.htm" target="_blank">http://www.nieropwebconsult.nl/asp_session_manager.htm</a>


 > My TEST page is as follows:
 >
 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 > <HTML>
 > <HEAD>
 > <TITLE> New Document </TITLE>
 > <META NAME="Generator" CONTENT="EditPlus">
 > <META NAME="Author" CONTENT="">
 > <META NAME="Keywords" CONTENT="">
 > <META NAME="Description" CONTENT="">
 > </HEAD>
 >
 > <BODY>
 > <OBJECT ID="MyTstObject1"
 > CLASSID="CLSID:308521FB-ABC8-4F0F-AF59-C11A3D885751"
 > CODEBASE="MyAXcontrol.OCX">
 > </OBJECT>
 > </BODY>
 >
 > </HTML>
 >
 > Thanks a bunch everyone.
 >
 > Wiley Coyote
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ActiveX Control on a Web Page. 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 3) Posted: Mon Feb 28, 2005 8:20 am
Post subject: Re: ActiveX Control on a Web Page. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Wiley Coyote" <newbie.TakeThisOut@mentorits.com> wrote in message
news:uGwqCzQHFHA.588@TK2MSFTNGP15.phx.gbl...
 > Good day to all.
 >
 > This may not be the NG to post this, but here goes.
 >
 > I've created an ActiveX control and tested extensively in VB6. All works
 > exactly as expected. What I want to be able to do is to use it in a web
 > page. However, before the control is used, I need to set a few properties
 > and call one method.
 >
 > As soon as I make referrence to my control, the browser immediately
displays
 > it. I need to do the above PRIOR to display.
 >
 > How would I do this?

Try setting the properties in the page onload event.

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a>
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ActiveX Control on a Web Page. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]