Introduction to Visual basic IDE presentation.pdf

jrcamarote 8 views 6 slides Jun 20, 2024
Slide 1
Slide 1 of 6
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6

About This Presentation

the Visaul Basic IDE


Slide Content

VB.Net
(IDE)

•Form –Act as container for other components and controls
•Label –normally used to hold text on the form
•Textbox –is used either to display text or accept input from the user
•Button –is used to activate an event that calls a method or a
procedure. It is the corner stone of almost all ofhewindows
application.
•GroupBox–has a thin borders and a caption. Its is used to arrange
controls with similar functions
•Panel –can include scrollbars, but do not include caption. It is also
used to group controls with common functions.

IDE Controls
•Four object used Reading and Writing into library and text files
•Binary Writer
•Binary Reader
•Stream Writer
•Stream Reader
•Four keyword in VB Exceptions
•Throw
•Try
•Catch
•Finally
•two methods accessing files
•Sequential Access
•Random Access

1.systemIO-A namespace used to allow reading and writing to a file.
2.path-Specifies the unique location of an object into the file system.
3.File Class -Provides static methods for the creation, copying, deletion,
moving, and opening of a single file, and aids in the creation of
FileStreamobjects
4.Write time -Identifies the date and time when an object was modified.
5.Access Time -Identifies the date and time when an object was accessed
or opened.
6.Creation Time -Identifies the date and time when an object was created.
7.Directory Class -Exposes static methods for creating, moving, and
enumerating through directories and subdirectories
8.File Stream -Used to support reading and writing data into a file.
9.Get Parent -The parent directory of the specified path, including both
absolute and relative paths.
10.Stream Writer -An object used to write into binary files.

1.Exceptionis a term that refers to a response to an exceptional circumstances or
error that arises while a program is running.
2.Visual Basic Exception handling is built upon keywords.
3.A “Try block”identifies a block of code for which particular exceptionswill be
activated.
4.Visual Basic does not allow programmers to create new exceptions types that
are specific for the problems that occur in the program.
5.There are existing exception classes from the .NET Framework that
programmers can utilize to indicate exceptions that occur in their programs.
6.The System.IO class needs to be imported in order tomodify folders and files.
7.The Directory class has a method that is able toretrieve the date and time
when a folder is created.
8.File.Move() can also be used to rename specific file.
9.File.Open() opens a specific text file using default editor.
10.The File class has a method that is able tomodify date or file location.
Tags