I've created a small application in VB5 to automatically ftp some data that I require weekly.
I use the Shell(pathname, [WindowNormalFocus]) command to open msdos prompt then SendKeys to type in the relevant data in the same way that this guy did:
(I think he's doing essentially the same thing as me).
The problem is sometimes it opens up 20 or so additional windows of msdos prompt for no obvious reason. I don't have any wacky commands in there. Can anyone think why or better yet how I can avoid it? I was looking at the message boards and thought this might provide the answer:
Can someone confirm this?
Thanks (PS I'm new and not much of a programmer)