... Windows Forms Lesson: Creating a Form !Windows Forms vs. Web Forms!How to Create a Form !How to Set Form Properties!Form Life Cycle!How to Handle Form Events!Windows Form Designer-Generated ... Windows Forms vs. Web Forms How to Create a Form How to Set Form Properties How to Handle Form Events Windows Forms Designer-Generated Code Module 1: Introducing Windows Forms 7 ... Option menu on MainForm. 4. Open the Options form. Module 1: Introducing Windows Forms 1 Overview !Creating a Form!Adding Controls to a Form!Creating an Inherited Form!Organizing...
... Microsoft VisualBasic programmers how to build n-tier client/server solutions for Windows 2000 by using Windows DNA 2000 and COM+ technologies. Audience This course is intended forVisualBasic ... control an Automation server, such as Microsoft Excel or Microsoft Word, from a VisualBasic application. ! Create code components by using VisualBasic and invoke them from a client application. ... BackOffice, MS-DOS, Windows, Windows NT, Windows 2000 Server, Microsoft Visual Basic, Active Directory, ActiveX, PowerPoint, Visual Basic, Visual Studio, and Windows Media are either registered trademarks...
... BackOffice, MS-DOS, Windows, Windows NT, Active Directory, ActiveX, PowerPoint, Visual Basic, Visual InterDev, and Visual Studio are either registered trademarks or trademarks of Microsoft Corporation ... then click Continue: • Microsoft VisualBasic 6.0 • Microsoft Visual InterDev 6.0 • ActiveX • Data Access • Enterprise Tools • Tools 11. Setup will install Visual Studio. 12. On the Restart ... Microsoft SQL Server 7.0 Service Pack 2 ! Microsoft Visual Studio 6.0, Enterprise Edition • Microsoft VisualBasic 6.0 • Microsoft Visual InterDev 6.0 • Microsoft ActiveX • Data Access...
... tenfile For Output As #1 Print #1, MDIForm1.ActiveForm.Text1.Text Close #1 End Sub TT. VisualBasic Trang 13 ' Chep tu phai sang trai Form1.List1.AddItem Form1.List2.List(Form1.List2.ListIndex) ... If Form1.List1.ListIndex = -1 Then Exit Sub ' Chep tu trai sang phai Form1.List2.AddItem Form1.List1.List(Form1.List1.ListIndex) ' Xoa ben trai Form1.List1.RemoveItem Form1.List1.ListIndex ... thư mục trên, sau đó tạo Form có dạng sau: TT. VisualBasic Bài tập 2-2 ĐỒ HỌA VỚI BASIC Bước 1: Tạo một dự án mới trong thư mục Basic\ Bt2-2. Bước 2: Trong Form1 ta tạo Menu có dạng:...
... trong Sub Form_Load. ( xem Function GetSetting ) Àïí cho Form2 hiïån ra bïn phẫi vâ ngang hâng vúái Form1, trom Sub Form_Load ca Form2 dng: Sub Form_Load() Move Form1.Width, Form1.Top ... loaded. Dim i As Integer FormIsLoaded = False For i = 0 To Forms.Count - 1 If Forms(i).FormName = MyFormName Then nùçm phđa dûúái Tab, dng VBIDE menu Comand "Format | Order | Bring to ... Múã Form2 ra 2. Dng Properties àïí àưíi tïn Form2 ra Form3 3. Dng File | Save As menu command àïí chûáa Form nêìy dûúái tïn Form3.frm Bêy giúâ bẩn cố thïm Form3 trong Project, trong khi Form2.frm...
... sau: Const PI As Double = 3.14159265 Label1.Text = PI8. Làm việc với toán tử trong VISUAL BASIC. NET Visual Basic. NET cung cấp các toán tử cơ bản sau:Toán tử Mô tả+ Phép cộng- Phép trừ* Nhân/ ... hiện thông tin về độ dài cũng như các ví dụ của từng kiểu dữ liệu.Kiểu dữ liệu tự định nghĩa: Visual Basic cũng cho phép ta tự định nghĩa kiểu dữ liệu của riêng mình – gọi là kiểu dữ liệu cấu ... chương trình:Bạn chạy chương trình như đã biết và xem kết quả.10. Thứ tự ưu tiên của toán tử Visual Basic qui ước thứ tự ưu tiên các toán tử như sau:() ^ - (dấu âm) */ (toán tử nhân, chia)...
... VB.NET Chương 8: Debug trong chương trình vb.netChương 8:Gỡ lỗi (DEBUG) trong chương trình VISUAL BASIC. NET oOo Nội dung thảo luận:- Các kiểu lỗi khác nhau trong chương trình- Sử dụng công ... Add: cnt-44-dh, VIMARUHướng dẫn lập trình VB.NET Chương 8: Debug trong chương trình vb.netBạn mở form ở chế độ soạn thảo mã và click chuột vào lề trái của đoạn mã như hình để làm xuất hiện một...
... Trình Web Với Visual Basic PHẦN I : CƠ SỞ LÝ THUYẾT VỀ NGÔN NGỮ VISUAL BASIC I. Tìm hiểu ngôn ngữ lập trình Visual Basic 1. Tổng quan về ngôn ngữ lập trình VisualBasic Visual Basic, con đường ... đồ họa của Windows.Ngôn ngữ lập trình VisualBasic không chỉ là Visual Basic. Hệ thống lập trình Visual Basic, những ứng dụng bao gồm Microsoft Excel, Microsoft Access, và nhiều ứng dụng Windows ... cụ sẽ dùng để xây dựng chương trình VisualBasic 6.0. ActiveX Control trong VisualBasic 6.0. Microsoft Frontpage.Trang 17Lập Trình Web Với Visual Basic <img src="ok.jpg"...
... www.vivosoft.com 20 Inherits System.Windows.Forms.Form Imports System.IO Imports VB6 = Microsoft.VisualBasic Public Class Form1 Inherits System.Windows.Forms.Form Dim AppPath As String Private ... namespaces liên hệ đến VB6 như Microsoft.Visualbasic. Thay vì code: Microsoft.Visualbasic.Left ( InputString,6) ta tuyên bố: Imports VB6= Microsoft.Visualbasic Sau đó ta có thể code: VB6.Left ... VB6, Visual components của một form được chứa dưới dạng Text diễn tả các controls rất dễ đọc ở ngay đầu form file, nhưng nó không phải là VB6 code. Trong .NET, Visual components của một form...