|
-
May 4th, 2000, 05:23 AM
#1
Thread Starter
Addicted Member
Hi everyone,
this is a bit of a strange question and I don't think you can do it, but I thought I'd ask anyway.
say you have a text file which contains vb code, is there anyway to say import that text file into your program to say turn it into a sub?
for example say you had a sub called lets say crypto
sub crypto
end sub
and that was all we had for the particular sub, now the text file we have, has the following code in it lets say:
dim crypt as string
dim cryp as string
cryp = text2.text
crypt = instr(1,cryp,"blah",vbTextCompare)
if crypt <>0 then
'more stuff here etc
end sub
now is there anyway to make the sub crypto imports that information???
thanx for any help.
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
|