>I've created a program using visual basic ver 6.0. The program will access a database using RDO connection then will create a text file then write the records in the text file using the following codes:
>
> db = "c:\DATABASE\" & tblname & ".txt"
> Set FileSystemObject = CreateObject("Scripting.FileSystemObject")
> Set TextStream = FileSystemObject.createtextfile(db, True)
> TextStream.writeline (rst!PAGTYP & rst!TYPIND & rst!bilim1)
>
>I've created a set-up program using the package and deployment wizard and when I run it in a PC with no visual basic installed it was successful but when I accessed my program it produced an error.
>I assumed that there is a file missing in my set-up program that should be included.
>I would like to ask what files (.dll or .ocx) should be included in a set-up program when using the above codes.
>Thank you in advance.
>
>Lheng
Include this file in your setup: scrrun.dll