|
-
Nov 1st, 2000, 03:33 PM
#1
Thread Starter
New Member
I am new to the world of ActiveX and have been deputed to solve the foll:
We're using IE 5 as the browser, we need to print the screen/screens. Using the javascript expression
window.parent.frames['main'].print()
causes the printer dialog to show up. To avoid that I need to write an ActiveX control that does the same but without the print dialog.
I found that Screen.ActiveForm.PrintForm should print the active window but when I use this in an ActiveX control, all I get is the error:
Object variable or with block variable not set
Isn't Screen a predefined object that you should be able to use or am I totally barking up the wrong tree ?
Any ideas would be appreciated.
SKP
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|