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

Visual Basic

 
QuestionShowing 2 digits inc zeros after decimal point (VBA XL) Pin
Dalek Dave31-Jul-08 4:52
professionalDalek Dave31-Jul-08 4:52 
AnswerRe: Showing 2 digits inc zeros after decimal point (VBA XL) Pin
Tim Carmichael31-Jul-08 7:35
Tim Carmichael31-Jul-08 7:35 
GeneralRe: Showing 2 digits inc zeros after decimal point (VBA XL) Pin
Dalek Dave31-Jul-08 22:16
professionalDalek Dave31-Jul-08 22:16 
QuestionRename assembly? Pin
cstrader23231-Jul-08 4:22
cstrader23231-Jul-08 4:22 
AnswerRe: Rename assembly? Pin
Thomas Stockwell31-Jul-08 6:37
professionalThomas Stockwell31-Jul-08 6:37 
GeneralRe: Rename assembly? Pin
cstrader23231-Jul-08 8:04
cstrader23231-Jul-08 8:04 
QuestionList Box / Combo Box Pin
Riaz Ahmed31-Jul-08 3:55
Riaz Ahmed31-Jul-08 3:55 
AnswerRe: List Box / Combo Box Pin
Ajay.k_Singh31-Jul-08 4:37
Ajay.k_Singh31-Jul-08 4:37 
On mouse up event of list box you can use IndexFromPoint method to get index of item which has been clicked. This index can be used to retrieve the actual listbox item, such as –


------------------------------------------
Private Sub ListBox1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ListBox1.MouseUp

Dim ItemName As String

If e.Button = Windows.Forms.MouseButtons.Right Then

ItemName = Me.ListBox1.Items.Item(Me.ListBox1.IndexFromPoint(e.X, e.Y)).ToString()

MessageBox.Show(ItemName)


End If

End Sub
-------------------------------------------

I hope this helps Smile | :) .

-Dave.

------------------------------------
http://www.componentone.com
------------------------------------

QuestionHow to find menu item visibility dynamically Pin
AR Reddy31-Jul-08 3:07
AR Reddy31-Jul-08 3:07 
AnswerRe: How to find menu item visibility dynamically Pin
Smithers-Jones31-Jul-08 3:32
Smithers-Jones31-Jul-08 3:32 
GeneralRe: How to find menu item visibility dynamically Pin
AR Reddy31-Jul-08 5:47
AR Reddy31-Jul-08 5:47 
GeneralRe: How to find menu item visibility dynamically Pin
AR Reddy1-Aug-08 0:41
AR Reddy1-Aug-08 0:41 
QuestionProperties verses Functions Pin
Steven J Jowett31-Jul-08 1:55
Steven J Jowett31-Jul-08 1:55 
AnswerRe: Properties verses Functions Pin
Gideon Engelberth31-Jul-08 3:42
Gideon Engelberth31-Jul-08 3:42 
GeneralRe: Properties verses Functions Pin
supercat931-Jul-08 12:14
supercat931-Jul-08 12:14 
AnswerRe: Properties verses Functions Pin
Gregory Gadow31-Jul-08 7:17
Gregory Gadow31-Jul-08 7:17 
QuestionNeed extra properties for the tables and as well for columns in a typed dataset Pin
its-ravi-b4u30-Jul-08 23:16
its-ravi-b4u30-Jul-08 23:16 
AnswerRe: Need extra properties for the tables and as well for columns in a typed dataset Pin
Christian Graus31-Jul-08 0:19
protectorChristian Graus31-Jul-08 0:19 
GeneralRe: Need extra properties for the tables and as well for columns in a typed dataset Pin
its-ravi-b4u31-Jul-08 1:27
its-ravi-b4u31-Jul-08 1:27 
GeneralRe: Need extra properties for the tables and as well for columns in a typed dataset Pin
Paddy Boyd31-Jul-08 3:21
Paddy Boyd31-Jul-08 3:21 
GeneralRe: Need extra properties for the tables and as well for columns in a typed dataset Pin
its-ravi-b4u31-Jul-08 4:06
its-ravi-b4u31-Jul-08 4:06 
QuestionHow to extract records from data table object Pin
Rameez Raja30-Jul-08 22:57
Rameez Raja30-Jul-08 22:57 
AnswerRe: How to extract records from data table object Pin
Guffa30-Jul-08 23:57
Guffa30-Jul-08 23:57 
GeneralRe: How to extract records from data table object Pin
Rameez Raja31-Jul-08 0:26
Rameez Raja31-Jul-08 0:26 
GeneralRe: How to extract records from data table object Pin
Ashfield31-Jul-08 1:27
Ashfield31-Jul-08 1:27 

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.