Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 03-25-2011, 03:48 PM   #1
Solid State Member
 
Join Date: May 2010
Posts: 14
Question c or visual basic?

I am new to programming and i need to write an application that will monitor my database and email any activities i.e editing, modifications, deleting and creation of new records and a daily summary. but the question is which of the above languages should i use?
__________________

donmuz731 is offline   Reply With Quote
Old 03-26-2011, 09:55 AM   #2
Fully Optimized
 
strollin's Avatar
 
Join Date: Mar 2011
Location: USA
Posts: 1,944
Default Re: c or visual basic?

If you are new to programming, C has a steeper learning curve than VB.
__________________

strollin is offline   Reply With Quote
Old 03-26-2011, 01:06 PM   #3
Site Team
 
celegorm's Avatar
 
Join Date: Sep 2006
Posts: 10,713
Send a message via AIM to celegorm
Default Re: c or visual basic?

C might have a steeper learning curve, but it's a lot more useful and stronger than VB. Not to mention that it's just a great langauge to know for background, VB doesn't get you that far in programming.
__________________
"as a fanboy i refuse to admit it and will pull countless things out of my butt to disprove it"

Team Thelegorm! Total Kills: 21 (i iz in uor profile, editsing your sigz)
celegorm is offline   Reply With Quote
Old 03-26-2011, 03:39 PM   #4
Fully Optimized
 
strollin's Avatar
 
Join Date: Mar 2011
Location: USA
Posts: 1,944
Default Re: c or visual basic?

It's true that C is a more robust language but unless the OP wants to make a career of programming, VB should do the job for him and will be more productive in a shorter amount of time. I've been programming in C since 1984 and still use VB for quick and dirty stuff.
strollin is offline   Reply With Quote
Old 03-26-2011, 05:43 PM   #5
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: c or visual basic?

Problem with VB is you get into the habit of doing quick and dirty stuff too easily, and then find it difficult to change. C would be a better bet if you're more serious - but it's a very old language these days. Why are you just choosing between these two? Have you considered other languages? I'd suggest going with Java if you're a beginner (see my sticky for more info.)
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 03-29-2011, 05:07 PM   #6
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: c or visual basic?

Quote:
Originally Posted by donmuz731 View Post
I am new to programming and i need to write an application that will monitor my database and email any activities i.e editing, modifications, deleting and creation of new records and a daily summary. but the question is which of the above languages should i use?
Have you considered c++?
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 04-16-2011, 06:44 AM   #7
Solid State Member
 
Join Date: Apr 2011
Posts: 9
Default Re: c or visual basic?

C is a more powerful language, but unless the OP wants to make career planning, C may have a steep learning curve, if you are new to programming, C has a steep learning curve than VB.
jackssmith is offline   Reply With Quote
Old 04-16-2011, 07:53 PM   #8
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,007
Default Re: c or visual basic?

different strokes for different folks people.

if I wanted to write something that took some text file for example, analysed is and made a graphed result, I'd use C (have before will again)
if i want to collect WMI data from a host of different servers to see the memory use for either all of a single application on those servers then I'll use vbs (in fact I did this last week, it took me about an hour to write the script how long do you think it'd have taken to create a program in C that queries 4 different servers, pulls out WMI data for processes running, cooks it and the records the values to an output file?).
If I want to make a media program, slide shows, video player CD player etc i'd possibly use media builder -fast quick simple...
and so on...

Fair enough I could do all other those things, in C, or in Java, or in C++, or in PHPGD or possibly any number of different languages, but I'll choose the best one for the job...

and the best tool for the job here, is neither VB, nor C, it's SQL. put some triggers on the tables such that when the data is edited you get an email alert directly from the server.
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 10-24-2012, 02:30 AM   #9
In Runtime
 
Fujitsu_Technician's Avatar
 
Join Date: Sep 2012
Location: UK
Posts: 284
Default Re: c or visual basic?

All programming languages are strong in their own right, visual basic being the easiest one to learn out of them all I would agree with root and sql being the better language to write this in me personally a visual basic lover in the fact all the tools are there for you to use. And the language itself is easy to learn I have also done assembly and looking to do python now but there are some great tutorials on YouTube in all languages including what you are trying to achieve I would help you more if you went with visual basic but the choice is yours.
Kind Regards
Fujitsu_Technician is offline   Reply With Quote
Old 10-24-2012, 02:37 AM   #10
In Runtime
 
Fujitsu_Technician's Avatar
 
Join Date: Sep 2012
Location: UK
Posts: 284
Default Re: c or visual basic?

Quote:
Originally Posted by celegorm View Post
C might have a steeper learning curve, but it's a lot more useful and stronger than VB. Not to mention that it's just a great langauge to know for background, VB doesn't get you that far in programming.
Visual basic is a powerful language as well you can make many programs in visual basic and is the most popular and tort programming language in most colleges. and not to Mention the easiest to learn. and all the tools are there for you to use and desighn your own forms.
Kind Regards
__________________

Fujitsu_Technician is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 04:13 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0