Click here to Skip to main content
15,923,689 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Finding my mummy Pin
Mark0613-Sep-05 13:17
Mark0613-Sep-05 13:17 
QuestionVBNET, mysql and time field error Pin
ecentinela13-Sep-05 0:41
ecentinela13-Sep-05 0:41 
AnswerRe: VBNET, mysql and time field error Pin
ecentinela13-Sep-05 1:50
ecentinela13-Sep-05 1:50 
QuestionDisable User Control Pin
mcgann12-Sep-05 22:58
mcgann12-Sep-05 22:58 
AnswerRe: Disable User Control Pin
enjoycrack13-Sep-05 0:03
enjoycrack13-Sep-05 0:03 
GeneralRe: Disable User Control Pin
mcgann13-Sep-05 2:07
mcgann13-Sep-05 2:07 
GeneralRe: Disable User Control Pin
enjoycrack13-Sep-05 21:51
enjoycrack13-Sep-05 21:51 
GeneralRe: Disable User Control Pin
mcgann13-Sep-05 22:49
mcgann13-Sep-05 22:49 
ok below is the code for the USER CONTROL

Imports System.Data.SqlClient

Public Class Topmenu

Inherits System.Web.UI.UserControl
Public WithEvents LinkButton1 As System.Web.UI.WebControls.LinkButton
Public WithEvents LinkButton2 As system.Web.UI.WebControls.Linkbutton
Public WithEvents tbltopmenu As System.Web.UI.HTMLControls.HTMLTable

Dim conn As SQLConnection......

Public Sub Page_Load(....)

End Sub

Private Sub LinkButton1_Click(....)
Response.Redirect("menu.aspx")
End Sub

Private Sub LinkButton2_click(....)
Response.Redirect("logout.aspx")
End Sub

End Class

And this is the code I have in the Page_load event on a number of .aspx pages

Public Sub Page_Load(......)
topmenu.Linkbutton1.Enabled = False
End Sub

gfhg
QuestionAudio Format Conversion Pin
Mr. Naveed Butt12-Sep-05 21:09
professionalMr. Naveed Butt12-Sep-05 21:09 
AnswerRe: Audio Format Conversion Pin
enjoycrack13-Sep-05 0:14
enjoycrack13-Sep-05 0:14 
AnswerRe: Audio Format Conversion Pin
jmachacek13-Oct-05 4:46
jmachacek13-Oct-05 4:46 
QuestionBarcode Reading in VB Pin
kk.tvm12-Sep-05 21:00
kk.tvm12-Sep-05 21:00 
AnswerRe: Barcode Reading in VB Pin
Dave Kreskowiak13-Sep-05 2:40
mveDave Kreskowiak13-Sep-05 2:40 
QuestionCreating Word/Excel files in VB Pin
kk.tvm12-Sep-05 20:58
kk.tvm12-Sep-05 20:58 
AnswerRe: Creating Word/Excel files in VB Pin
Mark0613-Sep-05 4:18
Mark0613-Sep-05 4:18 
Questionhow to refresh the datagrid? Pin
Anonymous12-Sep-05 20:43
Anonymous12-Sep-05 20:43 
AnswerRe: how to refresh the datagrid? Pin
Anonymous12-Sep-05 23:15
Anonymous12-Sep-05 23:15 
Questionchecking .net framework before installation Pin
abhinish12-Sep-05 20:12
abhinish12-Sep-05 20:12 
AnswerRe: checking .net framework before installation Pin
Gavin Jeffrey12-Sep-05 20:40
Gavin Jeffrey12-Sep-05 20:40 
GeneralRe: checking .net framework before installation Pin
abhinish13-Sep-05 19:50
abhinish13-Sep-05 19:50 
QuestionHow to open word or notepad from the vb.net link? Pin
Member 223436012-Sep-05 18:47
Member 223436012-Sep-05 18:47 
AnswerRe: How to open word or notepad from the vb.net link? Pin
darkshadow12-Sep-05 19:15
darkshadow12-Sep-05 19:15 
AnswerRe: How to open word or notepad from the vb.net link? Pin
PranjalSharma12-Sep-05 19:21
PranjalSharma12-Sep-05 19:21 
GeneralRe: How to open word or notepad from the vb.net link? Pin
Anonymous12-Sep-05 19:35
Anonymous12-Sep-05 19:35 
GeneralRe: How to open word or notepad from the vb.net link? Pin
Anonymous12-Sep-05 20:29
Anonymous12-Sep-05 20:29 

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.