psteja2000
Programmer
I am not a vb programmar, but am given the below task.
Given a .ocx control which when added to a form (form has connect,disconnect,start,pause,resume,stop buttons), does the job of connecting,disconnecting,starting,pausing,stopping a wav file. The actual auido file is in proprietary format on another server. The provided ocx connects,converts and then plays/stops etc etc.
Now, using this ocx for testing purposes on a vb form with above mentioned buttons to trigger events on ocx is easy and already accomplished.
Now, I want to replicate this via the web. When user cilcks on the audio link(file name), a window of sorts should open and utilize the ocx to connect,retrieve,convert,play etc.. the audio file from the audio server.
I know since the ocx returns many events (like when it connects it fires an event which has to be handled and then we move on to play etcetc..), I need a container to place this control,wherein events can be handled. In the standalone application, it is the form which acts as the container.
My basic question is, can I somehow create a activeX control which has the above ocx as a component, and use this activeX control to display the same gui the above form is providing, and achieve the required functionality (on the web)? Is this possible? Something like, once I write the control,assuming it will be registered on the client machines, on the audio page, we do somethng like
<object cls-id=blahblah...>
By doing so the control that I wrote should be able to display and behave basically the same way as the vb form is currently doing..
I started reading on how to create a activeX control etc, but wasn't sure if I can use a ocx in another activeX control. Any help of any sorts, any suggestions for further reading are greatly appreciated.
regards,
Teja
Given a .ocx control which when added to a form (form has connect,disconnect,start,pause,resume,stop buttons), does the job of connecting,disconnecting,starting,pausing,stopping a wav file. The actual auido file is in proprietary format on another server. The provided ocx connects,converts and then plays/stops etc etc.
Now, using this ocx for testing purposes on a vb form with above mentioned buttons to trigger events on ocx is easy and already accomplished.
Now, I want to replicate this via the web. When user cilcks on the audio link(file name), a window of sorts should open and utilize the ocx to connect,retrieve,convert,play etc.. the audio file from the audio server.
I know since the ocx returns many events (like when it connects it fires an event which has to be handled and then we move on to play etcetc..), I need a container to place this control,wherein events can be handled. In the standalone application, it is the form which acts as the container.
My basic question is, can I somehow create a activeX control which has the above ocx as a component, and use this activeX control to display the same gui the above form is providing, and achieve the required functionality (on the web)? Is this possible? Something like, once I write the control,assuming it will be registered on the client machines, on the audio page, we do somethng like
<object cls-id=blahblah...>
By doing so the control that I wrote should be able to display and behave basically the same way as the vb form is currently doing..
I started reading on how to create a activeX control etc, but wasn't sure if I can use a ocx in another activeX control. Any help of any sorts, any suggestions for further reading are greatly appreciated.
regards,
Teja