callbyname

VB6 CallByName woes

I want to do a CallByName for some Subs but I just can't get it to go. Everything goes fine until execution reaches the CallByName, then I have problems: Whenever I use Me, it complains about a compile error And if I use frmMyServer, it says "object or method not supported" Question: How do I do this? This is what I have : in my...

Example of Call by name.

In my principles of programming class we are talking about different calling methods. Some we discussed were: call by value call by reference call by value/result and call by name I can't find an example of how call by name works. Anyone care to give me an example? I think that when you take an xml file as input this is similar to...

call by name in C#?

Hi everybody. Can anyone tell me how can I implement Call By Name in C#? I really have no idea about this. Thanks for any advise. ...