Click here to Skip to main content
15,901,284 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: DataAdapter can you tell me ?? Pin
Mohammed Amine8-May-06 21:50
Mohammed Amine8-May-06 21:50 
QuestionHow do you create a subform? Pin
penguin50008-May-06 11:08
penguin50008-May-06 11:08 
AnswerRe: How do you create a subform? Pin
meconomou8-May-06 14:45
meconomou8-May-06 14:45 
GeneralRe: How do you create a subform? Pin
penguin50008-May-06 19:25
penguin50008-May-06 19:25 
GeneralRe: How do you create a subform? Pin
meconomou8-May-06 22:57
meconomou8-May-06 22:57 
QuestionVS2005, Updating the ReportViewer/Report datasource at runtime Pin
Mark Gorcz8-May-06 10:47
Mark Gorcz8-May-06 10:47 
QuestionOverride the Paint Function Pin
dassouki8-May-06 10:42
dassouki8-May-06 10:42 
Questiondynamic context menu Pin
meconomou8-May-06 9:13
meconomou8-May-06 9:13 
Hi I create a contextmenu from data. my code is this
Private Sub devsubmenu()
Dim cmddev As New OleDbCommand("Select modelname from devicetbl", OleDbConnection1)
OleDbConnection1.Open()
Dim dtread As OleDbDataReader = cmddev.ExecuteReader()
devmnu.MenuItems.Clear()
Do While dtread.Read
devmnu.MenuItems.Add(dtread.Item("modelname").ToString())
Loop
OleDBConnection.Close()
End Sub

The menu created is fine.
Now when i click one of the menu items created with the code above i want to take the "text" of the menu item and store it to a variable.
Here is my problem, how can i handle a click event from these items? Confused | :confused:
Any Ideas???
AnswerRe: dynamic context menu Pin
Rizwan Bashir9-May-06 1:44
Rizwan Bashir9-May-06 1:44 
GeneralRe: dynamic context menu Pin
meconomou9-May-06 2:55
meconomou9-May-06 2:55 
GeneralRe: dynamic context menu Pin
Rizwan Bashir9-May-06 4:23
Rizwan Bashir9-May-06 4:23 
GeneralRe: dynamic context menu Pin
meconomou9-May-06 4:40
meconomou9-May-06 4:40 
GeneralRe: dynamic context menu Pin
Rizwan Bashir9-May-06 21:37
Rizwan Bashir9-May-06 21:37 
GeneralRe: dynamic context menu Pin
meconomou10-May-06 13:26
meconomou10-May-06 13:26 
QuestionAppend .tif* Files Pin
james_holokai028-May-06 8:02
james_holokai028-May-06 8:02 
AnswerRe: Append .tif* Files Pin
Rizwan Bashir9-May-06 1:49
Rizwan Bashir9-May-06 1:49 
QuestionHow can I convert vb6 to vb.net Pin
Adekolurejo8-May-06 4:13
Adekolurejo8-May-06 4:13 
AnswerRe: How can I convert vb6 to vb.net Pin
User 17164928-May-06 5:13
professionalUser 17164928-May-06 5:13 
GeneralRe: How can I convert vb6 to vb.net Pin
Adekolurejo8-May-06 6:44
Adekolurejo8-May-06 6:44 
GeneralRe: How can I convert vb6 to vb.net Pin
User 17164928-May-06 8:33
professionalUser 17164928-May-06 8:33 
QuestionWant to crate a Collection Of Control Pin
hisuman1008-May-06 3:53
hisuman1008-May-06 3:53 
AnswerRe: Want to crate a Collection Of Control Pin
Robert Rohde8-May-06 4:08
Robert Rohde8-May-06 4:08 
GeneralRe: Want to crate a Collection Of Control Pin
hisuman1008-May-06 5:25
hisuman1008-May-06 5:25 
GeneralRe: Want to crate a Collection Of Control Pin
Robert Rohde8-May-06 6:07
Robert Rohde8-May-06 6:07 
Questionaudio recording for incoimg/outgoing voice Pin
mamindlapurnachender8-May-06 3:06
mamindlapurnachender8-May-06 3:06 

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.