yes i need to check whether the path in textbox is not empty and should be a valid path. the path that i m giving is where my database is stored. i m throwing an exception if the path in the textbox is not correct but i need to enable the menustrip if the path in the textbox is correct.
hi guys,
i have menustrip which has menus such as File, Edit, Tools, etc. I also have 2 textboxes. Initially I am keeping the Menus disabled. I need to enable the menu only when i enter the path in textbox. how do i do that?
Thanks
hi guys,
i have the following code,
Private Sub btnopendb_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnopendb.Click
Try
With OpenFileDialog1
' Check to ensure that the selected file exists. Dialog box displays a warning otherwise.
.CheckFileExists = True
'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.