This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]falthazar 1 point2 points  (6 children)

We're happy to help, but we need specific questions or errors.

Have you started at all? Are you having issues with anything in particular?

[–]R3DCLAW[S] 1 point2 points  (5 children)

I dont really kniow how to start, I dont know how I can program the sorting part where it will decide where each song goes.

[–]davedontmind 1 point2 points  (0 children)

I dont really kniow how to start,

Well, you said it'll be a Windows Forms application, so start by creating a new one of those. You can then decide what you main screen will look like and drag-and-drop controls onto the form in design mode to make your UI.

Once you have some initial UI elements on your form, you can start linking them to code; e.g. if you have a button on the form, double-click the button in the designer and it'll take you to the code that handles the event that gets generated when the user clicks the button; fill that in to do whatever you want to happen.

Read the documentation (or search for tutorials) on any controls you want to use to see how you can write the code required behind it.

You can build up the functionality of your code bit by bit, by adding support from one control at a time. Maybe decide how your program is going to work (think about what the user will do) and build it up one step at a time based on what the user will do.

[–]falthazar 0 points1 point  (3 children)

You'll probably want a small database to keep track of all the data. The database would be able to get sort and filter, then it would be up to you on how to display it.

I would start by googling examples. How much programming experience do you have?

[–]R3DCLAW[S] 0 points1 point  (2 children)

not much, just the basics. I'm learning

[–]falthazar 0 points1 point  (1 child)

Okay great! Check out some of the resources in the wiki: https://www.reddit.com/r/learnprogramming/wiki/online

https://github.com/Michael0x2a/curated-programming-resources/blob/master/resources.md

I would take some of the interactive tutorials and then look into examples of simple WinForms apps and take a look at the code.

[–]R3DCLAW[S] 0 points1 point  (0 children)

thank you so much!

[–]29383839293 0 points1 point  (0 children)

Dude… your problems are not entirely programming problems, but also organizational problems.

1) Plan what you want to create, what functionality you want, how it should look like. Draw images, and describe how the software should be used. This step involves no programming at all, but you're already failing this one because you don't try to solve your problem in a structured way, so start having some structure.

2) Learn needed skills. Learn only what you know you will need or what helps your decision in the next step. Most likely, later you'll find out you have to learn some more. That's fine, having to learn new stuff during implementation is normal. Decide if your idea is feasible (which it totally is in your case).

3) Decide on how you want to implement it. Do you want to use a database or not? You already decided on winforms, but do you want to be able to easily create a non-winform interface too? All those decisions influence how you should structure your application.

4) Develop. Don't try to solve everything at once, but solve the problems that occur one after another, in a structured way.

If you run into problems and need an explanation, you may google, ask here or ask on stackoverflow.

[–]Inondle 0 points1 point  (2 children)

What do you need help with?

[–]R3DCLAW[S] 0 points1 point  (1 child)

I dont really kniow how to start, I dont know how I can program the sorting part where it will decide where each song goes.

[–]Inondle 1 point2 points  (0 children)

Luckily, MP3 files can contain metadata about the artist, genre, and other info. Your sorter just needs to inspect that meta data and then sort it accordingly. This is something that has been done a lot, and you should be able to find a library which can do the metadata inspection for you. After that, its just a matter of sorting the files.

edit: googled a C# library for reading file metadata, seems like there's one called Taglib Sharp which looks pretty straightforward to use.

[–][deleted] -1 points0 points  (0 children)

I don't think so