Click here to Skip to main content
       

Visual Basic

 
QuestionMasked Textbox PinmemberMember 962135423-Jan-13 17:50 
AnswerRe: Masked Textbox PinmvpRichard MacCutchan23-Jan-13 23:09 
QuestionVb 6.0 youtube video downloader PinmemberNassimch23-Jan-13 8:24 
AnswerRe: Vb 6.0 youtube video downloader PinmvpDave Kreskowiak23-Jan-13 11:17 
QuestionHow to convert vb.net application to work online Pinmembernapolewn22-Jan-13 0:54 
AnswerRe: How to convert vb.net application to work online PinmemberDavid Mujica22-Jan-13 3:03 
QuestionHow to Extend the InitializeComponents to my code in VB2008/2010 PinmemberQuickBooksDev20-Jan-13 3:06 
AnswerRe: How to Extend the InitializeComponents to my code in VB2008/2010 PinmvpEddy Vluggen21-Jan-13 3:31 
QuickBooksDev wrote:
So how can we 'extend' the IntializeComponents to our code or have our code run after the InitializeComponents.

The "best" way is to not modify the call; it's there for the designer, and anything in there is autogenerated (it will be overwritten, removing your modifications).
 
Add a virtual or abstract method to an empty form, and call it from the constructor. Next, inherit your forms from this new one.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

GeneralRe: How to Extend the InitializeComponents to my code in VB2008/2010 PinmemberQuickBooksDev21-Jan-13 5:28 
GeneralRe: How to Extend the InitializeComponents to my code in VB2008/2010 PinmvpEddy Vluggen21-Jan-13 5:43 
GeneralRe: How to Extend the InitializeComponents to my code in VB2008/2010 PinmemberQuickBooksDev21-Jan-13 6:49 
GeneralRe: How to Extend the InitializeComponents to my code in VB2008/2010 PinmemberQuickBooksDev22-Jan-13 0:21 
GeneralRe: How to Extend the InitializeComponents to my code in VB2008/2010 PinmvpEddy Vluggen22-Jan-13 2:21 
AnswerRe: How to Extend the InitializeComponents to my code in VB2008/2010 PinmemberMike Meinz21-Jan-13 8:16 
GeneralRe: How to Extend the InitializeComponents to my code in VB2008/2010 PinmemberQuickBooksDev21-Jan-13 9:38 
QuestionMS Graph in Access 2007 VBA Application Pinmembersatcomengineer19-Jan-13 7:48 
AnswerRe: MS Graph in Access 2007 VBA Application PinmvpEddy Vluggen20-Jan-13 2:38 
Questionvb6.0 PinmemberBarun sengupta18-Jan-13 21:39 
AnswerRe: vb6.0 PinmvpEddy Vluggen20-Jan-13 2:36 
QuestionDecoding USBSTOR Registry Entry in VB PinmemberSantLou4017-Jan-13 16:06 
AnswerRe: Decoding USBSTOR Registry Entry in VB PinmemberChandraRam17-Jan-13 20:03 
AnswerRe: Decoding USBSTOR Registry Entry in VB PinmemberAlan N18-Jan-13 1:21 
GeneralRe: Decoding USBSTOR Registry Entry in VB PinmemberSantLou4018-Jan-13 1:47 
GeneralRe: Decoding USBSTOR Registry Entry in VB PinmemberAlan N18-Jan-13 4:05 
JokeRe: Decoding USBSTOR Registry Entry in VB PinmemberJeffnogueira22-Jan-13 4:31 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 25 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid