Results 1 to 2 of 2

Thread: filesystemobject

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Location
    Ireland
    Posts
    29

    Question

    I am trying to implement a search using the filesystemobject using code borrowed from a book, Pure visual basic by Dan Fox.
    In the routine given to call the search function the first line is :

    Dim clsFileFunctions as New FileFunctions

    When I try to run this I get a 'User defined type not defined' error message. Where or how do I define this?
    Is it contained in a library such as the one I had to reference to use the filesystemobject (SCRRUN.DLL)?
    VB6 Enterprise

    Brian Mc Cashin

  2. #2
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    258
    It should be in the book someplace . you need to define the type "FileFunctions" . The code should start with "Type" . Hope fully it's in the book some place .

    Visual Basic 6 SP4 on win98se

    QUIT THE RAT RACE BECAUSE YOUR MESSING THE WORLD UP !!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width