...
...that was an AWESOME explanation. Thanks a lot for all the info. This will really help me a lot.
I was used to the term "Associative Array" also because by fetching MySQL data I use mysql_fetch_array($result, MYSQL_ASSOC).
When I tried the first time to change an image I didn't knew that the name could be a string, I used something like (I don't remember it so well as I got the project at the school)
Code:
PictureBox1.ImageLocation = Globals.ProjectName.Resources.My.picturename
It was a strange code as I didn't even needed to put the picture extension (The picture was imported into the project before) and I could only hardcode the name. This was what originated my thought of using something like eval().
For the project I need to do I can't use any HTML (and also don't know how to use), it's plain VB with Forms and stuff. I want to do something big, so I was now creating an inventory of commands I would need for it.
I could also try Object Oriented Programming but I never did it before and don't even know if VB supports them (although im 95% sure it does), so I prefer to go with Arrays for now.
Schimassek...
|