Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
Private Sub Disablemenus() Dim cnn As New SqlConnection(My.Settings.mycString) Dim cmd As New SqlCommand Dim dr2 As SqlDataReader ' Dim cmenuname As ToolStripMenuItem cnn.Open() cmd.Connection = cnn cmd.CommandType = CommandType.Text cmd.CommandText = "select MenuName from table1 where Allowed=0)" dr2 = cmd.ExecuteReader Do While dr2.Read = True 'disable the menu Loop End Sub
|Help with deleting records by comparing two files using VB.NET||8||39|
|Create calculation and case in query with times||13||13|
|Getfiles in vb.net||28||24|
|Determine which columns have the exact value||1||24|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
18 Experts available now in Live!