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

Visual Basic

 
Generaldatagrid Pin
beginnervb.net17-May-05 6:49
beginnervb.net17-May-05 6:49 
GeneralRe: datagrid Pin
Fernando Soto17-May-05 8:18
Fernando Soto17-May-05 8:18 
GeneralRe: datagrid Pin
beginnervb.net118-May-05 19:28
beginnervb.net118-May-05 19:28 
GeneralRe: datagrid Pin
Fernando Soto19-May-05 3:34
Fernando Soto19-May-05 3:34 
GeneralRe: datagrid Pin
rudy.net17-May-05 18:29
rudy.net17-May-05 18:29 
GeneralRe: datagrid Pin
Josue Avila19-May-05 9:37
Josue Avila19-May-05 9:37 
QuestionPrinting - OWC Pivot Tables Using VB6 ? Pin
J.Jay17-May-05 6:42
J.Jay17-May-05 6:42 
GeneralHelp In switching between forms Pin
GegoTheWizard17-May-05 4:53
GegoTheWizard17-May-05 4:53 
Hello all hope all is good and fine
i am making an application which have a main form opened at first this main form contain a menu half of thi menu is enabled and the other half is not enabled so the user will use the enabled part when he use it it will ask for a password if the user enter the password right so the not enabled half of the menu will be enabled
i wanna some ideas for how to achieve that
i have think and make that code :
Dim Str As String
Dim Str1 As String
Dim Str2 As String
Str = "Hema"
Str1 = "U Can Access As The Manager Now"
Str2 = "The Password is incorrect"
Dim F1 As Form1
F1 = New Form1()
If (TextBox1.Text.Equals(Str)) Then
MessageBox.Show(Str1)
F1.MenuItem5.Enabled = True
F1.MenuItem6.Enabled = True
F1.MenuItem7.Enabled = True
F1.MenuItem8.Enabled = True
F1.Update()
F1.Activate()
Me.Hide()
F1.ShowDialog()
Else
MessageBox.Show(Str2)
End If

that piece of code work when the user enter the password and click enter
the problem in it is it open another main form so there is two i wanna only to change the property of the menuitem on the same form which is already opened
hope anyone could help me
thanks in advance

Gego
GeneralRe: Help In switching between forms Pin
rudy.net17-May-05 18:48
rudy.net17-May-05 18:48 
Generalmoney masked textBox Pin
hakanaktan17-May-05 3:31
hakanaktan17-May-05 3:31 
GeneralRe: money masked textBox Pin
Christian Graus17-May-05 13:39
protectorChristian Graus17-May-05 13:39 
GeneralException comes in setpixel in VB .Net Pin
meghadwivedi17-May-05 1:44
meghadwivedi17-May-05 1:44 
GeneralMonitor 3rd party app (hooking/subclassing) Pin
Derckie217-May-05 0:53
Derckie217-May-05 0:53 
GeneralRe: Monitor 3rd party app (hooking/subclassing) Pin
rudy.net17-May-05 19:42
rudy.net17-May-05 19:42 
GeneralRe: Monitor 3rd party app (hooking/subclassing) Pin
Derckie217-May-05 21:01
Derckie217-May-05 21:01 
GeneralRe: Monitor 3rd party app (hooking/subclassing) Pin
Tim McCurdy17-May-05 23:27
Tim McCurdy17-May-05 23:27 
GeneralRe: Monitor 3rd party app (hooking/subclassing) Pin
Derckie217-May-05 23:43
Derckie217-May-05 23:43 
GeneralData Grid Control Pin
meetaqadir17-May-05 0:34
meetaqadir17-May-05 0:34 
Generalsimple datagrid code Pin
hakanaktan17-May-05 3:45
hakanaktan17-May-05 3:45 
Generalremote configuration file ??? and why to use vbc compilation Pin
Rizwan Bashir17-May-05 0:02
Rizwan Bashir17-May-05 0:02 
GeneralCrystal Report Landscape Mode Pin
dpagka16-May-05 23:11
dpagka16-May-05 23:11 
GeneralRe: Crystal Report Landscape Mode Pin
Tim McCurdy17-May-05 23:31
Tim McCurdy17-May-05 23:31 
Generalsearch by ID in an arraylist of object Pin
fuel2run16-May-05 21:52
fuel2run16-May-05 21:52 
GeneralRe: search by ID in an arraylist of object Pin
Colin Angus Mackay16-May-05 22:19
Colin Angus Mackay16-May-05 22:19 
GeneralRe: search by ID in an arraylist of object Pin
fuel2run16-May-05 23:05
fuel2run16-May-05 23:05 

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.