Access, VB, c# or C++ for a database application?

Posted on 2004-12-01
Last Modified: 2012-05-05

I have written an application in Microsoft Access which works fine for what we want at the moment. The problem is we have a number of satellite offices which will need to access the database. I am therefore going to move the database onto SQL Server as step one, and carry on using Access as the front end until the database has settled in.

In order to roll it out to the other offices I have a number of questions:

1) If the Access database is installed at each office locally with a connection to the SQL server over the VPN can I expect a reasonable performance? I assume because all the forms, etc are local then only the data would be transferred over the VPN. Issues arise, I guess, when (for example) the user is browsing through a dataset using a single form with record navigators, would Access grab the whole dataset or just fetch each record as it was being viewed? I understand this might not be an ideal solution but from a business viewpoint Access is so fast to develop in it would be the ideal choice.

2) The other option I have come up with is to write a front-end application in VB/C++/C# which would connect to the SQL database and could be written in such a way that it wouldn't ask for large data sets in one go. VB would be the obvious choice for me as I have a lot of experience of VBA and the transition would be fairly painless. Although when I have worked with VB in the past it does seem a bit fiddly when it comes to handling databases (particularly when compared with Access).

So, in summary, am I better continuing with Access or using a devlopment tool. If so which would be the best VB, C++ or C#?


Question by:pauldonson
    LVL 48

    Accepted Solution

    >> Am I better continuing with Access or using a devlopment tool.

    Access is good desktop database, but professional systems are developed using some programming languages and not VBA. Access VBA is good to make some simple DB system quickly, and intended mostly for beginners or non-programmers.

    >> If so which would be the best VB, C++ or C#?

    VB - very good for DB programming. However, this language has no continuation, Microsoft switched to .NET and suggests to convert existing applications to VB .NET or C#. It is not a good idea to start VB development now.

    C++ - not recommended for DB programming. C++ developer need to write a lot of code, and application doesn't perform better than VB or .NET applications. C++ has advantages in other programming areas (graphics, networking, real time etc.)

    C# - the best of .NET languages, very good for DB programming. Restriction - requires installing of .NET Framework on the client computer. However, this is not a big problem on XP OS.

    Author Comment

    Thanks for that AlexFM.

    For someone coming from a VBA background (I have used Delphi and some other proprietory languages in the past) - would you say C# was suitable or would I be better going for Are they both OK for working with SQL?
    LVL 48

    Expert Comment

    They both OK for SQL. All .NET languages are working with the same resources - .NET Framework. The difference is only in syntax.
    VB programmers usually decide to work with VB .NET. To my opiniin, C# is much better and looks like real programming language. On the other hand, there is a lot of DB programming samples in VB.NET. It is your decision what langusge to choose, you have the same tools in both ot them.

    Having some experience in .NET programming, you will see that all .NET languages are the same and it is possible to work in any of them.

    However, there are other choices like Java and possibly something else. Other EE experts may add their opinion about this.

    Author Comment

    OK thanks for your input.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    ShiftLeft challenge 21 52
    array220 challenge 8 32
    Path of Workbook 3 30
    Microsoft C++ code failing in executable that worked 9 16
    RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
    This article will show, step by step, how to integrate R code into a R Sweave document
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now