Click here to Skip to main content
15,921,622 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: insert syntax problem, pls help.... Pin
Stephen McGuire3-Aug-06 12:38
Stephen McGuire3-Aug-06 12:38 
QuestionTo make characters in the text of TextBox ReadOnly. Pin
Prodigy2012-Aug-06 23:02
Prodigy2012-Aug-06 23:02 
AnswerRe: To make characters in the text of TextBox ReadOnly. Pin
kyosugi2-Aug-06 23:31
kyosugi2-Aug-06 23:31 
GeneralRe: To make characters in the text of TextBox ReadOnly. Pin
Prodigy2013-Aug-06 0:43
Prodigy2013-Aug-06 0:43 
AnswerRe: To make characters in the text of TextBox ReadOnly. Pin
Dave Kreskowiak3-Aug-06 1:31
mveDave Kreskowiak3-Aug-06 1:31 
AnswerRe: To make characters in the text of TextBox ReadOnly. Pin
Stephen McGuire3-Aug-06 7:35
Stephen McGuire3-Aug-06 7:35 
Questioninvoice in data report..? Pin
campbells2-Aug-06 22:52
campbells2-Aug-06 22:52 
Questioncontext menu in listview???(complex)[VB6] Pin
giddy_guitarist2-Aug-06 21:37
giddy_guitarist2-Aug-06 21:37 
hie ,

i need to make a listview with a popup menu BUT i need to show the "properties" of the selected item like in explorer.Problem is with this code :

Private Sub ListView2_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single)<br />
<br />
If Button = vbRightButton Then<br />
      'If ListView2.SelectedItem = ListView2.HitTest(x, y) Then<br />
      PopupMenu mnuMyMenu, vbPopupMenuRightButton<br />
      'End If<br />
End If<br />
End Sub


With the 'If ListView2.Selec.... commented i just get a popup menu no matter where i click , like white space.Also if the user cliked item1 , then right-clicked in any white space.. the popup shows up with the listview SELECTED property set to item1 i Need to show the menu ONLY if the user click an ITEM!! but then with comments removed i get a runtime error 91 , object variable or with block nt set ONLY IF I CLICK A WHITE SPACE>> if i click an ITEM EVERYTHING RUNS SMOOTHLY!!Confused | :confused: Confused | :confused:

Option 2: i found http://vb-helper.com/howto_listview_right_click_header.html[^] site , it uses a VC type procedure , i do know VC , BUT its for getting a context menu on the header of the listview. The message the programm looks for is "WM_PARENTNOTIFY" and then a "WM_RBUTTONDOWN" wParam.Now I DONT KNOW THE MESSAGE for items!! Sigh | :sigh:


Could some one help me HERE!!

Gideon
AnswerFLASE ALARM Pin
giddy_guitarist3-Aug-06 7:53
giddy_guitarist3-Aug-06 7:53 
QuestionQuestion about Resizing and Manipulating program windows in VB Pin
litestep232-Aug-06 14:34
litestep232-Aug-06 14:34 
QuestionWeird email problem [modified] Pin
eagertolearn2-Aug-06 13:37
eagertolearn2-Aug-06 13:37 
AnswerRe: Weird email problem Pin
Christian Graus2-Aug-06 14:04
protectorChristian Graus2-Aug-06 14:04 
GeneralRe: Weird email problem Pin
eagertolearn3-Aug-06 4:48
eagertolearn3-Aug-06 4:48 
GeneralRe: Weird email problem Pin
VK-Cadec4-Aug-06 5:04
VK-Cadec4-Aug-06 5:04 
AnswerRe: Weird email problem Pin
Dave Kreskowiak3-Aug-06 1:24
mveDave Kreskowiak3-Aug-06 1:24 
GeneralRe: Weird email problem Pin
eagertolearn3-Aug-06 4:50
eagertolearn3-Aug-06 4:50 
QuestionHow to fetch records from sql database in VB.Net Pin
Technobizz2-Aug-06 7:48
Technobizz2-Aug-06 7:48 
AnswerRe: How to fetch records from sql database in VB.Net [modified] Pin
Stephen McGuire2-Aug-06 7:52
Stephen McGuire2-Aug-06 7:52 
GeneralRe: How to fetch records from sql database in VB.Net Pin
Technobizz2-Aug-06 7:55
Technobizz2-Aug-06 7:55 
GeneralRe: How to fetch records from sql database in VB.Net Pin
Stephen McGuire2-Aug-06 8:39
Stephen McGuire2-Aug-06 8:39 
GeneralRe: How to fetch records from sql database in VB.Net Pin
Technobizz2-Aug-06 8:51
Technobizz2-Aug-06 8:51 
GeneralRe: How to fetch records from sql database in VB.Net [modified] Pin
Stephen McGuire2-Aug-06 9:46
Stephen McGuire2-Aug-06 9:46 
GeneralRe: How to fetch records from sql database in VB.Net Pin
Technobizz2-Aug-06 9:59
Technobizz2-Aug-06 9:59 
GeneralRe: How to fetch records from sql database in VB.Net Pin
Stephen McGuire2-Aug-06 10:32
Stephen McGuire2-Aug-06 10:32 
AnswerRe: How to fetch records from sql database in VB.Net Pin
Solly743-Aug-06 13:41
Solly743-Aug-06 13:41 

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.