I have a database that I am running off the network and accessing fomr several PCs which is working just fine except one of the PC's is getting an Active X error.
(429 ActiveX Component can't create object)
Does this have to do with something missing or not totally installed on my system?
It happens on the "Set fs = CreateObject("Scripting.FileSystemObject")" line in my code below...
Any ideas?
=====================
Private Sub Add_Record_Click()
On Error GoTo Err_Add_Record_Click
Dim q As Integer, iID As Integer, blnFail As Boolean
Dim strCrit As String, strMsg As String, strTitle As String, strTermId As String
Const ForReading = 1, TristateUseDefault = 2
Dim fs, f
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.OpenTextFile("c:\TermID.txt", ForReading, TristateUseDefault)
strTermId = f.ReadLine
f.Close
(429 ActiveX Component can't create object)
Does this have to do with something missing or not totally installed on my system?
It happens on the "Set fs = CreateObject("Scripting.FileSystemObject")" line in my code below...
Any ideas?
=====================
Private Sub Add_Record_Click()
On Error GoTo Err_Add_Record_Click
Dim q As Integer, iID As Integer, blnFail As Boolean
Dim strCrit As String, strMsg As String, strTitle As String, strTermId As String
Const ForReading = 1, TristateUseDefault = 2
Dim fs, f
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.OpenTextFile("c:\TermID.txt", ForReading, TristateUseDefault)
strTermId = f.ReadLine
f.Close