G
Guest
Hello All,
I am working on a database that was created by a much better developer than
I. She has these lines of code on a form with an Active X Web browser
control. It works perfectly. I copied her old form using SAVE AS and copied
the code. Changed the file name to a swf file, but now the code will not
compile. Any insight? As I mentioned, it works perfectly even with the file
type change, just doesn't compile.
Private Sub Form_Current()
Dim DirectoryPath As String
DirectoryPath = "C:\intro.swf"
CurJPG = DirectoryPath
Me.WebBrowser0.Navigate CurJPG
End Sub
I am working on a database that was created by a much better developer than
I. She has these lines of code on a form with an Active X Web browser
control. It works perfectly. I copied her old form using SAVE AS and copied
the code. Changed the file name to a swf file, but now the code will not
compile. Any insight? As I mentioned, it works perfectly even with the file
type change, just doesn't compile.
Private Sub Form_Current()
Dim DirectoryPath As String
DirectoryPath = "C:\intro.swf"
CurJPG = DirectoryPath
Me.WebBrowser0.Navigate CurJPG
End Sub