06-12-2008, 02:22 PM
Hi,
Just replace Dim by Public in your code.
From:
To:
It worked for me when I was getting this kind of error for some other scenerio.
Just replace Dim by Public in your code.
From:
Code:
Dim objswfWinDesc, objswfWinColl
Dim objswfObjDesc, objswfObjColl
To:
Code:
Public objswfWinDesc, objswfWinColl
Public objswfObjDesc, objswfObjColl
It worked for me when I was getting this kind of error for some other scenerio.