A Question: Where To Begin Programming?

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #15) by CaptainRon on May 23 2006, 05:35 PM. (Line Breaks Removed)
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), ... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting > Computers & Tech > Programming

A Question: Where To Begin Programming?

randomdood
i am looking to make a program. what is a good program to make a program with?

Reply

Twistit
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.


Reply

jlhaslip
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.

Reply

randomdood
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

Reply

Twistit
That still doesnt say a whole lot wink.gif you can do a whole lot with music

Reply

randomdood
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.

Reply

Twistit
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)

Reply

pyost
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" wink.gif

Reply

randomdood
thnx for the help
it's much appreciated

Reply

randomdood
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?

Reply

Latest Entries

CaptainRon
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.

Reply

Omkar™
QUOTE(randomdood @ May 22 2006, 01:55 PM) *

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

Reply

randomdood
thnx but i mean like a slide show. and a whole folder of songs

Reply

CaptainRon
As if anyone care's of cross-platform compatibility with a multimedia application. tongue.gif

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 :-)

Reply

xboxrulz
I would highly recommend Java as it's fairly easy and it can do most things others can't ... eg. cross-platform

xboxrulz

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Recent Queries:-
  1. where to begin programming open source - 67.89 hr back. (1)
Similar Topics

Keywords : question

  1. Introduction To Programming
    (1)
  2. A Few Thoughts On Freelance Programming
    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
    have taken is always much larger than I planned on. About 4 months ago, I answered an ad for Joomla
    Tutoring! I get to the website, take a look around and realize that something is very wrong... The
    individual that hired me to be a tutor had hired another developer to set up the new Joomla based
    site and create a new template for it. Generally speaking, if you are really good at HTML and CSS,
    you can create a Joomla template with very little PHP knowledge. At first I was....
  3. Programming C In Windows
    2 questions (8)
    Ok I usually would use Linux to program because there is a compiler (gcc), but I need to use Windows
    to program for now because of a few unexplained reasons. I need to find a compiler for Windows that
    will compile the C language. I have tried Microsoft Visual C++ Express 2008 but I find it to be way
    too bulky and hard to use. The command-line compiler is similar to gcc I guess, and it creates
    executable files for Windows, but the compiler in the actual program compiles C++ but not C for some
    reason. And it will only compile files in projects, not standalone files. In my....
  4. What Books/e-books/articles Would You Guys Recommend For Beginners To Programming?
    (1)
    I'm looking to become somewhat knowledgeable in the area of programing one day and would like to
    know what some of you "experts" recommend as far as good reads on the subject for beginners.
    Thanks.....
  5. Please Help Me Out In Qt Programming In Linux
    (2)
    ppl, i need ur help,.... i have a project to do... we decided on Qt but no1 in my group knows about
    it... so please ppl can u find project sources ot even tutorials... Actually i m doin a proj on
    library management so if u can help even in just basic layout n connection wid forms... you can
    even contact me @ whihathac_AT_hotmail_DOT_com....
  6. How Long Have You Been Programming ?
    (99)
    Lets start this thread and find out more about our coding roadmap! The first code I ever wrote was
    on a BBC Micro Computer that came with its on embedded ROM-OS and ROM-BASIC - this was when I was in
    my 5th grade (1990-91). It was pretty powerful for those times, offering decent 16-color graphics
    and a powerful sound engine behind it (using normal computer speakers) - that PCs never achieved.
    In about an year or so, I shifted over to PCs coz the lack of applications for the BBC Micro was
    getting to me (all appz for it had to be either written in Assembly or that ROM ....

    1. Looking for question






*SIMILAR VIDEOS*
Searching Video's for question
advertisement




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