Click here to Skip to main content
15,892,537 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: listbox inconsistency Pin
Tim Kredlo6-Dec-09 10:52
Tim Kredlo6-Dec-09 10:52 
QuestionReplace function in vb6 with MS Access using adodb.recordset Pin
Tufail Ahmad4-Dec-09 18:16
Tufail Ahmad4-Dec-09 18:16 
AnswerRe: Replace function in vb6 with MS Access using adodb.recordset Pin
Luc Pattyn5-Dec-09 2:46
sitebuilderLuc Pattyn5-Dec-09 2:46 
QuestionShould I have to explicity create a dataset even it is already defined in design time? Pin
JUNEYT4-Dec-09 11:43
JUNEYT4-Dec-09 11:43 
AnswerRe: Should I have to explicity create a dataset even it is already defined in design time? Pin
T21024-Dec-09 12:46
T21024-Dec-09 12:46 
QuestionCustom Events Pin
#realJSOP4-Dec-09 0:29
mve#realJSOP4-Dec-09 0:29 
AnswerRe: Custom Events Pin
Geoff Williams4-Dec-09 1:23
Geoff Williams4-Dec-09 1:23 
AnswerRe: Custom Events Pin
Dave Kreskowiak4-Dec-09 3:40
mveDave Kreskowiak4-Dec-09 3:40 
WithEvents only applies to class or module level declarations. All it is is syntactic sugar for allowing you to use the Handles clause on procedures and have the events wired up for you.

For locally declared instances that exposes events, you just need to wire up the event handlers yourself (and tear them down later) with AddHandler/RemoveHandler.


John Simmons / outlaw programmer wrote:
(In C#, this isn't an issue.)


'cause in C#, you're just wiring everything up yourself anyway. It's really no different in VB.NET.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




QuestionCheck file infection by CRC32 Pin
Gagan.203-Dec-09 23:04
Gagan.203-Dec-09 23:04 
AnswerRe: Check file infection by CRC32 Pin
David Skelly3-Dec-09 23:19
David Skelly3-Dec-09 23:19 
GeneralRe: Check file infection by CRC32 Pin
Gagan.204-Dec-09 5:05
Gagan.204-Dec-09 5:05 
GeneralRe: Check file infection by CRC32 Pin
Dave Kreskowiak4-Dec-09 5:34
mveDave Kreskowiak4-Dec-09 5:34 
GeneralRe: Check file infection by CRC32 Pin
David Skelly4-Dec-09 6:14
David Skelly4-Dec-09 6:14 
AnswerRe: Check file infection by CRC32 Pin
Gagan.204-Dec-09 14:56
Gagan.204-Dec-09 14:56 
QuestionPivotTable Strategery Pin
Bomb_shell3-Dec-09 11:31
Bomb_shell3-Dec-09 11:31 
AnswerRe: PivotTable Strategery Pin
freakyit4-Dec-09 4:06
freakyit4-Dec-09 4:06 
GeneralRe: PivotTable Strategery Pin
Bomb_shell10-Dec-09 5:20
Bomb_shell10-Dec-09 5:20 
QuestionVB.Net MTAThread attribute (.Net 3.5) Pin
#realJSOP3-Dec-09 5:21
mve#realJSOP3-Dec-09 5:21 
AnswerRe: VB.Net MTAThread attribute (.Net 3.5) Pin
Duncan Edwards Jones3-Dec-09 5:42
professionalDuncan Edwards Jones3-Dec-09 5:42 
AnswerRe: VB.Net MTAThread attribute (.Net 3.5) Pin
Rama Krishna Vavilala3-Dec-09 5:48
Rama Krishna Vavilala3-Dec-09 5:48 
QuestionUsing Combobox as DataGridViewColumn Pin
EvanSaunders3-Dec-09 2:37
EvanSaunders3-Dec-09 2:37 
Questionhow can I built Hyperterminal functionality in vb.net Pin
Amanjot2-Dec-09 13:38
Amanjot2-Dec-09 13:38 
AnswerRe: how can I built Hyperterminal functionality in vb.net Pin
Dave Kreskowiak4-Dec-09 6:57
mveDave Kreskowiak4-Dec-09 6:57 
QuestionBouncing Ball Pin
rbjanaki2-Dec-09 12:57
rbjanaki2-Dec-09 12:57 
AnswerRe: Bouncing Ball Pin
Luc Pattyn2-Dec-09 13:13
sitebuilderLuc Pattyn2-Dec-09 13: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.