| | i am looking to make a program. what is a good program to make a program with? |
| Astahost.com | Mar 21, 2010 |
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. sayFile1.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 Integer2) Now dr...
read more.
Hmm that depends, do you know any coding language? if not i'd suggest learning one..
Dont ask us what language because everyone preffers another, better to find out yourself if the code suits your needs.
It also depends on what the program is going to do. And how or where you want it to work. Certain languages a best for "local" machines, other languages do things over the web.
If you could be more specific about the program you have in mind, then perhaps we could be more specific in our answers.
well it's not for doing something over the net with. just local. i don't know exactly what i want to do but i have a rough idea. it involves music
well say i want to make a program that you can say display pics from this file while playing music from this file. or something like that or maybe even more complicated than that.
Winamp style.. you could use alot of languages for this.. maibe easiest to learn i think.. (probaly a whole lot people disagree) java..
You should snoop around sourceforge.net and look what other people did, what language they used and if it is what your looking for.. maibe you can ask if u can help develop a program there.. (Mostly they like to help beginners learn coding)
As far as I can see, this way you won't get anywhere. I suggest you find an article called "QBasic for kids by Ted Felix". Really useful stuff - that way you will start with the basics, because you can't expect to make a good and useful program in one week. Learning programming takes months, ages! And don't be disappointed because it says "for kids". I'd rather call it "for beginners"
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?
Latest Entries
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. 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
thnx but i mean like a slide show. and a whole folder of songs
As if anyone care's of cross-platform compatibility with a multimedia application.
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 :-)
I would highly recommend Java as it's fairly easy and it can do most things others can't ... eg. cross-platform
xboxrulz
Similar Topics
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 (11) 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 (103) 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? |
Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com