Click here to Skip to main content
15,877,103 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to use multi user login with visual basic 6 and Microsoft access 2007 Pin
Eddy Vluggen4-Apr-18 23:54
professionalEddy Vluggen4-Apr-18 23:54 
GeneralRe: How to use multi user login with visual basic 6 and Microsoft access 2007 Pin
Member 136918615-Apr-18 3:12
Member 136918615-Apr-18 3:12 
GeneralRe: How to use multi user login with visual basic 6 and Microsoft access 2007 Pin
Eddy Vluggen5-Apr-18 6:34
professionalEddy Vluggen5-Apr-18 6:34 
QuestionHow to display on the form automatically the user that logins in a VB program Pin
Member 136918614-Apr-18 3:32
Member 136918614-Apr-18 3:32 
AnswerRe: How to display on the form automatically the user that logins in a VB program Pin
Dave Kreskowiak4-Apr-18 3:57
mveDave Kreskowiak4-Apr-18 3:57 
GeneralRe: How to display on the form automatically the user that logins in a VB program Pin
Member 136918614-Apr-18 4:26
Member 136918614-Apr-18 4:26 
GeneralRe: How to display on the form automatically the user that logins in a VB program Pin
Dave Kreskowiak4-Apr-18 4:55
mveDave Kreskowiak4-Apr-18 4:55 
QuestionVB code to disable save button after saving a form Pin
Member 136918614-Apr-18 2:05
Member 136918614-Apr-18 2:05 
Please I will like to know if this code written is okay. seems to be having error. The aim is to prevent user from making any changes on form after saving.

CUSTOMER RESERVATION BILLLING (cmdSave,  Command2)
If cmdSave.Caption = "Save" Then
   Adodc1.Recordset.AddNew
   txt.SetFocus
   'Disenablebuttons
   cmdsave.Enabled = True
   cmdAddNew.Caption = "Cancel"
   cboClassofRoom.Locked = False
   txtCustomer_Name.Locked = False
   txtRoomNo.Locked = False
   txtCustomer_Address.Locked = False
   txtPhone_number.Locked = False
   txtAmountPaid.Locked = False
   txtCheckin.Locked = False
   txtDuration.Locked = False
   txtDate.Locked = False
   txtReceptionist.Locked = False
Else
   Adodc1.Recordset.CancelUpdate
     cmdsave.Enabled = False
     cmdAdd.Caption = "Add"
   'enablebuttons
   cboClassofRoom.Locked = True
   txtCustomer_Name.Locked = True
   txtRoomNo.Locked = True
   txtCustomer_Address.Locked = True
   txtPhone_number.Locked = True
   txtAmountPaid.Locked = True
   txtCheckin.Locked = True
   txtDuration.Locked = True
   txtDate.Locked = True
   txtReceptionist.Locked = True
End IF
End Sub

AnswerRe: VB code to disable save button after saving a form Pin
Dave Kreskowiak4-Apr-18 2:17
mveDave Kreskowiak4-Apr-18 2:17 
GeneralRe: VB code to disable save button after saving a form Pin
Ronnie Jimenez16-Apr-18 17:19
Ronnie Jimenez16-Apr-18 17:19 
QuestionHow can I disable a Save button or Print Buttton after saving a form in Visualbasic 6.0 Pin
Member 136918613-Apr-18 22:56
Member 136918613-Apr-18 22:56 
AnswerRe: How can I disable a Save button or Print Buttton after saving a form in Visualbasic 6.0 Pin
Chris Quinn4-Apr-18 0:22
Chris Quinn4-Apr-18 0:22 
GeneralRe: How can I disable a Save button or Print Buttton after saving a form in Visualbasic 6.0 Pin
Member 136918614-Apr-18 1:59
Member 136918614-Apr-18 1:59 
GeneralRe: How can I disable a Save button or Print Buttton after saving a form in Visualbasic 6.0 Pin
Dave Kreskowiak4-Apr-18 2:14
mveDave Kreskowiak4-Apr-18 2:14 
GeneralRe: How can I disable a Save button or Print Buttton after saving a form in Visualbasic 6.0 Pin
Chris Quinn4-Apr-18 2:37
Chris Quinn4-Apr-18 2:37 
QuestionHow to solve system.NullReferenceException Pin
Member 137549753-Apr-18 0:37
Member 137549753-Apr-18 0:37 
AnswerRe: How to solve system.NullReferenceException Pin
mo14923-Apr-18 0:59
mo14923-Apr-18 0:59 
AnswerRe: How to solve system.NullReferenceException Pin
Maciej Los3-Apr-18 1:05
mveMaciej Los3-Apr-18 1:05 
AnswerRe: How to solve system.NullReferenceException Pin
Member 83455994-Apr-18 4:46
Member 83455994-Apr-18 4:46 
QuestionUse Tabcontrol to switch beween control in Excel VBA form Pin
hmanhha30-Mar-18 17:28
hmanhha30-Mar-18 17:28 
AnswerRe: Use Tabcontrol to switch beween control in Excel VBA form Pin
Maciej Los3-Apr-18 3:29
mveMaciej Los3-Apr-18 3:29 
QuestionChange the Project folder's name Pin
desanti30-Mar-18 12:22
desanti30-Mar-18 12:22 
AnswerRe: Change the Project folder's name Pin
A_Griffin30-Mar-18 21:44
A_Griffin30-Mar-18 21:44 
GeneralRe: Change the Project folder's name Pin
desanti31-Mar-18 5:44
desanti31-Mar-18 5:44 
AnswerRe: Change the Project folder's name Pin
Gerry Schmitz31-Mar-18 7:01
mveGerry Schmitz31-Mar-18 7:01 

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.