C++ banking system using console and file to store records

Language

This is just a simple program that reads from file and write to a file details of users and file is encrypted

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byanonymouson Wed, 06/26/2013 - 16:47

  1. password As String
  2.  
  3. Public Function SetCon()
  4. db = New ADODB.Connection
  5. db.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + App.Path + "\Login.mdb"
  6. db.Open
  7. MsgBox (" please enter you password ")
  8.  
  9. password = " noah3000920,& "
  10. Public Function SetRs()
  11. rs = New ADODB.Recordset
  12. rs.Open sql, db, AdOpenStatic, AdLockOptimistic
  13.  
  14.  
  15. Public Function CloseCon()
  16. db.Close
  17. Set db = Nothing
  18.  
  19. Public Function CloseRs()
  20. rs.Close
  21. Set rs = "Nothing"
  22. End Function
(this doesn't work) :(
Submitted byAnonymous (not verified)on Wed, 06/26/2013 - 18:09

In reply to by anonymous

The function SetRs and CloseCon should be close properly. If you have intentionally omit the closing mark. What is the error you encounter?

Add new comment