Missing active x component file, but which one??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

the error comes on the second or third lin
-----------------------------------------------------------------------------------------
'Returns true if the string passed in is a file that is available to the
program
Private Function fileExists(filename As String) As Boolean
Dim fs1 As New Scripting.FileSystemObject

fileExists = fs1.fileExists(filename)
End Functio
-----------------------------------------------------------------------------------------
run time error 429
Active X component can't create object


when I go to check references nothing is marked as MISSING

so how do I find out wich component file is missing so I can replace?
Does anyone know which active X componenet file it is?
 
Hi Adam,

Try changing you dim statement to

Dim fs1 as Object

This is how I've done done this in the past. If it still doesn't work, let
me know what references you have and I'll compare them to my application in
which this works.

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top