Q
QB
I am running winXP with Office 2003 and 2007 and am currently working on a
2003 db (using this one as an example, but problem is on a multitude of dbs
as of late).
The db was working fine for at least a month (if not longer) and now I get
errors? For instance, I use the following to work with Word.
*************
Dim objWord As Object
On Error Resume Next
Set objWord = GetObject(, "Word.Application")
DoEvents
If Err.Number <> 0 Then
On Error GoTo 0
Err.Clear
DoEvents
Set objWord = CreateObject("Word.Application")
Else
objWord.Quit
DoEvents
Set objWord = CreateObject("Word.Application")
End If
On Error GoTo Error_Handler
....
*************
What once worked, not generates and error highlighting Set objWord =
GetObject(, "Word.Application") and stating that the ActiveX control cannot
create object (err 429). Why is it not performing the Resume Next????? It
is failing on simple Trim() commands....
I could believe 1 db could be corrupted, but this is now a wide spread issue
on at least 6 different dbs.
Can this be linked to recent windows updates (it is the only thing that has
changed in recent days/weeks)? If so, how do you determine the source?
Thank you for the help,
QB
2003 db (using this one as an example, but problem is on a multitude of dbs
as of late).
The db was working fine for at least a month (if not longer) and now I get
errors? For instance, I use the following to work with Word.
*************
Dim objWord As Object
On Error Resume Next
Set objWord = GetObject(, "Word.Application")
DoEvents
If Err.Number <> 0 Then
On Error GoTo 0
Err.Clear
DoEvents
Set objWord = CreateObject("Word.Application")
Else
objWord.Quit
DoEvents
Set objWord = CreateObject("Word.Application")
End If
On Error GoTo Error_Handler
....
*************
What once worked, not generates and error highlighting Set objWord =
GetObject(, "Word.Application") and stating that the ActiveX control cannot
create object (err 429). Why is it not performing the Resume Next????? It
is failing on simple Trim() commands....
I could believe 1 db could be corrupted, but this is now a wide spread issue
on at least 6 different dbs.
Can this be linked to recent windows updates (it is the only thing that has
changed in recent days/weeks)? If so, how do you determine the source?
Thank you for the help,
QB