开发者

How do I install Microsoft FlexGrid Control 6.0 on a computer without VS 6.0?

My VB.NET application uses Mic开发者_开发问答rosoft Flex Grid Control 6.0. This is a legacy application which has been ported from VB6 with the Visual Studio conversion wizard. Although I can compile the assembly, I get a COMException because some class is not registered. I've found out that this class is the Microsoft Flex Grid Control 6.0.

Where can I find the control and how can I register it on machines so that the application will run?

Best Regards,

Oliver Hanappi


The "Microsoft FlexGrid Control" MSFlxGrd.ocx shipped with Visual Basic 6. It is an ActiveX control. The easiest way to get the control is to install Visual Basic 6. If you have an MSDN subscription, VB6 is available as a free download. But I am surprised you can compile your application if the control is not already installed on your development machine.

Once you have found the control, you need to register it on the machines where you need your program to run. The easiest way is just to create a deployment project. If you want to do it manually, use regsvr32 from the command line.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜