PDA

View Full Version : can anybody paste source and walk me through it.


John-
09-23-2003, 07:54 AM
this is a post where people are going to think how lame if so please dont post.
i dont want this post turning into flame wars.
and dont post if you got something like go to planet-source code to say

what i wanted to ask is if anybody got some small open source simple projects(very very very very simple projects) which they could paste here and walk me through step by step i would appreciate it.

because i want to learn programming but some codes i look at i just dont understand, some things i understand though.
like i dont even know what a boolean is or string and i dont understand all that dim x as string stuff.

2 points about this thread

1. i am not doing this so i can steal your source or anything like that but simply to learn, thats why i specifically asked for open source projects.

2. if you are advanced programmer in visual basic, then dont try to show of your skills by pasting some really good code you have created because that will be absolutely no good to me whatsoever because i wont understand it.

thanks john

Mark__C
09-23-2003, 05:07 PM
Microsoft made a whole site to explain the basics to you

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/vb6anchor.asp

John-
09-25-2003, 07:50 PM
i visited a few of the links there but to be honest they didnt seem to tell me what i wanted it was more like about visual basic like what the ide is and stuff like that and what the controls are i have read those tutorials a few times.
maybe i missed a certain link which had all the info i needed but i am not sure.

a link which did interest me was a link to a zip file with visual basic examples source examples i believe but i was slightly reluctant to download as it was about 132MB if i recall, i was wondering if you have ever downloaded this zip and did you find it useful?

Mark__C
09-25-2003, 08:12 PM
yeah i downloaded it but its all the samples combined. if u just want a specific sample they let u download just that one i believe

aUsTiN
09-26-2003, 04:47 AM
Just To Answer The Specific Question...

Dim learning As Boolean : Would Be A True Or False Statement.

ie

If learning = True Then
Codes Here
Else
Codes Here
End If

========================================

Dim learning$ Also Done As Dim learning As String

ie

learning = Inet1.OpenURL ("http://profiles.yahoo.com/austin")
If InStr(learning,"Deactivated") Then
MsgBox "Deactivated", vbOkOnly, "Learning"
Else:
MsgBox "Active User", vbOkOnly, "Learning"
End If

Dunno If That Will Still Work As Yahoo! Changed The Deactivated Profiles To No Profiles. But It Works As An Example.

============================================

Dim G% Also As Dim G As Integer - Integers Are Numbers

ie

For G = 0 to 100
List1.additem G
Next G

Just Some Simple Examples...Hope It Helps! & Btw, I Made A Simple Beginners Tutorial & Its On My Site =-)

John-
09-26-2003, 05:58 AM
which tutorial i downloaded the one which is a project file that was good.:)
ill go look for some others on your site now.

i understood the very first example you gaqve me but the other 2 went straight throught my thick a$$ head lol