arst06d
Programmer
- Nov 29, 2002
- 324
I need to automate the printing of an Access snapshot report, using the snapshot viewer.
I can invoke the viewer using:
however, using the print action - nothing happens
Thanks in advance
I can invoke the viewer using:
Code:
<script language="javascript">
function fnShellExecuteJ()
{
var objShell = new ActiveXObject("Shell.Application");
objShell.ShellExecute("C:\\Program Files\\Snapshot Viewer\\SNAPVIEW.EXE","\\\\server\\share$\\folder1\\report.snp", "", "open", "1");
}
</script>
however, using the print action - nothing happens
Code:
<script language="javascript">
function fnShellExecuteJ()
{
var objShell = new ActiveXObject("Shell.Application");
objShell.ShellExecute("C:\\Program Files\\Snapshot Viewer\\SNAPVIEW.EXE","\\\\server\\share$\\folder1\\report.snp", "", "open", "1");
}
</script>
Thanks in advance