开发者

VB6 app: rich textbox control

I have taken responsibility of a VB6 app.

I installed the VB6 IDE on one of my older machines. When I compile the app and copy the .exe to client machines, the Rich Textbox control breaks the app and causes a run-time error.

How important is it what machine you compile an app on? Is it possible that the app is expecting a control with a different ID and therefore there is a run开发者_开发百科-time error?


You need to deploy the Rich Textbox control richtx32.ocx to the client machines. These tables show it is not part of Windows, you need to deploy it yourself.

  • You might want to create an install for your program.
  • You could look into using a manifest so that you can just copy your program and its dependencies (like richtx32.ocx).
  • You could just manually copy the OCX file and use regsvr32 to register the OCX. This will quickly become unmanageable if you have more dependencies or many machines to deploy onto.
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜