|
-
Jan 10th, 2000, 07:20 PM
#1
Thread Starter
New Member
I read strings from a file. These strings are procedure names.
How do I get VB6 to call the function that is represented by the string I just read from the file?
Any ideas appreciated.
-
Jan 10th, 2000, 07:33 PM
#2
-
Jan 10th, 2000, 07:53 PM
#3
Thread Starter
New Member
Thanks but C is out of the question and I was really hoping to avoid the case statement, it's not really dynamic and means that the code has to be added to if you want to expand.
I appreciate the response.
-
Jan 10th, 2000, 08:43 PM
#4
Hyperactive Member
check out the VB 6 function CallByName
Haven't used it, but maybe it does the trick for you.
-
Jan 10th, 2000, 10:44 PM
#5
Thread Starter
New Member
Thanks alot, that did the job. I wasn't expecting to get that going till tomorrow.
-
Jan 11th, 2000, 01:25 AM
#6
Guru
I answered in the other forum in case you still need it:
http://www.vb-world.net/ubb/Forum3/HTML/002581.html
-
Jan 11th, 2000, 01:29 AM
#7
Thread Starter
New Member
I saw that, thanks very much.
-
Jan 11th, 2000, 05:22 AM
#8
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|