Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Radioactive45 #1
CFObject with ASP Script
Hey All,
I have a bit of an issue while trying to get a ASP Script to work in
ColdFusion. I was able to connect to the objects, but I was getting a "Method
Not Found Error" for the AddPrinterConnection method. The code executes fine
while if running in an .asp page.
The ASP Script is as follows (this is just the section I am having trouble
with):
Set objFS = CreateObject("Scripting.FileSystemObject")
Set objWSHNet = CreateObject("WScript.Network")
objWSHNet.AddPrinterConnection "LPT1", strPrinterPath, False, strUsername,
strPassword
Set objPrinter = objFS.CreateTextFile("LPT1:", True)
objPrinter.Write(strMessage)
Any ideas on how I can get this to work in CF?
Thanks,
Roger
Radioactive45 Guest
-
cfobject
Here is my tag that works in CF6, <cfobject action="create" type="java" class="com/sbc/ea/utilities/AddressHashHelper" name="addrHashHelper"> I... -
CFOBJECT error
This error is occurring in CF4.5. I believe this is the first version that CFOBJECT was implemented, but don't know the extent of the error... -
Problems with CFOBJECT
We are using CFOBJECT to access a couple different DLL's used to run credit reports. The component works fine in our test application which is a... -
Using cfobject to call a dll
Hi all Hope someone can help me with this problem i have. I have created an online shop which is using an integrated payment gateway (cybersource... -
Using CfObject
Tom CF Apr 6, 1:52 am show options From: "Tom CF" <kohlivis...@gmail.com> - Find messages by this author Date: Wed, 06 Apr 2005 08:52:56...



Reply With Quote

