Click here to Skip to main content
15,918,003 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to send OledbDataReader ? Pin
John Kuhn30-Mar-04 15:36
John Kuhn30-Mar-04 15:36 
QuestionHow the disable the resize function of a form Pin
MJay30-Mar-04 6:36
MJay30-Mar-04 6:36 
AnswerRe: How the disable the resize function of a form Pin
Guillermo Rivero30-Mar-04 7:24
Guillermo Rivero30-Mar-04 7:24 
AnswerRe: How the disable the resize function of a form Pin
Anonymous30-Mar-04 18:51
Anonymous30-Mar-04 18:51 
AnswerRe: How the disable the resize function of a form Pin
superwinsock30-Mar-04 21:56
superwinsock30-Mar-04 21:56 
QuestionHow to save content of a picturebox to jpg and content of a richtextbox as a normal text file? Pin
MJay30-Mar-04 6:25
MJay30-Mar-04 6:25 
QuestionHow to Unzip files using VB.Net Pin
Anonymous30-Mar-04 5:11
Anonymous30-Mar-04 5:11 
GeneralCall MDI form procedure in Toolbar Pin
LC Chan30-Mar-04 4:35
LC Chan30-Mar-04 4:35 
Hi All,

I created a Toolbar in the Main form and it has some buttons like Add,Change,Delete. Let's say there are 2 child forms A & B.
In each form, a public procedure - add_record() - is created.

Now, I'd like to call the child form - add_record() in the button.click() event. But it seems the compiler didn't accept it.

Here's the code in tool bar click event.
Protected Sub toolBar_Click(ByVal sender As Object, 
                             ByVal e As oolBarButtonClickEventArgs)

    Select Case tblMain.Buttons.IndexOf(e.Button)
    Case 1
        Call Me.ActiveMdiChild.add_recod()    /* build error occur */
    End Select
End Sub


I think i'm using a wrong approach with Toolbar.

Would anyone give me some advice.

Many thanks, WilfredSmile | :)
GeneralRe: Call MDI form procedure in Toolbar Pin
Charlie Williams30-Mar-04 5:25
Charlie Williams30-Mar-04 5:25 
GeneralRe: Call MDI form procedure in Toolbar Pin
Anonymous31-Mar-04 2:25
Anonymous31-Mar-04 2:25 
GeneralRe: Call MDI form procedure in Toolbar Pin
Anonymous31-Mar-04 5:16
Anonymous31-Mar-04 5:16 
GeneralInvoking a VBA macro from a VB app Pin
LeprosyLM30-Mar-04 2:37
LeprosyLM30-Mar-04 2:37 
Generalediting state Pin
ibok2329-Mar-04 15:58
ibok2329-Mar-04 15:58 
GeneralRe: editing state Pin
Dave Kreskowiak29-Mar-04 17:14
mveDave Kreskowiak29-Mar-04 17:14 
GeneralRe: editing state Pin
ibok2330-Mar-04 3:12
ibok2330-Mar-04 3:12 
GeneralRe: editing state Pin
Dave Kreskowiak30-Mar-04 3:54
mveDave Kreskowiak30-Mar-04 3:54 
GeneralRe: editing state Pin
ibok2330-Mar-04 4:10
ibok2330-Mar-04 4:10 
GeneralRe: editing state Pin
Dave Kreskowiak30-Mar-04 9:20
mveDave Kreskowiak30-Mar-04 9:20 
Generalunique, independent instance of Word Pin
MRafferty29-Mar-04 14:59
MRafferty29-Mar-04 14:59 
Generalfollowed this example but mine doesnt work Pin
KamWaf29-Mar-04 13:55
KamWaf29-Mar-04 13:55 
GeneralRe: followed this example but mine doesnt work Pin
eramgarden29-Mar-04 16:53
eramgarden29-Mar-04 16:53 
GeneralPocket PC Pin
Tvalsia29-Mar-04 10:45
Tvalsia29-Mar-04 10:45 
GeneralRe: Pocket PC Pin
Sarvesvara (BVKS) Dasa29-Mar-04 17:51
Sarvesvara (BVKS) Dasa29-Mar-04 17:51 
GeneralRe: Pocket PC Pin
jimpar30-Mar-04 8:47
jimpar30-Mar-04 8:47 
QuestionInsert error??? Pin
hounetdev29-Mar-04 9:13
hounetdev29-Mar-04 9: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.