| | Probably the best, most simple easy language to start with is BASIC... or even better the windows version - Visual Basic. It's easy as hell but it's a good start for a beginner. Whatever you choose to use though, good luck. |
|
|
I would highly recommend Java as it's fairly easy and it can do most things others can't ... eg. cross-platform
xboxrulz Java is not very suitable for developing desktop applications. I think the only legitimate options are Visual C++ or Visual Basic. Visual Basic offers power with simplicity. Whoever knows advanced coding hacks can make it do anything that VC++ does, yet cutting the development time to 1/5th. Anyway getting back to the topic, I suppose the best thing would be to use Visual Basic. It compiles native exe and can be ported to any Windows platform. For playing a music file you can use the Media Player component. For displaying images, its very simple with VB, use a Image control from Tools and use the LoadPicture statement to load a picture from the specified path. CODE wMedia.Open "C:\Music\MyMP3.mp3" Image1.Picture = LoadPicture("C:\Images\MyImage.jpg") hah! thats it! these two statements will do what you are describing :-)
thnx but i mean like a slide show. and a whole folder of songs
sorry for the double post however i was wondering how this C== and stuff is gonna help me right the progam i want to. should i be learning a more complicated lanuage or is this one of those start with the basic thingys? Hey Dude, Look, when you say 'programming' you're speaking too generic! But I got a few hints for you- To start with, I would recommend that you master C/C++ first. It might take time & you'd feel you're doing nothing! But is worth it, honestly. Once you've mastered these Basic languages, I can bet $100 on the fact that you'll be able to learn ANY programming language just by reading its documentations. That's my personal experience! Once you master C/C++, then check out the Python language. That's the latest trend now-a-days, that even NASA and Google use it!! Definitely, to start with this, you'll need to know the basics of Functions, pointers etc. in C/C++. So, best of luck! -Omkar Ekbote
Oops randomdood I forgot that you are new to prog.
See in Visual Basic, use a File List Box (simply drag and drop it onto the form), set it's path to the folder you want to pic photos from. say File1.Path = "C:\Images" Now after that done, your list box will be populated with all the available files (images in this case). To get the name of each file (in order to run a slide show), do the following: 1) Write a Dim statement in the general section of code. Dim ptr as Integer 2) Now drag a Timer control from the tool box into your form. Double click the timer, the code section will appear. Also, set the timer's Interval property (see the property box) to whatever time gap you want between each picture (for slideshow). This can also be done thru code like: Timer1.Interval = 10000 1000 means 1 second. 10000 means 10 seconds. Set the enabled property of the Timer to false (so that it doesnt start from beginning). 3) Write this code: if ptr <= List1.ListCount - 1 then Image1.Picture = LoadPicture(List1.Path & "\" & List1.List(ptr)) else Timer1.Enabled = False end if We take a variable called ptr. Initially its 0. We start to increment it to work our way down the list of images. We check to see if it has crossed the total number of images in the folder, if not then show the current image, if yes then stop the timer. 4) Now to execute the code through a command button do this add a push/command button to your form from the tool box. Double click it to open the source view. Private Sub Command1_click() wMedia.Open "C:\Music\MyMusic.mp3" Timer1.Enabled = True End Sub First line opens the music file and starts playing it using the windows media player component. Second line simply enables the timer we coded earlier. That means the images will start to slide every 10 secs. In any case just pick up a good book on Visual Basic, and you will love programming. I don't know how many people know the fact that Windows got the maximum (80%) number of programs contributed to it via Visual Basic developers. Visual basic is the world's most popular language as of today, and will remain so due to its sheer ease and definite power in desktop application development.
Recent Queries:-
Keywords : question
Some things I've learned along the way. (9) I've been freelancing my PHP / Web skills for about 8 months now. It seems like every job I 2 questions (8) Ok I usually would use Linux to program because there is a compiler (gcc), but I need to use Windows (1) I'm looking to become somewhat knowledgeable in the area of programing one day and would like to (2) ppl, i need ur help,.... i have a project to do... we decided on Qt but no1 in my group knows about (99) Lets start this thread and find out more about our coding roadmap! The first code I ever wrote was Looking for question
|
![]() A Question: Where To Begin Programming? |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|