Friday, May 6, 2011 Tutorial 1 : Environement

As i know it's not easy to start a new language i decided to make a tutorial : this is the first part, it only shows the environment of the IDE.


What you need is :
processor : P2 450Mhz
RAM : 128mo
Disk space 3Gb
VideoCard : 800x600 256 colors
CD Drive
OS : all from windows 2K


The right part is the solution explorator and the property window.
At the center, like in VB6 this is the graphical user interface.

This is used to list all the objects of a server (SQL servers, papers or services...) This window in principally used for accessing the scheme of a database used in a application.

The solution explorer save all the elements of your project ( configuration files, file for assembly, inherited classes, sheets...)

A solution contains those elements :
.sln : file configuration project
.vbproj : project file ( it was named .vbp in VB6)
.vb : file containing code (like .bas or .frm in VB6)

Classes display is used to list your classes, method, properties events and other relations.

Already present in the 6.0 version this window lists all the property relatively to the selected object.

Project management

To create a project : file -> New -> Project.

The main project you can make are :
  • Windows Application
  • Class library
  • Smart device application
  • Application web
  • Service web
  • Console application
  • Windows service

Configuring your project

Name of the assembly : Name of the file generated after compilation
Exit Type : What type of application.
Start object : sheet using to start the program.
Namspace root : Used to define a préfix for using with all classes available in your project
Icon : The .ico file used to define the Icon of your application
Option Explicit : forbid using a variable not declared
Namespace : Allows you to define namespaces that will be automatically imported in your project
Path : Define the folder where are the references used in the project.
Language of script client : Type of language used.

Compilation constants : this option is used to define constants for your code.
Exit path : Folder where your application will be built.
Work path : Active path for your application

No comments:

Post a Comment