faxing through coldfusion And VBscript

2012-09-24 Thread ghulam nabi

i have to use fax service in my site
and i use this code

Set objFaxDocument = WScript.CreateObject(FaxComEx.FaxDocument)
Set objFaxServer = WScript.CreateObject(FaxComEx.FaxServer)

Dim JobID

objFaxServer.Connect(ds06)

objFaxDocument.Body = C:\fax.txt

objFaxDocument.DocumentName = My First Fax

objFaxDocument.Priority = 2

objFaxDocument.Recipients.Add(12123151777)

objFaxDocument.AttachFaxToReceipt = True

objFaxDocument.CoverPageType = 1
objFaxDocument.CoverPage = generic
objFaxDocument.Note = Here is the info you requested
objFaxDocument.ReceiptAddress = chgulamn...@gmail.com

objFaxDocument.Subject = Today's fax
objFaxDocument.Sender.Title = Mr.
objFaxDocument.Sender.Name = Test Man
objFaxDocument.Sender.City = Test City
objFaxDocument.Sender.State = FL
objFaxDocument.Sender.Company = Test Company
objFaxDocument.Sender.Country = USA
objFaxDocument.Sender.Email = chgulamn...@yahoo.com
JobID = objFaxDocument.ConnectedSubmit(objFaxServer)
MsgBox(The Job ID is :  JobID(0))

objFaxServer.Disconnect()

when i click fax.vbs
then error accured
error:Operation Failed
Code:80070002
line:32 that is JobID = objFaxDocument.ConnectedSubmit(objFaxServer)

when i execute coldfusion file
cfexecute name=C:\Windows\System32\cscript.exe
arguments=C:\Inetpub\wwwroot\dev\fax.vbs
/cfexecute
then nothing shows and not any message.
is there i must to install fax server fax modem fax printer
or in which it will be send fax to specific no.
any help will be realy appreciated.
thanks in advance
.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352736
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: faxing through coldfusion And VBscript

2012-09-24 Thread Russ Michaels

Do you have the option to use anything else as this seems like an overly
complex solution.
an email to fax service would make life a lot easier I think.

On Mon, Sep 24, 2012 at 11:53 AM, ghulam nabi chgulamn...@gmail.com wrote:


 i have to use fax service in my site
 and i use this code

 Set objFaxDocument = WScript.CreateObject(FaxComEx.FaxDocument)
 Set objFaxServer = WScript.CreateObject(FaxComEx.FaxServer)

 Dim JobID

 objFaxServer.Connect(ds06)

 objFaxDocument.Body = C:\fax.txt

 objFaxDocument.DocumentName = My First Fax

 objFaxDocument.Priority = 2

 objFaxDocument.Recipients.Add(12123151777)

 objFaxDocument.AttachFaxToReceipt = True

 objFaxDocument.CoverPageType = 1
 objFaxDocument.CoverPage = generic
 objFaxDocument.Note = Here is the info you requested
 objFaxDocument.ReceiptAddress = chgulamn...@gmail.com

 objFaxDocument.Subject = Today's fax
 objFaxDocument.Sender.Title = Mr.
 objFaxDocument.Sender.Name = Test Man
 objFaxDocument.Sender.City = Test City
 objFaxDocument.Sender.State = FL
 objFaxDocument.Sender.Company = Test Company
 objFaxDocument.Sender.Country = USA
 objFaxDocument.Sender.Email = chgulamn...@yahoo.com
 JobID = objFaxDocument.ConnectedSubmit(objFaxServer)
 MsgBox(The Job ID is :  JobID(0))

 objFaxServer.Disconnect()

 when i click fax.vbs
 then error accured
 error:Operation Failed
 Code:80070002
 line:32 that is JobID = objFaxDocument.ConnectedSubmit(objFaxServer)

 when i execute coldfusion file
 cfexecute name=C:\Windows\System32\cscript.exe
 arguments=C:\Inetpub\wwwroot\dev\fax.vbs
 /cfexecute
 then nothing shows and not any message.
 is there i must to install fax server fax modem fax printer
 or in which it will be send fax to specific no.
 any help will be realy appreciated.
 thanks in advance
 .


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352737
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Modern (and free) html/cf editor that is similar to Homesite?

2012-09-24 Thread Rick Faircloth

+1 for Sublime Text 2!

-Original Message-
From: Paul Kukiel [mailto:pkuk...@gmail.com] 
Sent: Monday, August 13, 2012 11:52 PM
To: cf-talk
Subject: Re: Modern (and free) html/cf editor that is similar to Homesite?


Sublime is amazing I have just switched.  It's not free but if you use it
as the free version its the same just has a pop up to purchase every now
and then.

Highly recommended for a speedy editor.

Paul.

On Tue, Aug 14, 2012 at 9:43 AM, Kym Kovan dev-li...@mbcomms.net.au wrote:


 Nobody has mentioned Sublime Text 2

 http://www.sublimetext.com/2

 a superb editor, a natural if you are moving on from Homesite

 On 14/08/2012 00:15, Pete Ruckelshaus wrote:
 
  I teach web design and web programming at a public high school.  I have
  been using homesite for my classes, but it doesn't play well in our
  environment (locked down C drive, network drives...trust me, it has
  issues).  Are there any current text editors that play well with HTML,
 CSS,
  JavaScript, and CF, that are also free?  It doesn't need to be a super
  heavy duty app like Eclipse, in fact, I tried that with my web design
 class
  and it was a nightmare because of its complexity.
 
  Platform is WinXP.
 
  Thanks for any suggestions,
 
  Pete
 
 


 --
 Yours,

 Kym Kovan
 mbcomms.net.au



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352738
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Modern (and free) html/cf editor that is similar to Homesite?

2012-09-24 Thread Rick Faircloth

That's just appearing! Michael, are you censoring me?
(No, actually, I've just realized I'm having email server problems...)

-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: Tuesday, August 14, 2012 12:14 AM
To: cf-talk
Subject: RE: Modern (and free) html/cf editor that is similar to Homesite?


+1 for Sublime Text 2!

-Original Message-
From: Paul Kukiel [mailto:pkuk...@gmail.com] 
Sent: Monday, August 13, 2012 11:52 PM
To: cf-talk
Subject: Re: Modern (and free) html/cf editor that is similar to Homesite?


Sublime is amazing I have just switched.  It's not free but if you use it
as the free version its the same just has a pop up to purchase every now
and then.

Highly recommended for a speedy editor.

Paul.

On Tue, Aug 14, 2012 at 9:43 AM, Kym Kovan dev-li...@mbcomms.net.au wrote:


 Nobody has mentioned Sublime Text 2

 http://www.sublimetext.com/2

 a superb editor, a natural if you are moving on from Homesite

 On 14/08/2012 00:15, Pete Ruckelshaus wrote:
 
  I teach web design and web programming at a public high school.  I have
  been using homesite for my classes, but it doesn't play well in our
  environment (locked down C drive, network drives...trust me, it has
  issues).  Are there any current text editors that play well with HTML,
 CSS,
  JavaScript, and CF, that are also free?  It doesn't need to be a super
  heavy duty app like Eclipse, in fact, I tried that with my web design
 class
  and it was a nightmare because of its complexity.
 
  Platform is WinXP.
 
  Thanks for any suggestions,
 
  Pete
 
 


 --
 Yours,

 Kym Kovan
 mbcomms.net.au



 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352739
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Modern (and free) html/cf editor that is similar to Homesite?

2012-09-24 Thread .jonah

And there are CFML syntax coloring and code completion extensions.

On 9/24/12 12:32 PM, Rick Faircloth wrote:
 That's just appearing! Michael, are you censoring me?
 (No, actually, I've just realized I'm having email server problems...)

 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Tuesday, August 14, 2012 12:14 AM
 To: cf-talk
 Subject: RE: Modern (and free) html/cf editor that is similar to Homesite?


 +1 for Sublime Text 2!

 -Original Message-
 From: Paul Kukiel [mailto:pkuk...@gmail.com]
 Sent: Monday, August 13, 2012 11:52 PM
 To: cf-talk
 Subject: Re: Modern (and free) html/cf editor that is similar to Homesite?


 Sublime is amazing I have just switched.  It's not free but if you use it
 as the free version its the same just has a pop up to purchase every now
 and then.

 Highly recommended for a speedy editor.

 Paul.

 On Tue, Aug 14, 2012 at 9:43 AM, Kym Kovan dev-li...@mbcomms.net.au wrote:

 Nobody has mentioned Sublime Text 2

 http://www.sublimetext.com/2

 a superb editor, a natural if you are moving on from Homesite

 On 14/08/2012 00:15, Pete Ruckelshaus wrote:
 I teach web design and web programming at a public high school.  I have
 been using homesite for my classes, but it doesn't play well in our
 environment (locked down C drive, network drives...trust me, it has
 issues).  Are there any current text editors that play well with HTML,
 CSS,
 JavaScript, and CF, that are also free?  It doesn't need to be a super
 heavy duty app like Eclipse, in fact, I tried that with my web design
 class
 and it was a nightmare because of its complexity.

 Platform is WinXP.

 Thanks for any suggestions,

 Pete



 --
 Yours,

 Kym Kovan
 mbcomms.net.au








 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352740
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm