Connect with Facebook Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Tutorials > VB Tutorials

VB Tutorials Visual Basic Tutorials and Code

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-2007, 12:46 AM
Learning Programmer
 
Join Date: Jan 2007
Posts: 34
Rep Power: 10
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
  #2 (permalink)  
Old 01-10-2007, 04:50 AM
Programming God
 
Join Date: Jan 2007
Location: Sri Lanka
Posts: 586
Rep Power: 0
AfTriX is on a distinguished road
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
time-showing-tutorial-time.jpg  

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 3 12-11-2008 07:33 PM
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 01:41 AM.

Freelance Jobs

XML/XSL: Need code for Book with Chapers using XML
Create an XML file for a book of your creation, and a basic CSS file that will format it to display ...
Earn: $40.00


C++/C: Simple firework cue sequencer
What I require is a rework of a simple cue sequencer. I have a piece of hardware (an Arduino boar...
Earn: $50.00


HTML/XHTML: Menu Rework - ASCIIBin
I'm placing this in the HTML/XHTML section of the Freelance site but you are not limited to HTML. Wh...
Earn: $20.00



CodeCall Goal

Goal #1: 1,000 Blogs
Goal #2: 1,000 Wiki Pages
Goal #3: 300,000 Posts
Goal #4: 20,000 Threads
Done: 30%, 23%, 55%, 75%

Ads