Added: 2 years ago
From: TeachMeComputer
Views: 45,290
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (114)

Sign In or Sign Up now to post a comment!
  • Obviously, someone being awake for more than 24 hours (at least..) then making an informative and instructional video for anyone to view at anytime and for free isn't quite good enough for 2 people.

  • Hey, does the For Next loop automatically increment by one per loop because you're specifying it to go from 0 to the length of the array?

    Would there be a way to make it increment by 2 or a number other than one? In particular if the array was bigger than 5 elements long!

  • I know VB has capability of 2 DIMensional arrays, possible 3 Dim (like a cube).

    Is there any app or idea for 4 or 5 Dim Arrays?

  • To cybersphere:

    You would have to create many "Group Boxes" your "Project" would be huge, you screen uncontrollable, have to reset all variables....so on and so forth. Are you that lazy?

  • i am trying to Design and implement a program to store details about members in the fitness club, i am a beginner if anybody knows how to help please inbox me

  • how pro you can also do

    Msgbox

    msgbox

    msgbox..

    I dont see a difference lmfao..

  • how do you use a loop to load the data into the array (using InputBox function) and another loop to output it to a listbox?

  • @xXNdeUrfeXx

    From experience from other languages i'd imagine something like

    arrayname = arrayname + string

  • español please ..!

  • Rather than creating a new project for each new concept I'm exploring, I prefer to have one test project with a general module containing functions exploring different programming themes. I can then call these functions from the immediate window.This means I don't even have to leave design mode.

  • I love your ascent dude...

  • your voice not clear bro...

  • @sopi351 your just deaf

  • @owoxon u better learn English firstly and do the tutorials.u sounds like a ponzi

  • @sopi351 shut the fuck up and get back in your hole before your uncle gets home.

  • How would you make it search for certain arrays, and edit those arrays, of different programs

  • Thank You for the tutorials ,can you please do tutorial about shared memory in vb 2010,

    like store a string in the memory and call this string usening another aplication

    you cool thanks

    Dave

  • I want to use the timer to call an array to change a label text. I don't know what to type for the timer. Does it need to be and if statement with Timer.Interval = 1000? Or what?

    Anyone?

  • @ckd04 Here mate what you do is declare the time as a integer outside the events eg dim tmr as integer Next what you do is set tmr = 0 in the form load. Now open up a Event Click for what ever you called your timer. Inside that event put tmr = tmr + 1 Now everytime your time interval hits 1000 tmr will go up by 1, So put a if statement inside tht event If tmr = 1 then lblExample.show ElseIf trm = 2 lblExample2.show ElseIf trm = 3 Application.Exit And so on That is at least the timer part
  • Lol at first I thought that this was a tutorial for making 35 arrays. :P

    Great tutorial by the way.

  • What arrays can be useful for?i don t understand.

  • @Kingruler21

    Storing bunch of data, for example storing a list of number. Or store data from a .txt file (line by line)

  • i need to make a programme were a user types in some names and then the programme out puts the typed in names but in alphabetical order please help!!!

  • @nathanm95

    Array.Sort(arrayname)

  • Comment removed

  • is it same as

    for i = 0 to i = 4

    MessageBox.Show(tvshows(i))

    i = i + 1

    Next

  • @boxingcarracer Yes but in a for loop, you don't need to add the "i=i+1" part, that's the point in a for loop, unless you're trying to count by twos

  • @TheAgentbrady101 thank you sir. ..

  • @boxingcarracer Sounded sarcastic, wasn't being a smartass, just wanted to help...

  • Comment removed

  • thanks you

    you very good

  • All is cartoons xD

  • @lazicdusan9 only supernatural is movie

  • @lazicdusan9 aha no

  • Well i suggest to add a mini add on tutorial on this, that shows two dimentional or even multi dimentional arrays. It would be useful for many students out there.

  • Comment removed

  • Great tutorial But you didn't really explain a real world case where arrays would be useful.

  • Very Nice....It helps me a lot...

  • Can you make a sub that is byref so other subs can access a string of numbers. Everytime i try, it puts a squiggly under the number. Can anyone help?

  • Thanks!

  • guys... if im an expert in one advanced programming language, and i want to learn another new language, will it be like learning a new language (such as English speaker learning German (same family)) or it would be more like learning the slangs of the same language (US english and GB English slangs are different, but the language is the same)

    Notice the "if" condition.. xD.. im not an expert, yet.

  • When I do the for loop it just says family guy for all five.

  • Brilliant as usual,Thanks so much !

  • Hey man. Can you set a time on arrays with out a timer?

  • Thank you for this tutorial :D your channel is useful!!

  • Cant you just put

    Dim tvshows() as string

    So then it will hav unlimited values????

  • @CrisIsRatedX Why would you do that? When you have all the values you want, count them and then enter the value in the array.

  • Lisp

  • Do you have a tutorial for select case statements?

  • Does anyone know how to write a function in VB that returns the smallest value in an array of integers?? really annoying me

  • hey do you  think they make visual studios for mac??

  • @elijahhezekiah1 no because Visual Studios is a Microsoft program and Apple uses a different coding language that wont work with vs

  • @elijahhezekiah1

    Try Java instead of VB.NET it's platform independent. ;)

  • Comment removed

  • can anyone help me with how to introduce a mathematical function to my form

  • And all nighter? Why?

  • sorry my mistake

  • i dont know why but the programm need to declare the i first

    so i Dim i as integer an the it works

  • good video, but I needed to know something that wasn't covered. I have an array of objects (picture boxes) and I am trying to reference the array for collision detection on all of the picture boxes so that I don't have to go through all of them and state collision restrictions separately, how would I go about this?

  • thanxxxxxxxxxx

    great lesson , u explained it better than the teacher at the uni. loooool

    all the best.

  • You were good,next time get some sleep :D

  • como meto un valor de un textbox a un arreglo

  • thanks but i want to ask if there is another way to post up a table of number

    and how we can let the users fill it

  • I am working on a number occurrences project. I need to be able to show how many times each number occurs in the array when a user types a bunch of numbers in, but now I am stuck on being able to show the amount of each number that the user types into the textbox. Help please!

  • Hi..

    I need to know how can I pass data readed (using StreamReader) from a file to an array. I will be using that data to calculate the tax amount of a user. I have 2 arrays; 1 called strFields() to get each data readed, and another one called infoTax() to do the process of cal.

    thank you.

  • i have an [Object reference not set to an instance of an object] problem

    here is my code in the form: Dim testarray() As String Private Sub Button1_Click(etc) For i = 0 To 5 testarray(i) = "HELLO NUMBER " & i MessageBox.Show(testarray(i)) Next End Sub

    and it throws the error at the top, why is that

  • why do you use "MessageBox.Show()" when you can just type "MsgBox()"

  • @xtan1001 for me it only works when i type MsgBox(), i dont know why

  • Someone's a fan of animation domination!

  • thank you so much, this video is a big help to me, because i am just a beginner, and i want to learn more, thanks for sharing

  • Can you make a memory game tutorial? I would love making such a game, that's one of my favorite games.

  • very helpful thanks

  • Hi there, first of all I want to say a BIG thank you for uploading your tutorials here in youtube. It's really a big help for a beginner like me. BTW, i just want to kindly ask if it is possible for an array to have two values? For example if i press Button2 twice, it will give me a value of "b" instead of "a". TIA

  • First thanks for the VB.net help, very good!

    Is there any material on how to add a textbox value to an array? I want to add 20 different words to a string array using a textbox for entry. Ive tried looping through but wont work......

    Many thanks

  • Write an Anagram Game that contains an array of 20 pre-set words. The game randomly selects a word and scrambles its letters. A Label displays the scrambled word for the user to guess. If the user guesses correctly, the game should display an indicator message as either a correct or a wrong answer. A new word would be selected if the guess is correct. Otherwise display a message and let the user try again up to 3 attempts.

  • with less code:

    Dim tvshows() as String = {"south park", "family guy", "american dad", "the simpsons", "supernatural"}

  • you make a better a better professor than mine

  • trying to manipulate images for a layout using an array but no matter how big the array defines only 2 images display.

    Form has image defined pbNTaken. the idear is to create an array and copy this image into each element then display elemats as needed.

    Problem is it only displays one image ( last image coppied into array.

    Can you help?

  • @malachasmic I forgot to mention that the coding is located in a command button called btnSaveBooking

  • Comment removed

  • thanks for the video, how about parrallel arrays,

  • or maybe for a cooler way

    dim random as new random

    dim numbers as integer

    dim array(19) as integer

    dim i as integer

    for i = 0 to array.length - 1

    numbers = random.next(0,101)

    array(i) = numbers

    next

    this will fill in random numbers between 0 and 100 till the last array index

  • hint: If you want to full and array with number without having to code the whole thing. look at this example.

    dim array(20) as integer

    dim i as integer

    for i = 0 to array.length - 1

    array(i) = i

    next

    this will fill in each array index the value of i ;) So you dont have to do it like so:

    array(0) = 0

    array(1) = 1

    ...etc

  • @marcky89869 full an*

  • You really need a pop filter..

  • Are there any 2 dimensional array tutorials i am having trouble grasping the concept of how to put this too use? Nice tutorial by the way

  • please tell me where can i download free visual basic.. please!!!!!!! send me message.

  • @jhepzz18 Look up the Express Edition. It's on the site.

  • thanks for the tutorial...really help us a lot...keep up the good work...

    even u are tired, u still make those tutorial...nice man...thanks you sooo much!!!

  • this has been good tutorial but i need to list these kinds of names like

    0 = alda

    1 = aaa

    2 = asd

    So can u help!!!!!!

  • good tutorial its awesome, thank you for making it simple good job.

  • gr8 vids m8

  • thanks for this tutorial.....i am just wondering if you could help me find out how to make it in reverse output!? i mean....when the user entered the message..the message box will display it in reverse? i am just new in using vb2010 so i don't have any clue....hehe thanks!

  • I'm working on a hangman program right now and this video was a good refresher. =) Unfortunately I'm working in VBA and there aren't any arrays in this language =(

  • i watch all them tv shows :D

  • nice, simple undarstanding..... :))

  • Great tutorial!

  • The way you say "Sub" is awesome.

  • what is the next value use to?

  • Thank you for your tutorials!

  • I want to design the program to lookup the state name in abbreviation or full name to search. there are 58 record . For example: I want to search AL , the result can find the Alabama, I would like to know how to do that. Can you post such demo to let me know. Thank very much

  • Thanks!

  • Suggestion : Please speak louder in each tutorial. Thank you

  • Damnit,I didn't get it!

    iv'e come this far,got every except byref by val and this, i understand functions and subs and everything else.

    Damn im DUMB!

  • The first four are my fave shows xD

  • Ohh i forgot to say : Great tutorial xD

  • Comment removed

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more