Click here to Skip to main content
16,008,010 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: what is the Factory Pattern in .net ? Pin
Deepa Parikh7-Nov-06 2:52
Deepa Parikh7-Nov-06 2:52 
AnswerRe: what is the Factory rule in .net ? Pin
Kevin McFarlane27-Oct-06 3:56
Kevin McFarlane27-Oct-06 3:56 
QuestionVC++.net & VB.Net Compatibility Pin
ksandy4526-Oct-06 2:20
ksandy4526-Oct-06 2:20 
AnswerRe: VC++.net & VB.Net Compatibility Pin
Kevin McFarlane26-Oct-06 5:09
Kevin McFarlane26-Oct-06 5:09 
GeneralRe: VC++.net & VB.Net Compatibility Pin
ksandy4526-Oct-06 19:44
ksandy4526-Oct-06 19:44 
GeneralRe: VC++.net & VB.Net Compatibility [modified] Pin
AIMrus26-Oct-06 21:10
AIMrus26-Oct-06 21:10 
GeneralRe: VC++.net & VB.Net Compatibility Pin
ksandy4527-Oct-06 18:56
ksandy4527-Oct-06 18:56 
GeneralSolution Pin
AIMrus27-Oct-06 20:55
AIMrus27-Oct-06 20:55 
Step by step:

In VC++:
1. File > New Project > VC++ > CLR > Class Library
2. Right Click on the project > Add > Class
Select Windows Form
3. Close Solution

In VB:
1. File > New Project > VB > Windows > Windows Application
2. Switch the Form IsMdiContainer property to true
3. Add a MenuStrip to the Form
4. Insert 2 menuitem:
-New VC++ Form
-Window
5. Select the MenuStrip
Set the MdiWindowListItem to WindowToolStripMenuItem
6. In the Solution Explorer right click on the project and Add Referece
Go to the Browse tab and find the VC++ dll
7. In 'New VC++ Form' menuitem click event:
Dim CppForm As Object
CppForm = New VCpp_Form.Form1
CppForm.MdiParent = Me
CppForm.Show()

Other notes:
-It works vice versa. (VB -> VC++)
-It is also possible to port the .NET window to other Dev. Environment,
but if you leave the .NET Framework it is more complicated than the specific example.
Such as I embedded the VC++ Form to the C++ Builder 6, but I'm absolutely sure it works with MFC, VB 6, etc.
QuestionSecurity Setting on web.config Pin
BLOEDHOND25-Oct-06 22:59
BLOEDHOND25-Oct-06 22:59 
Questionprogamatically call WindowActivate event Pin
K edar V25-Oct-06 21:58
K edar V25-Oct-06 21:58 
Question.NET Form >> C++ Builder MDI Child Pin
AIMrus25-Oct-06 21:45
AIMrus25-Oct-06 21:45 
AnswerRe: .NET Form >> C++ Builder MDI Child Pin
AIMrus26-Oct-06 5:46
AIMrus26-Oct-06 5:46 
QuestionDoubt? Pin
srilu nagalla25-Oct-06 20:08
srilu nagalla25-Oct-06 20:08 
AnswerRe: Doubt? Pin
PavanPareta25-Oct-06 20:47
PavanPareta25-Oct-06 20:47 
GeneralRe: Doubt? Pin
srilu nagalla25-Oct-06 20:51
srilu nagalla25-Oct-06 20:51 
GeneralRe: Doubt? Pin
ednrgc27-Oct-06 7:21
ednrgc27-Oct-06 7:21 
Questionneed a today plug-in sample in vb.net cf Pin
spunky1a25-Oct-06 8:21
spunky1a25-Oct-06 8:21 
QuestionHow to debug when I'm developing an outlook add-in using COM? [modified] Pin
OctopusThu25-Oct-06 6:41
OctopusThu25-Oct-06 6:41 
Questionwhich dll should i import/reference?? Pin
K edar V25-Oct-06 3:12
K edar V25-Oct-06 3:12 
QuestionParameters Pin
Tauseef A24-Oct-06 10:37
Tauseef A24-Oct-06 10:37 
AnswerRe: Parameters Pin
sujithkumarsl25-Oct-06 6:25
sujithkumarsl25-Oct-06 6:25 
QuestionHow to change Profile provider at runtime Pin
lyhn24-Oct-06 0:47
lyhn24-Oct-06 0:47 
AnswerRe: How to change Profile provider at runtime Pin
lyhn24-Oct-06 0:55
lyhn24-Oct-06 0:55 
Questionupgrade Pin
Ballita23-Oct-06 20:57
Ballita23-Oct-06 20:57 
AnswerRe: upgrade Pin
Dan Neely24-Oct-06 2:13
Dan Neely24-Oct-06 2:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.