Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Want to write a simple (maybe) program

  1. #1
    I have a little project going and want to produce a small stand-alone program and was wonder if someone could give some advice on what language or code to use and maybe point me to some online tutorials. Perhaps there is even a program that could be used to create this program. Thanks

  2. Internet, Programming and Graphics   -   #2
    Snee's Avatar Error xɐʇuʎs BT Rep: +1
    Join Date
    Sep 2003
    Location
    on something.
    Age
    44
    Posts
    17,985
    Err, that's a little vague, tbh.

    What do you want it to be able to do?

    In general I guess C# (.net) is easy to use, and you can try VS express for that.

    Java is ok too, and you could use Netbeans for that, for instance.

    If you need a database with that, MySql is all right.


    But it'd probably help if you were a tad more specific in what you want to do, if you want good advice.

  3. Internet, Programming and Graphics   -   #3
    Thanks Snee. Yes, I guess I was a little vague, sorry about that. This is what I want to do. I wish to create a simple program, a small searchable database I suppose, that can run independently on a computer. Yes, a program I can sell either via download or on a CD. I wish to produce and sell a collection of specific recipes for a particular type diet, so I want something searchable, for example by ingredient or certain nutritional values. I do have a technical background, but it is not software related-Mechanical Engineering. My code writing experience and ability is currently limited to HTML. So I am really just exploring the possibilities of doing this myself, as I would like to acquire some code writing skills. Thanks

    Does anybody know anything about this? Thanks

    http://www.sqlite.org/

    What about Visual Basic? Would this work for what I have described? Will it create a program that will run independently on another computer? Would there be licensing issues? Thanks
    Last edited by coldnorth; 07-27-2007 at 08:36 PM. Reason: Automerged Doublepost

  4. Internet, Programming and Graphics   -   #4
    Snee's Avatar Error xɐʇuʎs BT Rep: +1
    Join Date
    Sep 2003
    Location
    on something.
    Age
    44
    Posts
    17,985
    Well, I've done similar things (Graphic interface, searchable database) with Object Pascal (Delphi), Java and C#, in combination with SQL (SQL server, MySQL, Interbase). As for what is best of those for what you want performance-wise I couldn't tell you. What I can tell you is that it's all fairly easy to learn. Remember to do as much as possible with SQL-requests (adding, searching etc.) and personally I'd start off planning the database so you know what you'll be searching for and what you need in your GUI.

    If I was doing something like that right now, I'd probably go with C# (assuming .net is cool with you), but that's mostly because I worked with it last.

    I haven't tested that SQLite thing, but it sounds nice.

    As for tutorials and such google is always a good place to start, I also remember checking this place. Picking apart someone else's examples is usually a good way of learning. And obviously, you can always come back here, if you wonder about details.

  5. Internet, Programming and Graphics   -   #5
    optimus_prime's Avatar Guardian BT Rep: +2
    Join Date
    Feb 2007
    Posts
    395
    my personal opinion is that easiest thing would be visual basic 6 and access database.

    it's far from ideal, but it is easy, deployable and database sure can handle anticipated volume.

    on the other hand, if you're learning programming for future projects, .net is probably way to go, visual basic or c#, whatever syntax you prefer.

  6. Internet, Programming and Graphics   -   #6
    Thanks Snee. Right now I am reading an online tutorial on C+ located at http://www.cprogramming.com/tutorial/lesson1.html I would be very interested in any tutorials that anyone is aware of and would recommend. This is all new to me and seems rather overwhelming but I am interested in the subject.

    I do not think the project I have in mind is too ambitious for a first project but, for all I know, I could be wrong. To give you a better idea of what I want to do. I have a large collection of recipes. The user opens the program and can search for recipes, for example, Beef recipes, or recipes under 100 calories, etc. Again, I want a program I can sell, that could be downloaded or e-mailed, so license issues is something I would need to consider.

    Thanks again for all of your help.

    Quote Originally Posted by optimus_prime View Post
    my personal opinion is that easiest thing would be visual basic 6 and access database.

    it's far from ideal, but it is easy, deployable and database sure can handle anticipated volume.

    on the other hand, if you're learning programming for future projects, .net is probably way to go, visual basic or c#, whatever syntax you prefer.

    Thanks Optimus, I'll look into these as well. Access I have used in a business setting (engineering drawing database). Wouldn't the end user need Access in order to run the program? What about Visual Basic, wouldn't they need a copy of that on their computer as well? I envision something that would run in the windows operating system.

    I am interested in hearing anyone's ideas, suggestions, or opinions so please post if you have any. Thanks
    Last edited by coldnorth; 07-27-2007 at 09:03 PM. Reason: Automerged Doublepost

  7. Internet, Programming and Graphics   -   #7
    Snee's Avatar Error xɐʇuʎs BT Rep: +1
    Join Date
    Sep 2003
    Location
    on something.
    Age
    44
    Posts
    17,985
    What you have in mind sounds simple, and very similar to the first real programs I wrote at uni.

    Access might be a good alternative assuming you don't need everything SQL can do. Haven't played around with it myself, but from what I understand an access database can be self-contained, this buddy of mine who uses it says it's brilliant in conjunction with php on websites for that reason.

    As for VB, I reckon it's compilable just like the languages I suggested. It's easy to make an .exe, if I understand things correctly. Any decent environment should make that very simple for you.


    EDit: Start off by downloading something like Visual Studio (if you want to go with C#, anyways) and start playing around with it. Write simple functions, something to output a string to the console perhaps, and see how that works. Also see if there are any examples you can download, and if so, pick them apart. Once you've gotten a feel for the basic syntax, everything will become much clearer.
    Last edited by Snee; 07-27-2007 at 11:22 PM.

  8. Internet, Programming and Graphics   -   #8
    Thanks Snee. I downloaded a program called Just Basic. It's suppose to help you create stand alone programs in basic but, to be honest, it's lost me already. I still looking. Thanks again.

  9. Internet, Programming and Graphics   -   #9
    I was wondering if anyone might know of a freeware program that I might be able to adapt to my needs? Something that would have no license issues.

  10. Internet, Programming and Graphics   -   #10
    optimus_prime's Avatar Guardian BT Rep: +2
    Join Date
    Feb 2007
    Posts
    395
    i'm not sure what way you decided to go, but there are tons of free code dealing with database in all programming languages. just google, there are lots

    as far as i understand, your software has only one table, the recipes one, and that's basic stuff, you can find examples for it in any programming book and on any learning site. just be patient and persistent

    if your recipes are unsorted, maybe it would be good start to create database first and deal with the ui later. design it on paper first (like "it would have following fields: index recipe nutritional value type of diet"...) than transfer it into access or sql - whatever you feel more comfortable with. i advise you to use access because it's pretty simple and well explained, and your database is small and won't choke it. than use some visual tool to create ui (like delphi, visual studio or whatever) and connect it to database. every step of these basic operations will surely be explained in the help of apps you decide to work with.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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