Read without ads and support Scribd by becoming a Scribd Premium Reader.
 
Edwardes College Peshawar
2011
Visual Programming
HND Computing 3rd Semester
Najam – U – SaquibSubmitted To : Mr.Sadaat Ali Asad
 
57Visual Programming
INTRODUCTION
Microsoft Visual Studio is anintegrated development environment(IDE)fromMicrosoft. It can be used to developconsoleandgraphical user interface applicationsalong withWindows Formsapplications,web sites, web applications,andweb servicesin bothnative codetogether withmanaged codefor all platforms supported byMicrosoft Windows,Windows Mobile,Windows CE,.NET Framework ,.NET Compact Framework andMicrosoft Silverlight. Visual Studio includes acode editor supportingIntelliSenseas well ascode refactoring. The integrateddebugger works both as a source-level debugger and a machine-level debugger. Other built-in tools include a forms designer for buildingGUIapplications, web designer,class designer, anddatabase schemadesigner. It accepts plug-ins that enhance the functionality atalmost every level including adding support for source-controlsystems(likeSubversionandVisual SourceSafe) and adding new toolsets like editors and visual designers for domain-specific languagesor toolsets for other aspects of thesoftware development lifecycle(like theTeam Foundation Server client: Team Explorer). Visual Studio supports differentprogramming languagesby means of language services, whichallow the code editor and debugger to support nearly anyprogramming language,provided alanguage-specific service exists. Built-in languages includeC/C++(viaVisual C+ +),VB.NET(viaVisual Basic .NET),C#(viaVisual C#), andF#(as of Visual Studio 2010). Support for other languages such asM, PythonandRubyamong others is available via language services installed separately.It also supportsXML/XSLT,HTML/XHTML,JavaScriptandCSS. Individual language-specific versions of Visual Studio also exist which provide more limited language services to the user:Microsoft Visual Basic, Visual J#, Visual C#, and Visual C++.
 
57Visual Programming
Task 1: Form Height & WidthDescription:
In this program, there are total four buttons: Increase height & width, decrease height& width. By clicking any of the buttons, it performs that task of increasing decreasing height &width of the form.
 Coding:
Public Class Form1  Private SubButton1_Click(ByValsenderAsSystem.Object,ByValeAsSystem.EventArgs) HandlesButton1.Click Me.Height =Me.Height + 500  End Sub  Private SubButton2_Click(ByValsenderAsSystem.Object,ByValeAsSystem.EventArgs) HandlesButton2.Click Me.Height =Me.Height - 500  End Sub  Private SubButton3_Click(ByValsenderAsSystem.Object,ByValeAsSystem.EventArgs) HandlesButton3.Click Me.Width =Me.Width + 500  End Sub  Private SubButton4_Click(ByValsenderAsSystem.Object,ByValeAsSystem.EventArgs) HandlesButton4.Click Me.Width =Me.Width - 500  End Sub End Class
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • Notes
    Load more