PC Review


Reply
Thread Tools Rate Thread

Creating ActiveX controls to be used by VB 6.0 programs

 
 
Henrik Dahl
Guest
Posts: n/a
 
      19th Jan 2007
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


 
Reply With Quote
 
 
 
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      22nd Jan 2007
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 ((E-Mail Removed), 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.

 
Reply With Quote
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      26th Jan 2007
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 ((E-Mail Removed), 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.

 
Reply With Quote
 
Henrik Dahl
Guest
Posts: n/a
 
      28th Jan 2007
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]" <(E-Mail Removed)> skrev i en meddelelse
news:(E-Mail Removed)...
> 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 ((E-Mail Removed), 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.
>



 
Reply With Quote
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      29th Jan 2007
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 ((E-Mail Removed), 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete multiple ActiveX controls in Internet Options -> Programs listing? VanguardLH Windows XP General 3 26th Nov 2008 03:38 PM
Creating Interactive Spreadsheets with Activex Controls Lloydie Microsoft Excel Discussion 1 19th Apr 2005 07:16 PM
Excel OCX/ActiveX Visual Controls for creating a Excel Dashboard/Scorecard Belinda Microsoft Excel Discussion 1 30th Jan 2004 03:54 PM
Excel OCX/ActiveX Visual Controls for creating a Excel Dashboard/Scorecard Belinda Microsoft Excel Programming 0 30th Jan 2004 12:40 PM
Excel OCX/ActiveX Visual Controls for creating a Excel Dashboard/Scorecard Belinda Microsoft Excel Misc 0 30th Jan 2004 12:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:48 AM.