Last post Jun 22, 2011 09:09 AM by Zhongqing Tang - MSFT
Jun 17, 2011 01:31 PM|skifreak|LINK
I have a 3rd party .ocx file I am trying to use in VS 2010. I have run regsvr32 on it as well. It has a grid like control I need to use so I really need to get this control working in VS 2010. What are the procedures in getting this in the tool box? I
have tried adding the COM object (grild like control) to the toolbox but it never showed up. I have never worked with .ocx files.
Any help is greatly appreciated!
Jun 17, 2011 01:51 PM|manishgvsharma2000|LINK
Refer below link
On Customized tool , here you can browse the thirrd party ocx file and you can use in VS 2010
Jun 17, 2011 01:54 PM|skifreak|LINK
That URL refers to Winforms (this is the ASP.Net site) so I need it to work on a standard web page. I am hoping it can.
Jun 17, 2011 02:04 PM|manishgvsharma2000|LINK
if Active X control is applicable for ASPX pages then you can add in the same way.
Jun 17, 2011 02:05 PM|skifreak|LINK
How do I know that. I have never worked with .ocx files.
Jun 17, 2011 02:08 PM|manishgvsharma2000|LINK
Open VS 2010 -->Open ToolBox-->Right click on tool bar(at the bottom)-->Choose Items..-->Select COM Components-->Select your OCX
Hope this help
Jun 17, 2011 02:12 PM|skifreak|LINK
Per my first post, I tried that. It doesn't show up.
Jun 17, 2011 02:14 PM|manishgvsharma2000|LINK
Can you give me your Active X control web site name so I can try on my machine?
Jun 17, 2011 02:17 PM|skifreak|LINK
I think you will have purchase it but it's on the Sterling Commerce site (ConnectDirect is what I am trying to use) - CDStats.ocx
Jun 17, 2011 02:33 PM|manishgvsharma2000|LINK
if this is the licensed one then you need to check with the third party manual for use.But the way I mentioned you early is for using thrd party ocx.
Jun 17, 2011 02:38 PM|skifreak|LINK
1 - the manual is no help
2 - the web site is no help, posted on their forum and no activity and can't call unless I have a production problem.
Jun 22, 2011 09:09 AM|Zhongqing Tang - MSFT|LINK
You'd need to embed it in an <OBJECT> tag. Please check out this thread