Click here to Skip to main content
15,913,836 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: sleep method in .Net Pin
J. Dunlap4-Aug-03 10:32
J. Dunlap4-Aug-03 10:32 
Generalview .pdf file in VB.NET windows form Pin
akabak4-Aug-03 6:49
akabak4-Aug-03 6:49 
Generalsaveas dialog box Pin
adnanmadi2-Aug-03 0:07
adnanmadi2-Aug-03 0:07 
GeneralRe: saveas dialog box Pin
-- NA --3-Aug-03 6:18
-- NA --3-Aug-03 6:18 
GeneralUsing button and checkbox Pin
Member 5092931-Aug-03 20:09
Member 5092931-Aug-03 20:09 
GeneralForm Referencing Pin
PATdeWah1-Aug-03 16:14
PATdeWah1-Aug-03 16:14 
GeneralRe: Form Referencing Pin
RichardGrimmer18-Aug-03 4:17
RichardGrimmer18-Aug-03 4:17 
Questionbubbling events up.....is there a better approach? Pin
MartinOrtiz31-Jul-03 10:06
MartinOrtiz31-Jul-03 10:06 
A common scenario is using controls made in VC++ and incorporated and nested
into a composite control in VB...

For example

FooActiveX-->VB Composite UserControl-->WrapperVB Control--->WindowsForm

In the past, I've read the recommendation is to bubble up events received by
FooActiveX --> WindowsForm.
But have found in practice, that this can be a maintenance nightmare come true.



For example you would have to raise events up in each one in the chain...
FooActiveX--(raise event)-->VB Composite UserControl--(raise event)-->WrapperVB Control---(raise event)-->WindowsForm

and worse is the reverse, when you have to communicate back downward by
calling and bubbling method calls downward

WindowsForm---(DoFooRefresh)-->WrapperVB Control--(DoFooRefresh)-->VB Composite UserControl-- (DoFooRefresh)-->FooActiveX


Is there a sane way to have your cake and eat it too? That is, to maintain
some kind of OO paradigm by making / using nicely encapsulated composite
ActiveX controls of this nature, without this messy chain messaging going
on?
ie....BROADCAST event, where only WindowsForm....will listen in and care
about event and the reverse, BROADCAST a message/command down

so ideally we would end up with these two instead
FooActiveX--(BROADCAST event)-->WindowsForm
WindowsForm---(BROADCAST command DoFooRefresh)-->FooActiveX






GeneralWindows Form Datagrid Pin
Milancie31-Jul-03 9:58
Milancie31-Jul-03 9:58 
GeneralRe: Windows Form Datagrid Pin
Peet Schultz4-Aug-03 22:59
Peet Schultz4-Aug-03 22:59 
GeneralShowing a form inside a control Pin
THEMYTH31-Jul-03 3:31
THEMYTH31-Jul-03 3:31 
GeneralPlug-in for MS Outlook. please help Pin
Atif Bashir30-Jul-03 17:20
Atif Bashir30-Jul-03 17:20 
GeneralExecution from server Pin
JimWDurbin30-Jul-03 12:06
JimWDurbin30-Jul-03 12:06 
GeneralRe: Execution from server Pin
Wayne Phipps31-Jul-03 4:31
Wayne Phipps31-Jul-03 4:31 
QuestionHow do I save to file? Pin
MrGee30-Jul-03 4:32
MrGee30-Jul-03 4:32 
AnswerRe: How do I save to file? Pin
Martin Cross30-Jul-03 4:44
Martin Cross30-Jul-03 4:44 
GeneralRe: How do I save to file? Pin
MrGee30-Jul-03 5:54
MrGee30-Jul-03 5:54 
GeneralRe: How do I save to file? Pin
Martin Cross30-Jul-03 6:02
Martin Cross30-Jul-03 6:02 
GeneralRe: How do I save to file? Pin
phlipping31-Jul-03 23:30
phlipping31-Jul-03 23:30 
GeneralRe: How do I save to file? Pin
MrGee1-Aug-03 8:04
MrGee1-Aug-03 8:04 
QuestionImplementing Pointers in VB.NET? Pin
Martin Cross29-Jul-03 23:59
Martin Cross29-Jul-03 23:59 
AnswerRe: Implementing Pointers in VB.NET? Pin
Mike Dimmick30-Jul-03 5:13
Mike Dimmick30-Jul-03 5:13 
GeneralRe: Implementing Pointers in VB.NET? Pin
Martin Cross30-Jul-03 5:29
Martin Cross30-Jul-03 5:29 
GeneralSpeech recognition Pin
S.Seetharaman29-Jul-03 22:32
S.Seetharaman29-Jul-03 22:32 
GeneralRe: Speech recognition Pin
Anonymous30-Jul-03 12:02
Anonymous30-Jul-03 12:02 

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.