Lab 10.Write a Visual Basic Program for BOOK Database 07:39 Private Sub Command1_Click() num = InputBox("Enter the isbn No") Adodc1.RecordSource = "select * from book where isbn=...
LAB 9:Write a Visual Basic C++ Program to Display the Position of mouse 07:37 #include<afxwin.h> class myframe:public CFrameWnd { public: myframe() { Create(NULL,"simple dialog box"); } void ...
Lab: 8 Write a Visual Basic C++ Program to create & load simple menu in a window 07:36 #include<afxwin.h> #include"resource.h" class myframe:public CFrameWnd { public: myframe() { Create(NULL,"Menu...
Lab 7:Write a Visual Basic Program to implement username and password 07:11 Private Sub Command1_Click() Dim str1 As String Dim str2 As String str1 = (Text1.Text) str2 = (Text2.Text) Adodc1.RecordSource = ...
LAB 6:Write a Visual Basic Program to create Sequential file containing name, address,city,pincode ect 07:09 Private Sub Command1_Click() Open "C:\Users\Ritesh\Desktop\bca4.txt" For Append As #1 Write #1, Text1.Text, Text2.Text, Text3.T...
Lab 5:Write a Visual Basic Program for Employee details 07:03 Private Sub Command1_Click() Text1.Text = " " Text2.Text = " " Text3.Text = " " Text4.Text = " ...
Lab 4:Write a Visual Basic Program for Vending Mechine 07:01 Private Sub Command1_Click() If Option1.Value = True Then MsgBox ("Your Bill is " & Label2.Caption * Val(Text1.Text) &...
Lab 3: Alarm Clock 06:53 Private Sub Command1_Click() Text2.Text = InputBox("Enter The Alarm Time") End Sub Private Sub Timer1_Timer() Text1.Text = ...
Lab 2: MDI Form And Child Form 06:49 IN CHILD FORM CommonDialog1.ShowFont Text1.FontName = CommonDialog1.FontName Text1.FontSize = CommonDialog1.FontSize End Sub Privat...
Lab 1: Student detait 06:44 Private Sub Command1_Click() Text5.Text = ((Val(Text2.Text) + Val(Text3.Text) + Val(Text4.Text)) / 300) * 100 End Sub Private Sub Comm...