Click here to Skip to main content
15,905,028 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralVB.net & outlook Pin
Nick Seng17-Dec-02 21:06
Nick Seng17-Dec-02 21:06 
GeneralRe: VB.net & outlook Pin
Sean Cull1-Jan-03 17:46
Sean Cull1-Jan-03 17:46 
GeneralRe: VB.net & outlook Pin
Nick Seng1-Jan-03 19:43
Nick Seng1-Jan-03 19:43 
GeneralStrange COM error Pin
ProffK17-Dec-02 20:52
ProffK17-Dec-02 20:52 
Generalbyref t ype mismatch Pin
ns17-Dec-02 9:09
ns17-Dec-02 9:09 
GeneralRe: byref t ype mismatch Pin
Nick Seng17-Dec-02 17:08
Nick Seng17-Dec-02 17:08 
GeneralRegular Expressions Pin
mikasa17-Dec-02 6:34
mikasa17-Dec-02 6:34 
GeneralEvent Handling in VB.Net WebForms Pin
rohancragg17-Dec-02 4:08
rohancragg17-Dec-02 4:08 
I got the following code (C#) from a VSj article and dont know how I would translate it to VB.Net, can anyone help?

What we are doing is adding a series of LinkButtons to a table on the page, assigning the CommandName and Text programmatically:

---

System.WebControls.LinkButton btn = new LinkButton();
// assign various properties of the button...
btn.Click += new new System.EventHandler(btnClick);

---

the above code presumably assigns the event to a single event handler that will then be used to work out which button fired the event and act according to the CommandName

But I dont know how to do similar in VB.Net.

Thanks for any help...

Rohan.WTF | :WTF:
GeneralRe: Event Handling in VB.Net WebForms Pin
Nick Seng17-Dec-02 16:58
Nick Seng17-Dec-02 16:58 
GeneralRe: Event Handling in VB.Net WebForms Pin
rohancragg17-Dec-02 22:46
rohancragg17-Dec-02 22:46 
GeneralRe: Event Handling in VB.Net WebForms Pin
Nick Seng17-Dec-02 23:24
Nick Seng17-Dec-02 23:24 
GeneralWant to do this in VB - involves C pointers... Pin
ns17-Dec-02 1:49
ns17-Dec-02 1:49 
GeneralRe: Want to do this in VB - involves C pointers... Pin
CT CHANG19-Dec-02 16:33
CT CHANG19-Dec-02 16:33 
GeneralVB DLL for C App Pin
NoizeGod16-Dec-02 16:36
NoizeGod16-Dec-02 16:36 
GeneralRe: VB DLL for C App Pin
CT CHANG19-Dec-02 16:29
CT CHANG19-Dec-02 16:29 
GeneralRe: VB DLL for C App Pin
NoizeGod19-Dec-02 17:20
NoizeGod19-Dec-02 17:20 
GeneralRe: VB DLL for C App Pin
CT CHANG19-Dec-02 17:32
CT CHANG19-Dec-02 17:32 
GeneralDo I Need To Close SQL Connection Pin
yccheok15-Dec-02 19:33
yccheok15-Dec-02 19:33 
GeneralRe: Do I Need To Close SQL Connection Pin
Nick Seng17-Dec-02 16:51
Nick Seng17-Dec-02 16:51 
GeneralApplication Path Pin
SuperGeek15-Dec-02 15:21
SuperGeek15-Dec-02 15:21 
GeneralRe: Application Path Pin
Wayne Phipps15-Dec-02 18:48
Wayne Phipps15-Dec-02 18:48 
GeneralRe: Application Path Pin
Nick Seng17-Dec-02 16:11
Nick Seng17-Dec-02 16:11 
GeneralRe: Application Path Pin
Wayne Phipps17-Dec-02 21:55
Wayne Phipps17-Dec-02 21:55 
GeneralRe: Application Path Pin
Wayne Phipps17-Dec-02 22:35
Wayne Phipps17-Dec-02 22:35 
GeneralRe: Application Path Pin
Nick Seng17-Dec-02 23:13
Nick Seng17-Dec-02 23: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.