Click here to Skip to main content
15,889,493 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Problems running the application on another computer Pin
dilkonika8-Jun-14 10:47
dilkonika8-Jun-14 10:47 
GeneralRe: Problems running the application on another computer Pin
Richard MacCutchan8-Jun-14 21:49
mveRichard MacCutchan8-Jun-14 21:49 
QuestionCopy Table from Word then Paste to Excel VB.net Pin
_XeLo_5-Jun-14 23:29
_XeLo_5-Jun-14 23:29 
AnswerRe: Copy Table from Word then Paste to Excel VB.net Pin
Chris Quinn6-Jun-14 0:22
Chris Quinn6-Jun-14 0:22 
GeneralRe: Copy Table from Word then Paste to Excel VB.net Pin
_XeLo_6-Jun-14 14:40
_XeLo_6-Jun-14 14:40 
Questioncopy to next available row Pin
David Rubin4-Jun-14 5:10
David Rubin4-Jun-14 5:10 
QuestionNeed Help to connect to MQ 7.0 using user id getting 2035 error. Pin
Member 102184182-Jun-14 21:03
Member 102184182-Jun-14 21:03 
QuestionUsing Functions across forms Pin
gwittlock1-Jun-14 16:34
gwittlock1-Jun-14 16:34 
Here is my scenario

I have a Main Form and that form has 3 Menus

for each menu item I have a dialogbox (another form really)

in the main form I have the following sub

'To be called by a docking form (during its activation).
Public Sub SetCurrentDialog(dlg As Form)
m_curr_dlg = dlg
End Sub

for each of the menus I have the following

Private Sub Menu1_ItemClick(sender As Object, e As ItemClickEventArgs) Handles Menu1.ItemClick
SetCurrentDialog(Dilaog1)
Dialog1.ShowDialog(Me)
End Sub

Private Sub Menu2_ItemClick(sender As Object, e As ItemClickEventArgs) Handles Menu2.ItemClick
SetCurrentDialog(Dilaog2)
Dialog2.ShowDialog(Me)
End Sub

Private Sub Menu3_ItemClick(sender As Object, e As ItemClickEventArgs) Handles Menu3.ItemClick
SetCurrentDialog(Dilaog3)
Dialog3.ShowDialog(Me)
End Sub

in each of the Dialogs I have a Public Function as

Public Function ClientMouseUp()
'Do special MouseUp
End Function

on the MianForm I also have a PicturBox which I want to return information to the dialog

so I have

Private Sub PictureBox1_MouseUp(sender As Object, e As MouseEventArgs) Handles PictureBox1.MouseUp
m_curr_dlg.ClientMouseUp()
End Sub

But in the PictureBox1_MouseUp I get the following error

Error 39 'ClientMouseUp' is not a member of 'System.Windows.Forms.Form'.

Can anyone show me the errors of my ways?
AnswerRe: Using Functions across forms Pin
Peter Leow1-Jun-14 17:12
professionalPeter Leow1-Jun-14 17:12 
GeneralRe: Using Functions across forms Pin
gwittlock1-Jun-14 18:14
gwittlock1-Jun-14 18:14 
AnswerRe: Using Functions across forms Pin
Bernhard Hiller2-Jun-14 0:23
Bernhard Hiller2-Jun-14 0:23 
GeneralRe: Using Functions across forms Pin
gwittlock2-Jun-14 1:14
gwittlock2-Jun-14 1:14 
Questionlistview won't display data populated in vb6 Pin
Dave-1016953130-May-14 6:37
professionalDave-1016953130-May-14 6:37 
AnswerRe: listview won't display data populated in vb6 Pin
Tim Carmichael30-May-14 9:02
Tim Carmichael30-May-14 9:02 
GeneralRe: listview won't display data populated in vb6 Pin
Dave-1016953130-May-14 9:32
professionalDave-1016953130-May-14 9:32 
QuestionImport from SQL table by column Pin
Member 1066669830-May-14 4:38
Member 1066669830-May-14 4:38 
AnswerRe: Import from SQL table by column Pin
Eddy Vluggen30-May-14 10:43
professionalEddy Vluggen30-May-14 10:43 
AnswerRe: Import from SQL table by column Pin
Mycroft Holmes30-May-14 13:01
professionalMycroft Holmes30-May-14 13:01 
GeneralRe: Import from SQL table by column Pin
Member 106666981-Jun-14 22:40
Member 106666981-Jun-14 22:40 
GeneralRe: Import from SQL table by column Pin
Member 106666981-Jun-14 22:59
Member 106666981-Jun-14 22:59 
GeneralRe: Import from SQL table by column Pin
Mycroft Holmes2-Jun-14 0:53
professionalMycroft Holmes2-Jun-14 0:53 
GeneralRe: Import from SQL table by column Pin
Member 106666982-Jun-14 4:49
Member 106666982-Jun-14 4:49 
GeneralRe: Import from SQL table by column Pin
Eddy Vluggen2-Jun-14 8:23
professionalEddy Vluggen2-Jun-14 8:23 
GeneralRe: Import from SQL table by column Pin
Member 106666982-Jun-14 20:42
Member 106666982-Jun-14 20:42 
QuestionIIf Statement - Different Problem With RDLC Pin
Paramu197329-May-14 15:05
Paramu197329-May-14 15:05 

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.