Lost Password?

  #1 (permalink)  
Old 01-08-2007, 12:46 AM
ahsan16 ahsan16 is offline
Learning Programmer
 
Join Date: Jan 2007
Posts: 58
Rep Power: 7
ahsan16 is on a distinguished road
Default A time showing tutorial

Introduction
=========

This is a very basic introduction to visual basic. This is my first step towards vbs. I have used notepad for making it and actually Visual Basic is not needed. Now just a little introduction to the program. Actually it shows the current time as the time of your computer. This is not a important one but a good step towards first programming .

What is Visual Basic?
================

Visual Basic (VB) is an event driven programming language and associated development environment created by Microsoft. It is derived heavily from BASIC. VB enables Rapid Application Development (RAD) of graphical user interface (GUI) applications, easy access to databases using DAO, RDO, or ADO, and easy creation of ActiveX controls. A programmer can quickly put together an application using the components provided with Visual Basic itself.

Tutorial
======

The tutorial can be made by notepad and it is much easy.

Open Notepad and paste this :

Code:
Msgbox "The current time is : " & time
Now save the file as Time.vbs or what ever name (except .vbs) you want. Now double click on the file and check what have you done!

ScreenShot
=========






Last edited by Jordan; 01-10-2007 at 02:07 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-10-2007, 04:50 AM
AfTriX AfTriX is offline
Programming God
 
Join Date: Jan 2007
Location: Sri Lanka
Posts: 596
Rep Power: 0
AfTriX is an unknown quantity at this point
Default

Yeah, this Notepad stuff is really cool, anyone knows VB can add more things as you wish, such as Type of Dialog Box and the Title Bar text

Code:
Msgbox "The current time is : " & time ,vbInformation, "Time"
Attached Thumbnails
To view attachments your post count must be 1 or greater. Your post count is 0 momentarily.

Last edited by AfTriX; 01-10-2007 at 05:29 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
A date showing tutorial ahsan16 VB Tutorials 2 03-15-2007 09:08 AM
John's Java Tutorial Index John Java Tutorials 0 01-11-2007 03:05 PM
TUTORIAL: Save time using the PHP include Function <?php include Dan PHP Tutorials 5 01-01-2007 10:19 AM
Odd Timestamp dirkfirst C# Programming 10 12-08-2006 04:40 PM


All times are GMT -5. The time now is 08:07 PM.

Contest Stats

GoogleKeyw ........ 20.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 67%

Ads