471,594 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,594 software developers and data experts.

Creating ActiveX controls to be used by VB 6.0 programs

Hello!

Is it possible to use Visual Studio 2005 or, secondarily, Visual Studio .NET
2003 to create ActiveX controls which may be consumed by VB 6.0 programs,
i.e. dealt with on forms in the usual way?

If yes, may you provide a hint/link for getting started?
Best regards,

Henrik Dahl
Jan 19 '07 #1
4 2349
Hi Kenrik,

According to following KB, VB6 is not a supported ActiveX Control container
that could host .NET controls:

#ActiveX control containers that support .NET controls
http://support.microsoft.com/kb/311334
With the exception of Microsoft Internet Explorer, .NET controls are not
supported in applications designed to host ActiveX controls.
Using Windows Forms controls in any ActiveX control container was supported
in beta versions of the .NET framework. Unfortunately, there is so much
difference in the implementation of the varous ActiveX control containers
that we eventually decided that it would be impossible to guarantee that
Windows Forms control would work in all ActiveX control containers.
Therefore, we decided that:

Microsoft .NET 1.0 Windows Forms controls are supported in Windows Forms
and Internet Explorer 5.01 and later versions. .NET 1.1 Windows Forms
controls are supported in Windows Forms, Microsoft Foundation Classes (MFC)
7.x, and Internet Explorer 5.01 and later versions. Other applications and
development tools that are capable of hosting ActiveX controls, including
the ActiveX Test Containers from versions of Visual Studio that are earlier
than Visual Studio .NET 2003, are not supported hosts for .NET Windows
Forms controls.
Hope this helps.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 22 '07 #2
Hi Kenrik,

Have you seen my last reply? Would you post a reply here to let me know the
status of this post? Thank!

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 26 '07 #3
Hello Walter,

Yes, and I've also received your e-mail. Thank you very much. It's probably
fair to say that it does not sound particularly promissing. To me it's
rather odd that VB 6.0 is not supported as a container, particularly as
Microsoft in several places writes that it recognizes the significant
investments done in VB 6.0 code.
Best regards,

Henrik Dahl

"Walter Wang [MSFT]" <wa****@online.microsoft.comskrev i en meddelelse
news:dF**************@TK2MSFTNGHUB02.phx.gbl...
Hi Kenrik,

Have you seen my last reply? Would you post a reply here to let me know
the
status of this post? Thank!

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.

Jan 28 '07 #4
Hi Henrik,

As a VB programmer before, I fully understand your concern. Since VB6 will
no longer have new service packs, it's a hard dicision that we have to
officially drop support for it as a ActiveX container of .NET components;
otherwise, there will be many compatibility issues rising. I hope you could
understand product team's dicision.

At last, thank you for your reply and letting us know your opinion.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 29 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by Steve | last post: by
12 posts views Thread by A.M. | last post: by
5 posts views Thread by jen_designs | last post: by
6 posts views Thread by smeagol | last post: by
15 posts views Thread by Carlos Lozano | last post: by
4 posts views Thread by Wilfried Mestdagh | last post: by
6 posts views Thread by hufaunder | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.