1 / 20

Visual Programming

Visual Programming. Lecture No.01. Visual Programming. Problem Solving: Identifying problem and finding the best solution. A problem may be solved in different ways. Different Strategies , techniques and tools are used to solve a problem. In computer different techniques are:

theo
Download Presentation

Visual Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Visual Programming Lecture No.01

  2. Visual Programming Problem Solving: Identifying problem and finding the best solution. A problem may be solved in different ways. Different Strategies, techniques and tools are used to solve a problem. In computer different techniques are: Algorithm Flow Chart Program

  3. Visual Programming Advantages of Algorithm Reduced complexity Increased Flexibility Ease of understanding

  4. Visual Programming Visual Programming provides user friendly environment in the from of objects like, windows, menus, buttons, list box etc to develop Graphical User Interface (GUI) applications. In visual Programming the programmer design user interface visually instead of writing too much code. Visual Programming languages are event driven languages. Like, clicking the mouse button, typing a character from keyboard.

  5. VB.Net It was derived from BASIC (Beginners All-Purpose Symbolic Instruction Code) in 1991. Version 1.0 (1991) Version 6.0 (1998) Version VB.Net (2002)

  6. VB.Net IDE(Integrated Development Environment) WHAT:: IDE is collection of predefine facilities for creating, compiling executing and managing programs. WHY:: The programmer can easily develop and test programs by using IDE. HOW:: Design Mode: it is used to develop application Run Mode: it is used to run the application Break Mode: it is used to paused the application

  7. VB.Net Components or elements of IDE: Menu Bar like File, Edit, view, Project etc Toolbar Different commands and operations are placed in the form of small buttons. Form It is a base to create a user Interface Toolbox Toolbox contains different Controls or Objects.

  8. VB.Net Properties Windows Alphabetic view: Categorized view: Form layout window It shows the position of the form on the screen when the program will be executed. Project Explorer window It contains all the forms and modules used in application. Code Window It contains statements/code when some event occurs

  9. VB.Net Application Development Steps in VB.Net: Drawing the User Interface Means communication b/w a program and the user. Assigning Properties Properties of different objects are set. Properties describe the appearance of the object. Attaching Code To perform a specific task each object contains its own code.

  10. VB.Net Introduction to Microsoft.net or visual studio: .net technology is a frame work which support to develop distributed application.( .net allow us to develop or design application which are able to run on different devices , o/s, web browsers etc. .Net Frame work benefits: 1- Simple development .Net support more then 20 languages e.g C , C++, Csharp, Cobol, Pascal, Vb, Java script, Pearl etc. so developer just need to make emphases on algorithm rather than focusing on implementation details.

  11. VB.Net 2. Support for Web Standards .Net has full support for web standards like HTML, DHTML, XML, CSS etc. 3. Unified Programming Modules The full functionally support is available for all .Net languages. 4. Components of .Net CLR (Common language runtime) CTS (Common type system) CLS (Common language specification) .Net Frame Work class Library ADO.Net ASP.Net

  12. VB.Net Common Language Runtime: CLR is not new in .Net , many other languages may also support it, i.e VB6 VC++, Java, VFaxpro. Etc. But the critical role of .Net frame work is that it produce a unified language support. CLR provide support for , Development of components at runtime. Memory Management at runtime. Components of CLR Class Loader: it manages and load the layout of the classes. MSIL: it is used to convert MSIL into native code. When you compile your Visual Basic .NET source code, it is changed to an intermediate language (IL) that the CLR and all other .NET development environments understand.

  13. VB.Net Code manager: it manages code execution. Garbage collector: it is a multithreading utility which provides automatic life time management of all your objects. Debug engine:it allow you to debug your application and trace the execution of code. Type Checker: it does not allow unsafe costs or uninitialized variables. Exception handling: it provides exception handling. Thread Support: it provides classes and interfaces that enables multi-threading programming.

  14. VB.Net CTS (Common type system) The common type system is the formal definition of how all types in the .NET framework are constructed, declared, used, and managed. common type system is more than an object model. CLS(Common Language Specification) many languages for one platform" (while Java is "one language for many platforms")

  15. Net Frame work class library The .Net frame work class library is a collection of reusable classes and name spaces which are lightly integrated with CLR. ADO.Net It consist of classes and ADO objects. ASP.Net It is a programming network built on the CLR that can be used on a server to build powerful web application. VB.Net

  16. VB.Net OOP (Object Oriented Programming) OOP is a programming technique in which we orients objects. programming is technique or layout to solve our problems. In OOP we prepare solution in the from of object of a problem. Object Class Class: Class is a structure or construct which encapsulate properties as well as behavior of certain entity for the purpose of getting following three main benefits; Data abstraction Data encapsulation Polymorphism

  17. VB.Net Class can encapsulate two things; Properties Behaviors ( Functions/Methods) For example: Human Properties are color, height etc. and behaviors are go, sit, eat. Class Vs Objects class has same relational ship with objects as a data type with its variable. An object is called as instance of a class because it implement all the behaviors and characteristic of class physically in the memory.

  18. VB.Net Relation of Class and Objects Class is just like “negative” (picture) while object is its positive. Class (negative) made one time while object (positive) is made again and again when needed using class(negative). Encapsulation Concepts: Oop encapsulate data and functions/methods into packages called objects. Object have the property; of information hiding. This means that although objects may know how to communicate with one another across well-define interface, objects normally are not allowed to know how other objects are implemented . that is implementation details are hidden with in the objects themselves. It is same as to drive a car without knowing the details of how engine works internally.

  19. VB.Net This means that although objects may know how to communicate with one another across well-define interface, objects normally are not allowed to know how other objects are implemented . that is implementation details are hidden with in the objects themselves. It is same as to drive a car without knowing the details of how engine works internally. Data encapsulation: “Data encapsulation is the process of data members eventually hide the implementation details of your class from user.”

  20. Be soft & cool like water so u can adjust anywhere in life.

More Related