I dont know what you mean by redirect standard input. But if yoru asking to read something in from a file instead of keyboard, sure you can. What are you trying to do? Sorry if I totally misread this post.
the program expects input from the keyboard. I want it to take the input from a file instead. on a unix system i would simply run a program like this; program_name < file_name. How can i do this in VB
You can use the fso (file system object) to read in information from a file and than use that as the input. I am not really clear on what you need to do with the information.
you need to include microsoft scripting runtime as a reference scrrun.dll i believe it is.
is this what you want? let me know if you need to know more about the fso and its function. If you can be a little more clear on what you need to do i might be able to be more helpful.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.