By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,660 Members | 1,215 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,660 IT Pros & Developers. It's quick & easy.

Creating ActiveX controls to be used by VB 6.0 programs

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.