ATM Simulator in Microsoft Visual C#

advertisement.gif

ATM Simulator Version 1.0

Created by Izzat Zainol using Microsoft Visual C# 2008 Express Edition

Description:
This is a basic ATM simulation and it will give the idea on how transaction were made by a real ATM. It has a login page. An account number will substitute our ATM card in this situation. Once you are login, you will be presented a menu varies from check your balance, deposit, withdrawal and quick withdrawal.

This is a login page.
welcome-ss.png

This is the welcome screen soon after you login in. You can choose your operation back and forth from here.
menu-ss.png

Mine the silly girlish background. I’m in loved with things that has retro touch in it :-p

I might stress this is very basic function of ATM. I just done it for my C# Course Training provided by MDEC. So I thought it would be a good idea if I share the code and it might benefits others. If you have any suggestions or features that you would like to see in this ATM simulator please do so in the comment form below. I will try my best to add it. Also notify me any bugs or error that you encounter.

Instruction on how to use the program. First download the file. Extract it into one folder. In that archive files includes all the Microsoft Visual C# 2008 programming files together with the database that being used for this ATM simulator. Database file named MDECBank.mdf.

Please don’t forget to update your connection strings with the database details :-)

Open up GlobalDBConnection file and edit the database value to your respective database file location.
//Connection to database
private string con = "Data Source=.\\SQLEXPRESS;AttachDbFilename=C:\\Users\\Izzatz\\Desktop\\MDECBank.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True";

The default login is;
Account number : 123
Pin Number : 123

The default login will be my account, Izzat Zainol. You can edit all of these details in database explorer later.

Version History

Version 1.0 – (14 June 2010)
-Initial release

Related Posts with Thumbnails
  • Jalal Maheri

    that's good!

  • curay

    halo,,thank you for your kindness ,,it really help me a lot from an…

  • http://izzatz.com/ Izzat Zainol

    Glad that you found it useful for both of you :-)

  • imagine

    your work is great..
    i am facing problem regarding connection string..
    will you tell me how i could get access to db? 

  • http://izzatz.com/ Izzat Zainol

    hello there imagine, you just had to change the database connection line with your own connection string. Just refer the above post. I’ve updated the tutorial.

  • imagine

    i did it.. but still its not taking this Account # and Pin #
    even i can’t open DB. 

  • http://izzatz.com/ Izzat Zainol

     hmm thats odd. are u sure the sql service has started?

    well if you want me to help further i’ll be glad to assist you, but it would make it easier if you posted your problem on my forum

    http://forum.izzatz.com/programming-support-f20.html

    create a new account, and mentioned all the details, error message, your database connection string and some screenshot will help too

  • imagine

    i posted there.
    help me to the access the db..
     

  • http://izzatz.com/ Izzat Zainol

     allrite, i’ll try my best to help you..just keep checkin on the forum :-)

  • Junaid Kiyani

    Dear Izzat Zainol

    I am facing a problem to opening the database. i have installed SQL 2005 and 2008 also to open it. but it gives error. Please look on it or gives the image of the database and its relation. By using that i’ll build the database on SQL. i tried the database on both windows XP and VS and Windows Server 2003 and SQL express.

    Regards,

    Junaid Kiyani

  • http://izzatz.com/ Izzat Zainol

     hello there, could you join this conversation and help us identify the problem?

    http://forum.izzatz.com/help-required-in-atm-simulation-t558.html

    please mentioned your error in details..

  • Junaid Kiyani

    Here is the error while attaching the DB in VS.  cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported. i installed the new SQL2008 and also upgrade the SQL 2005 to 2008. but this error is still.

  • imagine

    same problem i was facing. 

  • imagine

    same problem i was facing. 

  • Festus O. A

    Dear Izzatz, thanks for this wonderful job. please this topic has just been approved to me by my supervisor. can you kindly send me the full write-up of this topic.
    thanks
    festabbey_01@yahoo.com

  • Wengzhun

    they always say multifuntion

  • Mimi

    Hi, I get the system malfuntion error when i try to login.. can u plz help?