jmarler,
i have a question i think you just might be able to answer. here goes. i have create an EXE that will take read a text file, parse it, then out the results to another text file. well, it works fine. the problem arrises when i try to read the file the EXE has created using the FileSystemObject from within the same sub. Here's the sub code...
Set fs = CreateObject("Scripting.FileSystemObject"

fs.CreateTextFile "parsein.tmp"
Set F = fs.GetFile("parsein.tmp"
Set ts = F.OpenAsTextStream(2, -2)
ts.Write sHtml 'write text to IN temp file file
Shell "parsecmdnew.exe """ & sParseString & """", vbNormal 'create parseout.tmp file here
If fs.FileExists("parseout.tmp"

Then
Set F2 = fs.GetFile("parseout.tmp"

Set ts2 = F2.OpenAsTextStream(1, 0)
strSearchThis = ts2.Read(F2.Size)
ts2.Close
Set F2 = Nothing
Set ts2 = Nothing
End If
When i run this sub from my a dll, the file is created, however the FileSytemObject can't find it. When i run the program again, it does find it. It just can't the first time for some reason. Why is this?