Chike wrote:Are you sure about this?
Haven't seen any mention of it in the
documentation
nope... i'm not sure... and in fact, if you pass a ByRef object, it is not true. but if you do not pass a byref object, then from experience, i can tell you that the executing code will not wait..
did i state it correctly? nope... and problably still have not... will it, as stated, help some others avoid problems that i was running into when i first started writing apps? i hope so...
am i an authority on the VB (or any other) programming language? by no means!!!! but i do alot of google searches and reading... then i play with codes until i can get it to do what i am trying to do. i have no programming schooling and learned everything i know by trial and error and reading on line. so when i create a post like this, i am by no means trying to state that i have all the answers... the point of this post is to help those with no experience see in a plain english way how to do the basics... and if the explanation is not 100% acurate, then they start out with a slightly wrong definition... but the concept of the post was still grasped and they can start doing things with their programs because now they have the understanding that they can pass objects to and from subs and/or functions.
it was only about 2 or 3 years ago that i started writing any apps... and as i have a fulltime job doing things other then programming, and as i have not taken any classes on programming, i had written this post because it was something that was not made real clear in alot of the information that i was reading.
my hope is that other new hobbiest coders will get a better idea of how they can expand their programs and start sharing with the community. that is why i have shared not only compiled programs, but alot of my code as well... is my code perfect? probably not even close... but if it can help others who in turn help more, then thats what it is all about...