VB ActiveX到VC 2005 [英] VB ActiveX to VC 2005

查看:70
本文介绍了VB ActiveX到VC 2005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Visual Basic 6.0 ActiveX控件。


似乎VS 2005没有办法为

容器创建类似的控件ActiverX控件,这是正确的吗?


我想在VS 2005中将VB 6项目转换为VC。


这似乎
哪里是一个好的开始?

'form''用于保存构成主ActiveX的各种

控件?


谢谢

I have a Visual Basic 6.0 ActiveX Control.

It seems there is no way with VS 2005 to create a similar control for
containers that host ActiverX controls, is this correct ?

I''m thinking of converting the VB 6 project to VC in VS 2005.

This seems to be a very different process.

Where is a good place to start?

How do I go about the basic for creating the ''form'' to hold the various
controls that will form the main ActiveX?

Thanks

推荐答案

Michael,


最有可能在这里,

http://groups.google.com/group/micro...rch+this+group

Cor


Michael Tissington < mt ********* @ newsgroup.nospamschreef in bericht

news:%2 **************** @ TK2MSFTNGP04.phx .gbl ...
Michael,

Most probably here,

http://groups.google.com/group/micro...rch+this+group

Cor

"Michael Tissington" <mt*********@newsgroup.nospamschreef in bericht
news:%2****************@TK2MSFTNGP04.phx.gbl...

>我有一个Visual Basic 6.0 ActiveX控件。


似乎没办法使用VS 2005为承载ActiverX控件的

容器创建类似的控件,这是正确的吗?


我正在考虑转换VB 6项目在VS 2005中的VC.


这似乎是一个非常不同的过程。


哪里是一个好的起点?


如何创建表单基本来保存构成主ActiveX的各种

控件?


谢谢
>I have a Visual Basic 6.0 ActiveX Control.

It seems there is no way with VS 2005 to create a similar control for
containers that host ActiverX controls, is this correct ?

I''m thinking of converting the VB 6 project to VC in VS 2005.

This seems to be a very different process.

Where is a good place to start?

How do I go about the basic for creating the ''form'' to hold the various
controls that will form the main ActiveX?

Thanks





" Michael Tissington" < mt ********* @ newsgroup.nospamwrote in message

news:%2 **************** @ TK2MSFTNGP04.phx .gbl ...

"Michael Tissington" <mt*********@newsgroup.nospamwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...

>我有一个Visual Basic 6.0 ActiveX控件。


似乎没办法使用VS 2005为承载ActiverX控件的

容器创建类似的控件,这是正确的吗?
>I have a Visual Basic 6.0 ActiveX Control.

It seems there is no way with VS 2005 to create a similar control for
containers that host ActiverX controls, is this correct ?



绝对不真实。任何可以在VB6中完成的事情都可以在

VC8
实现

Absolutely untrue. Anything that can be done in VB6 can be implemented in
VC8


>

我是想在VS 2005中将VB 6项目转换为VC。


这似乎是一个非常不同的过程。


哪里好开始的地方?
>
I''m thinking of converting the VB 6 project to VC in VS 2005.

This seems to be a very different process.

Where is a good place to start?



嗯,我会说,回答问题为什么?。如果它没有被破坏....为什么

浪费能量?


如果你认真对待前进,你可能想考虑使用ATL

作为完成此任务的框架。你面前的主要障碍是学习曲线,这并非无足轻重。投资书籍如

" ATL Internals"可能是最好的行动方案。

Well, I would say, answer the question "why?". If it isn''t broken.... why
waste the energy?

If you are serious about plunging ahead, you may want to consider using ATL
as the framework for accomplishing this. The main obstacle ahead of you is
the learning curve, which is not insignificant. Investment in a book such as
"ATL Internals" is probably the best course of action.


>

如何创建表格的基本内容保持构成主ActiveX的各种

控件?
>
How do I go about the basic for creating the ''form'' to hold the various
controls that will form the main ActiveX?



在ATL世界中,你将构建一个ATL复合控件。

HTH


Brian

In the ATL world, you would be building on an ATL Composite Control.
HTH

Brian


绝对不真实。任何可以在VB6中完成的事情都可以在
中实现
Absolutely untrue. Anything that can be done in VB6 can be implemented in

VC8
VC8

>>
>>



:-)


那么TS刚刚发现你错了因为没有真正的Activex

等价于.Net

例如VS 6有ActiveX可执行文件,其中实例可以服务

manny clients同时仍然提供1 Gui给所有这些客户,Rick

Strahl([MVP])写了一篇关于此的好文章他只能得到

它与manny黑客和瑕疵一起工作虽然VB6在稳定的mather中提供了这个
的盒子


并且相信我,因为我是一个有很多pre .Net经验的程序员。

还有一些赶上来做,在Dev环境一样好之前和/或
稳定在VS 6之后(VS .Net 2003稳定但错过了很多功能

,VS.net 2005有很多功能,有些是从VS 6重新引入的,但是

作为开发环境非常不稳定)。


我是.Net的忠实粉丝但是我们还必须注意它有一些不同的b
aproaches和Activex没有真正的替代品因为不同的策略

这种技术的MS(已过时)


只是我的意见


michel


" Brian Muth" < bm *** @ mvps.orgschreef in bericht

news:************** @ TK2MSFTNGP03.phx.gbl ...


:-)

Well then the TS just found you are wrong cause there is no true Activex
equivalant in .Net

for instance VS 6 has the ActiveX executable where on instance can serve
manny clients while still providing 1 Gui to all of these clients, Rick
Strahl ( [MVP] ) wrote once a nice article regarding this he could only get
it to work with manny hacks and flaws while VB6 provides this out of the
box in a stable mather

And believe me as i am a progger who has lots of pre .Net experience MS has
still some catching up to do , before the Dev environment is as good and
stable as VS 6 was ( VS .Net 2003 was stable but missed a lot of features
, VS.net 2005 has a lot of features some were reintroduced from VS 6 but is
as a dev environment pretty unstable ) .

I am a Big fan of .Net but we must also note that it has some different
aproaches and Activex has no true substitute because of a different strategy
of MS for this technology ( obsolete )

just my opinion

michel

"Brian Muth" <bm***@mvps.orgschreef in bericht
news:Of**************@TK2MSFTNGP03.phx.gbl...


>

" Michael Tissington" < mt ********* @ newsgroup.nospamwrote in message

news:%2 **************** @ TK2MSFTNGP04.phx .gbl ...
>
"Michael Tissington" <mt*********@newsgroup.nospamwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...

>>我有一个Visual Basic 6.0 ActiveX控件。

看来VS没办法了2005年为主持ActiverX控件的
容器创建了类似的控件,这是正确的吗?
>>I have a Visual Basic 6.0 ActiveX Control.

It seems there is no way with VS 2005 to create a similar control for
containers that host ActiverX controls, is this correct ?



绝对不真实。任何可以在VB6中完成的事情都可以在

VC8
实现


Absolutely untrue. Anything that can be done in VB6 can be implemented in
VC8


>>
我在考虑在VS 2005中将VB 6项目转换为VC。

这似乎是一个非常不同的过程。

哪里是一个好的起点?
>>
I''m thinking of converting the VB 6 project to VC in VS 2005.

This seems to be a very different process.

Where is a good place to start?



嗯,我会说,回答问题为什么?。如果它没有被破坏....为什么

浪费能量?


如果你认真对待前进,你可能想考虑使用

ATL作为完成此任务的框架。

之前的主要障碍是学习曲线,这并非无足轻重。投资一本

的书,如ATL Internals等。可能是最好的行动方案。


Well, I would say, answer the question "why?". If it isn''t broken.... why
waste the energy?

If you are serious about plunging ahead, you may want to consider using
ATL as the framework for accomplishing this. The main obstacle ahead of
you is the learning curve, which is not insignificant. Investment in a
book such as "ATL Internals" is probably the best course of action.


>>
如何创建'表单''以保持各种
控件将形成主要的ActiveX?
>>
How do I go about the basic for creating the ''form'' to hold the various
controls that will form the main ActiveX?



在ATL世界中,你将构建一个ATL复合控件。


HTH


Brian


In the ATL world, you would be building on an ATL Composite Control.
HTH

Brian



这篇关于VB ActiveX到VC 2005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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