Solved

Export Vb.Net TextBox as a User Control

Posted on 2003-12-02
5
460 Views
Last Modified: 2012-06-27
How can I export Vb.Net TextBox as a User Control that can be then used in a Vb6 environment? Finally what are the dependencies required?
0
Comment
Question by:danaseaman
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:NaliniP
ID: 9856872
I think you can't be able to use the .NET component in vb6. As you are exporting a component from higher version to a lower version. It won't support..

Nalini
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 250 total points
ID: 9858249
You can create a .NET assembly that has the user control and then use it in VB6.

Calling .NET From COM
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=113
0
 
LVL 22

Author Comment

by:danaseaman
ID: 9864440
TheLearnedOne:

I'll see if I can get it to work. If it does then we can use the .NET Unicode aware controls in Vb6. I'm assuming that it would require the target audience to have .NET Framework installed.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 9866244
Yes, they will need the .NET framework, which provides the code for the base user control.
0
 
LVL 22

Author Comment

by:danaseaman
ID: 9887121
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question