Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Windows 2000 Server (TECHNET) > Browser crashes after cancelling Printer Dialog
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 14th July 10:10
vadr
External User
 
Posts: 1
Default Browser crashes after cancelling Printer Dialog



Hi All,
I'm developing a COM module to be used in an ASP application to fax HTML
do***ents programmatically using faxcom 1.0 type library (fxscom.dll). After
calling the Send() method on an instance of FAXCOMLib.FaxDoc class, a Print
dialog appears with the default fax device being selected (the behavior is
do***ented on http://support.microsoft.com/?kbid=841714). If the Cancel
button is pressed, the component and the browser (IE) crash.
This bug is consistent throughout using different fax service object models
(faxcom 1.0, Microsoft Fax Service Extended COM Type Library (fxscomex.dll),
FaxServer).

I haven't seen any mention of this error or fixes so far. Would much
appreciate any help or insight.
  Reply With Quote


  sponsored links


2 14th July 10:10
vadr
External User
 
Posts: 1
Default Browser crashes after cancelling Printer Dialog



It seems like no one has ever experienced this problem?? Can I please get the
MVP's attention? The problem r-e-a-l-l-y exists, and not only when IE is
involved. Try the following VBScript code:

Dim FS 'as Object
Dim ServerName 'As String
Dim FD 'As Object
Dim FileName 'As String
Dim JobId 'as Long

Set FS = CreateObject("FaxServer.FaxServer")
ServerName = "yourserver"
FS.Connect(ServerName)
FileName = "yourfile.html"
Set FD = FS.CreateDo***ent(FileName)
FD.FaxNumber="999 9999999"

JobId = FD.Send()
msgbox "Sent!"
FS.Disconnect()

set fs=nothing
set fd=nothing

Create a .vbs file and run it. When you cancel the "Print" dialog, the
program stops responding.

Please give me your insights.

Vad
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666