Click here to Skip to main content
15,900,724 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMovie clip in a form? Pin
ddaves16-May-06 8:07
ddaves16-May-06 8:07 
AnswerRe: Movie clip in a form? Pin
sachinmali16-May-06 22:48
sachinmali16-May-06 22:48 
Questionhow to send mail in vb.net Pin
dhaval_ce200616-May-06 8:06
dhaval_ce200616-May-06 8:06 
AnswerRe: how to send mail in vb.net Pin
VenkatFor.NET16-May-06 8:47
VenkatFor.NET16-May-06 8:47 
QuestionStreams in CLS SQL Functions - 2005 Pin
VenkatFor.NET16-May-06 8:00
VenkatFor.NET16-May-06 8:00 
AnswerRe: Streams in CLS SQL Functions - 2005 Pin
Guffa16-May-06 12:21
Guffa16-May-06 12:21 
Questionmicrosoft word with Vb.net Pin
kids1716-May-06 7:02
kids1716-May-06 7:02 
QuestionHow to replace VBcontrolExtender functioality in VB.NET Pin
PatMcHargue16-May-06 6:54
PatMcHargue16-May-06 6:54 
Folks;

I have looked at the article By David Broooks, "Dynamically adding ActiveX controls in managed code", but I am still uncertain about how I can replace the VB6 'VBcontrolExtender' functional under VB.NET in order to add OCXes to my application at run time.

I have a few years of code in the OCXes that I am trying to host this way. Each OCX represents an interface to data aqcquisition hardware, and in my current VB6 application, is dynamicallty loaded depending on which piece of hardware the user wishes to connect to.

Without going into too much detail, compiling the application with all of the OCXes in it would force me to distribute an awful lot of code - which is why I was using the VBcontrolExtender under VB6 in the first place.

Following the code example by David Broooks, I can add an OCX to a form at run time, but I do not know how to get 'ObjectEvent' messages from the OCX's that I have added to the form.


I have looked high & low for a solution to this, but I am not yet expert enough in VB.NET to figure this out.

Confused | :confused:


A friend of Liberty is a friend of mine!

www.lp.org

QuestionFading User Control Pin
bytecarp16-May-06 6:53
bytecarp16-May-06 6:53 
QuestionPrinting Text Pin
jaded_angel16-May-06 5:49
jaded_angel16-May-06 5:49 
AnswerRe: Printing Text Pin
Chatura Dilan16-May-06 15:55
Chatura Dilan16-May-06 15:55 
AnswerRe: Printing Text Pin
nobel@tele.gl16-May-06 20:56
nobel@tele.gl16-May-06 20:56 
QuestionProblem in getting the reference Pin
narayanagvs16-May-06 5:29
narayanagvs16-May-06 5:29 
AnswerRe: Problem in getting the reference Pin
Guffa16-May-06 5:58
Guffa16-May-06 5:58 
QuestionXSLT Transformation Pin
ramyaviji16-May-06 4:54
ramyaviji16-May-06 4:54 
QuestionTableAdapter.Update not working - .net 2.0 Pin
dptalt16-May-06 3:23
dptalt16-May-06 3:23 
AnswerRe: TableAdapter.Update not working - .net 2.0 Pin
Chatura Dilan16-May-06 16:03
Chatura Dilan16-May-06 16:03 
GeneralRe: TableAdapter.Update not working - .net 2.0 Pin
dptalt17-May-06 2:51
dptalt17-May-06 2:51 
Question[2005] XML - Nullable type - omit null element? Pin
Duncan Edwards Jones16-May-06 1:23
professionalDuncan Edwards Jones16-May-06 1:23 
QuestionRead a folder contains rpt files Pin
giotis8216-May-06 1:01
giotis8216-May-06 1:01 
QuestionHow to remove excel .exe from memory Pin
himuskanhere15-May-06 23:57
himuskanhere15-May-06 23:57 
AnswerRe: How to remove excel .exe from memory Pin
_mubashir16-May-06 1:53
_mubashir16-May-06 1:53 
AnswerRe: How to remove excel .exe from memory Pin
VenkatFor.NET16-May-06 8:52
VenkatFor.NET16-May-06 8:52 
GeneralRe: How to remove excel .exe from memory Pin
himuskanhere16-May-06 18:17
himuskanhere16-May-06 18:17 
QuestionAccessing XML via code in Crystal Report Pin
Krishnaraj Barvathaya B15-May-06 23:25
Krishnaraj Barvathaya B15-May-06 23:25 

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.