+ Reply to Thread
Results 1 to 2 of 2

Thread: A time showing tutorial

  1. #1
    ahsan16 is offline Learning Programmer
    Join Date
    Jan 2007
    Posts
    34
    Rep Power
    19

    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 12:07 PM.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    AfTriX is offline Programming God
    Join Date
    Jan 2007
    Location
    Chicago
    Posts
    586
    Rep Power
    0
    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 Attached Thumbnails A time showing tutorial-time.jpg  
    Last edited by AfTriX; 01-10-2007 at 03:29 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 10
    Last Post: 01-09-2012, 02:43 PM
  2. showing current date/time problem !!
    By Paulo_Jorge in forum PHP Development
    Replies: 4
    Last Post: 06-22-2011, 12:42 PM
  3. Replies: 1
    Last Post: 03-31-2010, 10:46 PM
  4. A date showing tutorial
    By ahsan16 in forum Visual Basic Tutorials
    Replies: 3
    Last Post: 12-11-2008, 05:33 PM
  5. Replies: 4
    Last Post: 07-05-2006, 07:28 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts