Click here to Skip to main content
15,924,901 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 6:16
Steve Westbrook18-Feb-08 6:16 
QuestionRe: Binary File Parser [modified] Pin
who needs to know?18-Feb-08 7:28
who needs to know?18-Feb-08 7:28 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 7:37
Steve Westbrook18-Feb-08 7:37 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 7:38
who needs to know?18-Feb-08 7:38 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 7:41
who needs to know?18-Feb-08 7:41 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 8:00
Steve Westbrook18-Feb-08 8:00 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 8:03
who needs to know?18-Feb-08 8:03 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 8:25
Steve Westbrook18-Feb-08 8:25 
Oohhhhhh, that explains it. I remember being that age and trying to program. Your brain isn't set enough to really get the concepts yet, unless you're very unusual. I was always writing programs that didn't do anything. Look at my last post near the bottom of the page; as for the rest, focus on exactly what you're doing - don't get distracted, and always remember to use the absolute simplest method possible to solve a problem. General syntax for VB can be found on msdn.microsoft.com, but here's some:

Dim a as new object (arguments)

a: is the name of the object

new: this is a specialized function that creates a new instance of an object. An object is like a blueprint, an instance of the object is like a building built from that blueprint. Think of all those identical suburban houses as instances of a House object.

object: can be any object - integer, textbox, filestream, bitarray, whatever. Not everything can be declared as "New."

Arguments are other objects that the object needs to generate an Instance. For example, the BitArray needs to get its bits from somewhere. Therefore, you tell it "use this array of bytes to make an array of bits" by passing in an argument that is an array of bytes.

dim b as byte means make one byte
dim b() as byte means make an array of bytes
dim b(10) as byte means make an array of 11 bytes (0 counts as a number).

This is only a beginning. You've got a long way ahead of you; I'd take a month or so to get really familiar with the objects in question. Use the help files, get to know the buzzwords that have definite, set meanings. Don't give up. If you learn to program at your young age, it'll be in your bones like it never can be if you only learn in University.
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 8:04
who needs to know?18-Feb-08 8:04 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 7:47
who needs to know?18-Feb-08 7:47 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 8:09
Steve Westbrook18-Feb-08 8:09 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 8:18
who needs to know?18-Feb-08 8:18 
GeneralRe: Binary File Parser Pin
Steve Westbrook18-Feb-08 8:27
Steve Westbrook18-Feb-08 8:27 
GeneralRe: Binary File Parser Pin
who needs to know?18-Feb-08 8:42
who needs to know?18-Feb-08 8:42 
QuestionRe: Binary File Parser [modified] Pin
who needs to know?18-Feb-08 9:02
who needs to know?18-Feb-08 9:02 
GeneralRe: Binary File Parser Pin
MikeMarq17-Feb-08 18:22
MikeMarq17-Feb-08 18:22 
QuestionHow to close all open forms. Pin
coolsatty17-Feb-08 4:29
coolsatty17-Feb-08 4:29 
AnswerRe: How to close all open forms. Pin
Eslam Afifi17-Feb-08 8:06
Eslam Afifi17-Feb-08 8:06 
GeneralRe: How to close all open forms. Pin
coolsatty17-Feb-08 23:07
coolsatty17-Feb-08 23:07 
AnswerRe: How to close all open forms. Pin
Eslam Afifi18-Feb-08 11:01
Eslam Afifi18-Feb-08 11:01 
GeneralRe: How to close all open forms. Pin
coolsatty18-Feb-08 18:23
coolsatty18-Feb-08 18:23 
AnswerRe: How to close all open forms. Pin
Eslam Afifi18-Feb-08 20:06
Eslam Afifi18-Feb-08 20:06 
GeneralRe: How to close all open forms. Pin
coolsatty19-Feb-08 23:59
coolsatty19-Feb-08 23:59 
GeneralRe: How to close all open forms. Pin
Eslam Afifi20-Feb-08 9:17
Eslam Afifi20-Feb-08 9:17 
QuestionHow can I correct these 5 lines of code in vb.net Pin
Gjm17-Feb-08 4:22
Gjm17-Feb-08 4:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.