在Windows 7 OS的vb.net中未运行msflexgrid.ocx [英] doesn't run msflexgrid.ocx in vb.net on windows 7 OS

查看:193
本文介绍了在Windows 7 OS的vb.net中未运行msflexgrid.ocx的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



现在,我已经在Windows XP OS的vb.net 2008中开发了Windows应用程序.

它参与了ms flexgrid的使用,一次显示在多个记录中,并且我在Windows XP系统中部署了安装文件.

我在Windows 7系统(客户端计算机)中安装了安装程序.但是它可以在Windows XP系统(32位)系统中成功运行.

我已经注册了要在客户端计算机上安装的msflexgrid ocx文件.


如何解决这个问题,请给个主意...

尽管发生了错误,即

您的应用程序中发生了未处理的异常.如果单击继续,应用程序将忽略此错误并尝试继续.如果您单击退出.该应用程序将立即关闭.

未注册的类(来自hresult 0x80040154(regdb_E_Classnotreg)的异常)


如何解决问题...

解决方案

在VB.NET中使用flexgrid是一种疯狂的行为.内置网格类不执行的操作是什么?为什么要使用它?

b.c组件是32位,而OS是64位,可能会出现问题.将应用程序构建为32位,因此它可以使用32位组件.我仍然认为使用这样过时的组件是错误的想法.


hi

now i have developed a windows application in vb.net 2008 on windows XP OS.

it has involved in ms flexgrid using shown in multiple records at a time and i deployed setup file in windows XP system.

i installed the setup in windows 7 system(Client Machine). But it ran successfully in windows XP system(32 bit) system.

i have registered the msflexgrid ocx file to be installed in client machine.


how to solve this problem kindly give the idea...

Although, it has occured error, that is,

Unhandled exception has occurred in your application. if you click continue, the application will ignore this error and attempt to continue. if you click Quit. the application will close immediately.

class not registered (exception from hresult 0x80040154(regdb_E_Classnotreg) )


how to solve the problem...

解决方案

Using the flexgrid in VB.NET, is an act of insanity. What does it do that the built in grid classes do not do ? Why are you using it ?

You may have a problem b.c the component is 32 bit and the OS is 64 bit. Build the app as 32 bit, so it can use a 32 bit component. I still think using such an outdated component is a mistake tho.


这篇关于在Windows 7 OS的vb.net中未运行msflexgrid.ocx的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆