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

Visual Basic

 
GeneralRe: Accessing a variable on another form Pin
'Drew30-Jul-07 13:14
'Drew30-Jul-07 13:14 
GeneralRe: Accessing a variable on another form Pin
Paul Conrad30-Jul-07 11:13
professionalPaul Conrad30-Jul-07 11:13 
AnswerRe: Accessing a variable on another form Pin
Christian Graus30-Jul-07 11:02
protectorChristian Graus30-Jul-07 11:02 
QuestionProblem while running a vb.net application in Network Pin
vut230-Jul-07 7:01
vut230-Jul-07 7:01 
AnswerRe: Problem while running a vb.net application in Network Pin
Dave Kreskowiak30-Jul-07 8:49
mveDave Kreskowiak30-Jul-07 8:49 
Questionplz help about the ruler Pin
eyes200730-Jul-07 5:40
eyes200730-Jul-07 5:40 
Questionkeydown event doesn't get triggerd Pin
Tom Deketelaere30-Jul-07 5:03
professionalTom Deketelaere30-Jul-07 5:03 
QuestionListView and ContextMenu Pin
Sebastian T Xavier30-Jul-07 4:27
Sebastian T Xavier30-Jul-07 4:27 
Hi all,

I have a windows form that contains a listview and a contextmenu. The form is splitted with a splitter control. In load event the data will be populated in the list view. When we activate menu the menuitems will be dispalyed like Add, Edit, Delete..
My problem is , if the user clicks a region which data is not present, ie. suppose the list view contains 3 rows, remaing white space will be there, when the user clicks that white space , the menu should not be displayed.
Now context menu will be displayed whenever user right clicks the mouse.
I want to display context menu only if the user clicks a row in the list view. Please help me to do this...

Thanks in advance


Sebastian
QuestionWebservice written in VB.NET Pin
microdommi30-Jul-07 4:04
microdommi30-Jul-07 4:04 
AnswerRe: Webservice written in VB.NET Pin
kubben30-Jul-07 6:43
kubben30-Jul-07 6:43 
GeneralRe: Webservice written in VB.NET Pin
microdommi30-Jul-07 10:19
microdommi30-Jul-07 10:19 
QuestionHow to Search a datagrid in SQL, VB.net Pin
Vimalsoft(Pty) Ltd30-Jul-07 3:33
professionalVimalsoft(Pty) Ltd30-Jul-07 3:33 
AnswerRe: How to Search a datagrid in SQL, VB.net Pin
penguin500030-Jul-07 10:25
penguin500030-Jul-07 10:25 
QuestionViewState Not Refreshing Pin
Brendan Vogt30-Jul-07 3:14
Brendan Vogt30-Jul-07 3:14 
AnswerRe: ViewState Not Refreshing Pin
Dave Kreskowiak30-Jul-07 9:21
mveDave Kreskowiak30-Jul-07 9:21 
Questionhaving a inner table in a dataset Pin
ajith prasath30-Jul-07 2:04
ajith prasath30-Jul-07 2:04 
AnswerRe: having a inner table in a dataset Pin
Dave Kreskowiak30-Jul-07 9:06
mveDave Kreskowiak30-Jul-07 9:06 
Questionwebbrowser control Pin
Ahmad Zaidi30-Jul-07 1:54
Ahmad Zaidi30-Jul-07 1:54 
AnswerRe: webbrowser control Pin
Dave Kreskowiak30-Jul-07 9:04
mveDave Kreskowiak30-Jul-07 9:04 
GeneralRe: webbrowser control Pin
Ahmad Zaidi30-Jul-07 22:04
Ahmad Zaidi30-Jul-07 22:04 
Questionhow to update the dataset programically to database in vb.net Pin
ajith prasath30-Jul-07 1:53
ajith prasath30-Jul-07 1:53 
AnswerRe: how to update the dataset programically to database in vb.net Pin
DanB198330-Jul-07 9:54
DanB198330-Jul-07 9:54 
Questionslider on ruler control [modified] Pin
eyes200730-Jul-07 1:11
eyes200730-Jul-07 1:11 
Questionhow to print the contents of rich text box Pin
eyes200730-Jul-07 1:09
eyes200730-Jul-07 1:09 
AnswerRe: how to print the contents of rich text box Pin
Dave Kreskowiak30-Jul-07 8:59
mveDave Kreskowiak30-Jul-07 8:59 

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.