Results 1 to 24 of 24

Thread: [RESOLVED] I'm starting over. Which language should I choose?

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    41

    Resolved [RESOLVED] I'm starting over. Which language should I choose?

    This is not meant to be a loaded question (posted on a VB forum; I just don't belong to any others.) It has been a long time since college when I had to learn VB, and I have forgotten a lot of what I learned. The only other coding that I ever did with any seriousness were scripts for IRC channels, but that too was a decade ago. I have looked over code through other languages like JavaScript, but in the end never really took time to sink my teeth in.

    In other words, I did learn, but I've never done anything too complex outside of one project where I received a lot of help from tutorials and examples.

    Now, I have several small projects (very small) that have been running through my head for a while now, and it's getting on my nerves not doing anything about them. The software that I was using before is far outdated (It probably would not even run in Windows 7,) so I am technically starting fresh.


    I would like recommendations on the language that would be best for me. Of course it means hoping for relatively simple syntax (again, I do have knowledge; this isn't all foreign not me), and as I said before I am speaking only of little projects (automatic countdown, special calculators, maybe macro design as a little more complex.) Naturally, it needs to be free software if possible, if it means getting an older free version over a paid newer version since the projects are almost exclusively for me anyway.


    So... if you wouldn't mind helping me, fire away!


    And, of course, thank you in advance.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: I'm starting over. Which language should I choose?

    Unless you have a reason to do otherwise, I would suggest using either VB.NET or C#. If you have any VB6, VBA or VBScript experience then VB.NET will be at least partly familiar to you and the syntax is probably a bit easier for beginners to comes to terms with. The two languages are basically equivalent so either will do the job. If you want to be a professional developer then there are probably more opportunities in C# but, for the hobbyist, it makes almost no difference.

    You can get the Express editions of the VB and C# IDEs for free from Microsoft. They are fully functional and place no limitations on what you can do with the software you produce with them. They are missing some of the bells and whistles of the paid-for editions but they are quite enough for your average hobbyist. Even some professionals use them. You can also get SQL Server Express for free, so you have a rather powerful database to work with too. I'd suggest the 2012 version in all cases.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: I'm starting over. Which language should I choose?

    Well there is always Microsoft's other .Net Basic too: http://smallbasic.com/


    Macros? If you mean in Office that still limits you to VBA and VBScript. I'm not sure they'll ever get a serious number of people to wade through the labyrinth of .Net as an Office macro language. .Net's inherent planned obsolescene a.k.a. version churn gets in the way if nothing else. See:

    Visual Studio Tools for Office FAQ Entry List

    Question #1 is: "How many versions of Visual Studio Tools for Office (VSTO) are there, and what are the differences between them?"

    The VSTA/VSTO fiasco will probably die off and go away before too much longer.


    I have no idea how suggesting SQL Server Express helps one bit. It's a snarly beast in its own right, sucks up PC resources, and deployment problems abound. For the kinds of things you mention doing Jet 4.0 (part of Windows) is probably far more than adequate.


    Metro (now being called "Windows Store") makes a big push for JavaScript using HTML/HTML5 as a GUI:

    Create your first Windows Store app using JavaScript

    There are free tools right now, though I don't recall where Microsoft plans to go in this regard. I'm ignoring Metro after a few bouts with it, and if things go well it'll die out by the time Windows 9 rolls around. It is entirely fad-driven anyway, based on trying to compete in the phone/tablet/consumer market more than anything else.

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: I'm starting over. Which language should I choose?

    One other consideration would be the projects that are running through your head. Are they projects intended for a desktop computer? For a web-based system? For a smartphone app? In the first two cases, I think some flavor of .NET would give you the most power and support for your dollars (of which there would be $0.00 if you stick with the pretty good Express versions). However, in the latter case, I would say that something like Java would currently be superior. I'm not entirely sure about that, though. Win8 could change things. It's hard to bet on a horse that is starting so late in the race, but the concept of having such a tight link between desktop and mobile does make a fair amount of sense, so it might work. Basically, any choice you make for a mobile platform will probably turn out to be wrong in a couple years, whatever choice you make. .NET for the desktop seems like it will have a slightly longer shelf-life, but even there you can't be sure.
    My usual boring signature: Nothing

  5. #5
    Addicted Member Quizton's Avatar
    Join Date
    Dec 2005
    Location
    VB Forums
    Posts
    209

    Re: I'm starting over. Which language should I choose?

    C# is pretty nice

  6. #6

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    41

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by jmcilhinney View Post
    Unless you have a reason to do otherwise, I would suggest using either VB.NET or C#. If you have any VB6, VBA or VBScript experience then VB.NET will be at least partly familiar to you and the syntax is probably a bit easier for beginners to comes to terms with.
    VB6 is what I had been using. It suited my needs with the belief that some things I wanted to create but couldn't were not due to limitations of the language or program.


    Quote Originally Posted by jmcilhinney View Post
    If you want to be a professional developer...
    Nope... minimal hobbiest.


    Quote Originally Posted by jmcilhinney View Post
    You can get the Express edition of the VB for free from Microsoft. I'd suggest the 2012 version in all cases.
    Thanks. I ran across them right before creating this topic. Seeing different editions was in part what conviced me to create it.


    Quote Originally Posted by dilettante View Post
    Well there is always Microsoft's other .Net Basic too: http://smallbasic.com/
    Hmm.... I had never heard of that one before. It's probably worth a once-through.


    Quote Originally Posted by dilettante View Post
    Macros? If you mean in Office that still limits you to VBA and VBScript.
    (I wonder why everyone first assumes M$ Office when you mention macros.) Macros are a way to complete pretty much any repetitive task in a much shorter way just with one or two key presses, a mouse jesture, a scheduled timer, or an easily-available button. The last is generally where my thinking lies.


    Quote Originally Posted by Shaggy Hiker View Post
    One other consideration would be the projects that are running through your head. Are they projects intended for a desktop computer? For a web-based system? For a smartphone app?
    All for desktop use. I barely use my smartphone even as a phone! LOL



    I was already favoring .NET as my best option, but I didn't want to bias my topic by mentioning it right off. It sounds like the majority consensus (not just in this topic) agrees with me.

    Other suggestions are still certainly welcome. I'll leave the topic open for a couple more days before "Resolving" it.

    Thank you all for your suggestions and help.

  7. #7
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by VBDrone View Post
    (I wonder why everyone first assumes M$ Office when you mention macros.) Macros are a way to complete pretty much any repetitive task in a much shorter way just with one or two key presses, a mouse jesture, a scheduled timer, or an easily-available button. The last is generally where my thinking lies.
    Because you are on a VB-centric forum (though there are other languages discussed here). Macros are around in lots of things, but around here, whenever anybody mentions macros, they are generally talking about Office VBA macros. It's all just context.

    Frankly, your definition of macro could also be a description of a program written in .NET. I would think that the definition would be better if you talked about a repetitive task within a certain piece of software, though that isn't strictly true, either, since a VBA macro can access things well outside the scope of the application it is running in. Still, I think that .NET is what you are looking for, and probably VB rather than C#, and you can call the result anything you want to, since the lines are decidedly blurred.
    My usual boring signature: Nothing

  8. #8
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: I'm starting over. Which language should I choose?

    .Net FTW! Certainly if your doing basic desktop or web it's hard to see the argument for anything else. Java's a bit better at going cross platform but it doesn't sound like that's what you're after. C and it's derivatives are great if you want to get close to your hardware and squeeze every last cycle out of the cpu but, again, that's not what you're after from the sound of things. If you want to do mobile then you might as well flip a coin because none of us have a clue who's going to emerge as the leader there.

    You haven't mentioned DBs but I would be inclined to agree with JM, I'd take SQL Express over Access (or Jet). Dilittante is right Jet is simpler to set up and, if used via access, readily gives you some simple tools to examine your data but SQLExpress isn't that dificult to get going with (not sure what Dilittante's experience was) and is more powerful and flexible in the long run. He's also right that it will suck a few more resources but at the level you're likely to use it I doubt that'll be a problem. At the end of the day, though, it will be reasonably easy to learn on one then switch to the other later so don't lose sleep over that decision.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  9. #9

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    41

    Re: I'm starting over. Which language should I choose?

    There's always a possibility of creating another database at some point but it's highly unlikely. The last similar I created was just a text file using a delimiter, and I actually do need to recreate that program now that I think about it. That was easy in VB6.

    Everything I have created has been for minimal use between me and some for a few friends.

  10. #10
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by VBDrone View Post
    VB6 is what I had been using. It suited my needs with the belief that some things I wanted to create but couldn't were not due to limitations of the language or program.
    I am qualified in C# (soon to be xcode and java as well), although, I still prefer to code in VB6

    All for desktop use. I barely use my smartphone even as a phone! LOL
    I use my android as a throwing tool.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  11. #11
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    9,017

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by FunkyDexter View Post
    ...I would be inclined to agree with JM, I'd take SQL Express over Access (or Jet).
    Don't kid yourself, SQL Server is far superior to Access.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  12. #12
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by Niya View Post
    Don't kid yourself, SQL Server is far superior to Access.
    You do realize he said the same thing as you. He said he would take Sql Server Express (Sql Express) over Access any day, which is what you're saying in that Sql Server is superior to Access.
    Both of which I agree with to a point, there is 1 case where I would take Access over Sql Server but that is a very rare case.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  13. #13
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: I'm starting over. Which language should I choose?

    there is 1 case where I would take Access over Sql Server
    What case is that?

    SQL Server is far superior to Access
    As JB pointed out, that's what I said I would add, though, that we're often a bit too dissmissive of access round here, it does have a place. Look around your average business and you'll find dozens of non-programmer types banging out their own little utilities in Access and, generally , making a pretty good fist of it. Tell these guys they need to do it through Management Studio and they'd be utterly lost. What they want is a sort of super-excel and, in that role, Access is a damn good package. I think that's where Dillitante was coming from when he recommended it over SQL Server Express and, given the pretty simple nature of what the OP is trying to achieve, he might have been right.
    Last edited by FunkyDexter; Sep 28th, 2012 at 08:46 AM.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  14. #14
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by FunkyDexter View Post
    What case is that?
    One that it is well suited for, which means: A suit case. Access is somewhat more portable in lots of organizations. In my case, field computers all have Access, but if I went with SQL Server Express, which I really like, I'd have to install it via Click Once.
    My usual boring signature: Nothing

  15. #15
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: I'm starting over. Which language should I choose?

    Actually I wasn't even talking about MS Access, though Access can serve as both a tool and another front-end development toolkit for either Jet or SQL Server.

    Jet has its disadvantages of course as a file-based non-client/server technology but on Windows it's a natural step beyond flat files. It's a rare Windows machine where you won't find it preinstalled (Win95 maybe, or unpatched Win98), it is very lightweight, it doesn't require the careful management of "instances," and it has zero footprint when not actively in use.

    When you just need more than flat files Jet offers clean random access to multiple tables with or without indexing, flexible text import/export, table relations, check constraints, views and simple stored procedures, page- or row-level locking, a user-security model, pretty much all of the basics.

    You can use it in places you can't consider SQL Server. And it's a zero-deployment tool, a fundamental Windows feature.


    There are things it can be poor at.

    It really doesn't do well in multi-user/multi-machine applications because network interruptions or program crashes can corrupt data, it involves shuffling a lot of data back and forth across networks, it doesn't offload crunching onto a separate server, doesn't offer some of the powerful tools available for working with SQL Server, etc.


    However when your programs just need a more sophisticated alternative to sequential or simple random files it's kind of hard to beat. And if you avoid DAO the SQL involved is quite similar to the SQL used by SQL Server, making it easy to transfer your skills or "upsize" applications to SQL Server later on.

    Jet's great when your application needs to create databases on the fly with no user configuration, discard them at will, and create more. Its fits in a single file characteristic even lets you treat a database as a "document" making it easy to pass around as a data exchange format.

  16. #16
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by FunkyDexter View Post
    WI would add, though, that we're often a bit too dissmissive of access round here, it does have a place. Look around your average business and you'll find dozens of non-programmer types banging out their own little utilities in Access and, generally , making a pretty good fist of it. Tell these guys they need to do it through Management Studio and they'd be utterly lost. What they want is a sort of super-excel and, in that role, Access is a damn good package. I think that's where Dillitante was coming from when he recommended it over SQL Server Express and, given the pretty simple nature of what the OP is trying to achieve, he might have been right.
    I'd go along with that, which basically means that Access is good for non-programmers but if you're not relying on Access for the UI, i.e. you're a programmer creating an application and the database is simply a backend, then I'd not use it.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  17. #17
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by FunkyDexter View Post
    What case is that?
    I have a couple of applications, not large at all, that a few people like to use and overall it's easier for me to be able to have the data for the app stored in a local, single-user-at-a-time database so I can use Sql to manipulate the data & since security is not an issue I figure it's much easier to have an Access 2003 database (the Jet engine is installed via the 2.0 FW anyways and I don't have to mess with the Ace 12 x86 vs x64 problem) than to deploy Sql Express with my app which would install on all of the end user's computers and could cause all kinds of issues.

    Personally, when I make apps that interact with Sql Server, the server is always it's own server that all of the app's connect to and I don't deploy the database with the app at all. I should note that those apps are for the company and the end user's are the company's employees and it's all behind their firewall.

    For my apps that connect to Sql Server I have on my domain, I create a WebService on my WebServer that connects to the DB directly and then my app that I distribute to friends & family will connect to the service for everything.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  18. #18
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by JuggaloBrotha View Post
    ... (the Jet engine is installed via the 2.0 FW anyways and I don't have to mess with the Ace 12 x86 vs x64 problem) ...
    Um, no. Jet 4.0 is part of Windows and utterly unrelated to dotnet. Jet 4.0 has been a protected system component since at least Win2K SP2 and you'll find it on older systems that have been updated to MDAC 2.1.

  19. #19
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by dilettante View Post
    Um, no. Jet 4.0 is part of Windows and utterly unrelated to dotnet. Jet 4.0 has been a protected system component since at least Win2K SP2 and you'll find it on older systems that have been updated to MDAC 2.1.
    Did not know that, I never looked up what/how the Jet engine gets installed. I have seen a few times an XP SP3 computer where a friend's c++ program couldn't open an Access 2003 mdb using Jet 4.0, then I installed .Net 2.0 and his program could open it and so could my .Net program, so I just assumed Jet 4.0 was part of the .Net 2.0 distribution.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  20. #20
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    9,017

    Re: I'm starting over. Which language should I choose?

    Quote Originally Posted by JuggaloBrotha View Post
    You do realize he said the same thing as you. He said he would take Sql Server Express (Sql Express) over Access any day, which is what you're saying in that Sql Server is superior to Access.
    I do realize that, I was simply amplifying it as he said he was inclined which implies a choice by preference. In effect I was saying that I more than prefer it, its the better choice. Of course I have no argument with anyone who prefer Access for any reason.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  21. #21

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    41

    Re: I'm starting over. Which language should I choose?

    Gee.... thanks for confusing me even more! *dizzy* *laugh*

  22. #22
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: I'm starting over. Which language should I choose?

    We're here to help.
    My usual boring signature: Nothing

  23. #23
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: [RESOLVED] I'm starting over. Which language should I choose?

    One that it is well suited for, which means: A suit case.
    I'm glad you kept it brief

    Gee.... thanks for confusing me even more! *dizzy* *laugh*
    Yeah, we kind of went off topic a bit there, didn't we? It's all good discussion, though. Databases are probably about the second most useful tech a programmer can have (in my opinion) right behind a programing language and it probably won't be that long before you start thinking about them. Just promise me this: no matter what debates us lot have in the thread you will never, EVER use Paraodox.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  24. #24

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    41

    Re: [RESOLVED] I'm starting over. Which language should I choose?

    Quote Originally Posted by FunkyDexter View Post
    Just promise me this: no matter what debates us lot have in the thread you will never, EVER use Paraodox.
    haha Ok, you have a deal.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width