Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I want to write a simple (no too fancy) GUI program which reads data from DB and present it to the user.
the user can browse the data , filter data using substrings and press links in the text.

So basically it should look like a "phonebook".

I started to do it on MFC with ListCtrl but :

1. Its ugly (big square console)
2. I'm having trouble browsing the data in the list

My question is what language is most suitable for this kind of task ? does anyone have a similar "book" program I can use as reference ?

thanks a lot,
tom.
Posted

"Language" depends on you: what do you know? There is not point in suggesting WPF if you have never used it as the learning curve is too steep to make it viable for the project in a reasonable time frame, despite the fact that it's probably the "Best" in terms of "prettiness".

So really, we can't answer: If you only know C++/MFC then that is what you go for - unless you are prepared to invest a lot of time and effort in learning a new language and working environment - none of the alternatives are in any way similar to how MFC works!
 
Share this answer
 
The key parts of your question were "simple" and "no too fancy". Other people may disagree with me but if it was me I would use VB6. It is still widely used for such tasks and there is a wealth of information available on the internet.

If that is too old for you then check into .Net, if I have to use that stuff I prefer VB.Net because of my previous experiences but it doesnt really matter in the end (C#, vb, etc). I learned VB.Net by writing a small DB tool and it was nice (although the new data access objects suck compared to the original ADO).

I personally prefer MFC w ADO for database front ends but as OrigionalGriff stated above, it will take allot of time to learn.

You can make .Net front ends look decent with little effort but in the end it will always look like a .Net application. The stock MFC list control does look horrible but when you draw it yourself the end result can be very nice, but again, back to "reasonable time frame".

good luck
 
Share this answer
 
According to me most suitable language is C++.

Its ugly (big square console) - You can use Ribbon, if want to give fancy look to your application.
Ref : Windows 7 Goodies in C++: Introduction to the Ribbon[^]
Ribbon with C++, Part 1: Introduction to the Windows Ribbon Framework[^]

I'm having trouble browsing the data in the list - You can use following listed controls
The Grid Control[^]
SuperGrid - Yet Another listview control[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900