I'm a newbie to Visual Basic. I have been recently working with text
files, but for some reason my computer gives me an error: "Compile
Error: User Defined Type Not Defined". It highlights fso as new
filesystemobject. An example of the code is:
Private Sub Command1_Click()
Dim fso as new filesystmobject, txtfile
My operating system is Windows XP Home Edition. I already have
scrrun.dll. I am using Visual Basic 6.0 Standard Edition. Thanks in
advance.
James Carter