...
Bài tập 1II-3
LỰA CHỌN VỚI LISTBOX
Bước 1: Tạo thư mục Basic\ Bt1II-3. Tạo dự án mới VB Standard EXE trong thư mục
trên, sau đó tạo Form có dạng sau:
TT. VisualBasic
Bài tập 2-2 ... 180 * PI
End Function
TT. VisualBasic
Trang 25
Chương 2
LẬP TRÌNH SỰ KIỆN NÂNG CAO
& ĐỒ HỌA TRONG VISUAL BASIC
Mục tiêu:
Chương này gồm các bàitập nhằm mục đích rèn luyện ... tập tin.
- Cách thức truy cập tập tin tu
ần tự.
- Cách thức truy cập tập tin truy xuất ngẫu nhiên.
Kiến thức có liên quan:
Giáo trình Visual Basic, Chương 7.
Tài liệu tham khảo:
- Visual...
... Design: Nguyễn Hiền Du
4. Tập hợp controls
Có thể xem tập hợp (collection) như mảng, nó có
thể tự động tăng phần tử hoặc giảm phần tử khi
có yêu cầu.
Tính chất Count của tập hợp Controls báo cho...
... lặp lại từ tháng 1 đến tháng N.
==================
5. Trở lại bài toán tính tiền gửi ngân hàng có tiền lãi hàng tháng gộp vào vốn (bài tập trên).
Câu hỏi bây giờ là: cần gửi tối thiểu là bao nhiêu ... máy SOMAY
+.Người chơi nhập vào một số (SONHAP)
Nếu số nhập lớn hơn số máy thì thông báo
Bài tập về vb 2005
Tính giai thừa
Private Sub Command1_Click()
ketqua = 1
For i = 2 To Text1.Text
ketqua ... chương trình nhập số nguyên n và xuất ra trên Textbox n số Fibonaci đầu tiên
==================
4. Bài toán tính tiền lãi gửi ngân hàng:
Nhập tiền vốn ban đầu, số tháng gửi N và lãi suất hàng tháng....
... Figure 1-4. From this
dialog, you can launch the VisualBasic2005 Upgrade Wizard, which can help you convert
Visual Basic 6 programs to VisualBasic2005.
❑ Close — This command closes the current ... build VisualBasic .NET programs, you will also need a copy of VisualBasic .NET. Don’t bother trying
to run the examples shown here if you have a pre NET version of VisualBasic such as VisualBasic ... VisualBasic 6.
The changes between VisualBasic 6 and VisualBasic .NET are huge, and many VisualBasic .NET con-
cepts don’t translate well into VisualBasic 6. With some experience in C#,...
... at:
http://lab.msdn.microsoft.com/vs2005/downloads/starterkits/
34
Part I: The Basics of VisualBasic Express
06_597051 ch02.qxd 10/20/05 1:28 PM Page 34
50
Part I: The Basics of VisualBasic Express
07_597051 ... can
64
Part I: The Basics of VisualBasic Express
08_597051 ch04.qxd 10/20/05 1:33 PM Page 64
The second resource is a set of examples located at:
http://lab.msdn.microsoft.com/vs2005/downloads/101samples/def
ault.aspx
Many ... runs.
Figure 2-3:
This form
is your
primary
visual
design
surface;
it’s where
you write
your pro-
gramming
code.
26
Part I: The Basics of VisualBasic Express
06_597051 ch02.qxd 10/20/05 1:28...
... The Basics of VisualBasic Express 11
Chapter 1: What It’s All About: VisualBasic Express Takes a Bow . . .13
Something Strange Happened in Orlando 14
Visual Basic through the years 14
Visual Basic ... Design For Dummies, Visual
Basic .NET Weekend Crash Course, VisualBasic .NET Database Programming
For Dummies, VisualBasic .NET All-in-One Desk Reference For Dummies, and
Visual Basic 6 Database ... programming can be done with VB Express. But,
best of all, many of VisualBasic s features are still easy to use. The tools
2
Visual Basic2005 Express Edition For Dummies
03_597051 intro.qxd 10/20/05...
... programmers using a tool such as
Visual Studio 2005, using a language like VisualBasic2005.
In this chapter, I take a look back at how the language has changed since
Visual Basic 6.0. Then I cover the ... version of VisualBasic for 2005. As its name
implies, VisualBasic is a visual way to create new programs for the
Microsoft Windows family of operating systems.
And though it is basic in many ... Applications in VB 2005
07_57728x ch03.qxd 10/3/05 6:36 PM Page 47
Chapter 1
Wading into Visual Basic
In This Chapter
ᮣ Seeing where VB fits in with .NET
ᮣ Writing your first VisualBasic2005 program
ᮣ...
... into Visual Basic
In This Chapter
ᮣ Seeing where VB fits in with .NET
ᮣ Writing your first VisualBasic2005 program
ᮣ Exploiting the newfound power of VB
T
o get started with VisualBasic 2005, ... programmers using a tool such as
Visual Studio 2005, using a language like VisualBasic2005.
In this chapter, I take a look back at how the language has changed since
Visual Basic 6.0. Then I cover the ... Quick Look Back at Visual Basic
When you think about Visual Basic, you probably also think about Microsoft
Windows applications. For 15 years, developers have used the Visual Basic
program’s Ruby...
... 2005 IDE
You don’t actually need the VisualBasic2005 product to write applications in the VisualBasic2005 lan-
guage. The actual ability to run VisualBasic2005 code is included with the .NET ... the update process, Visual Studio 2005 is ready to use. Now the real fun can
begin! So get comfortable, relax, and let us enter the world of VisualBasic2005.
The VisualBasic2005 IDE
You don’t ... write in VisualBasic2005 is by using the Visual
Studio 2005 Integrated Development Environment, also known as the IDE. This is what you actually see
when working with VisualBasic2005 the...
... features VisualBasic2005 fits the bill. In fact, it’s the Visual
Basic makeover many programmers have spent years waiting for.
This book provides a guided tour through the world of VisualBasic2005. ... History of VisualBasic
Visual Basic has its roots in BASIC, a simple teaching language that program-
mers once learned before graduating to more serious languages like C.
Visual Basic inherited ... before you
can start creating real VB 2005 programs, you need
a basic understanding of a few .NET concepts. These
concepts—the basics of VisualBasic2005 range over every aspect of the
language....