HELP!!! CFOBJECT problems!!

2001-01-17 Thread Jeff W

I am bashing my brain trying to figure this one out. I am using a COM object
to get a URL and an ID number.
Easy enough. At least I thought.

Here is the error I get from Cold Fusion
--
Error resolving parameter TID

ColdFusion was unable to determine the value of the parameter.


Here is the code..
--

cfscript
VPCObject = createobject("COM", "mtk.mtkcom.1");
err = VPCObject.GetTransactionID(url,tid);
/cfscript

Here is what I am using as reference. Below is the ASP code that gives me
two variables, URL and TID. IT does work. I do realize that I am setting
session variable here in ASP and not with the CFscript code..

set Session("VPCObject") = server.CreateObject("Mtk.MtkCom.1")
err = Session("VPCObject").GetTransactionID(url,tid)

Once this is set in ASP I can access both the URL and TID variables.

The only idea that I can come up with is that when I set err variable its
not allowing me to get BOTH the URL and TID..

I am up for any suggestions..

Jeff W.
Priority Business Cards




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: HELP!!! CFOBJECT problems!!

2001-01-17 Thread Simon Horwith

try surrounding url and tid with quotes.  Your best bet is to look through
whatever documentation you can for the COM Object, though.

~Simon

 Simon Horwith
 Allaire Certified ColdFusion Instructor
 Certified ColdFusion Developer
 Fig Leaf Software
 1400 16th St NW, # 220
 Washington DC 20036
 202.797.6570 (direct line)
 www.figleaf.com
 


-Original Message-
From: Jeff W [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 11:48 AM
To: CF-Talk
Subject: HELP!!! CFOBJECT problems!!


I am bashing my brain trying to figure this one out. I am using a COM object
to get a URL and an ID number.
Easy enough. At least I thought.

Here is the error I get from Cold Fusion
--
Error resolving parameter TID

ColdFusion was unable to determine the value of the parameter.


Here is the code..
--

cfscript
VPCObject = createobject("COM", "mtk.mtkcom.1");
err = VPCObject.GetTransactionID(url,tid);
/cfscript

Here is what I am using as reference. Below is the ASP code that gives me
two variables, URL and TID. IT does work. I do realize that I am setting
session variable here in ASP and not with the CFscript code..

set Session("VPCObject") = server.CreateObject("Mtk.MtkCom.1")
err = Session("VPCObject").GetTransactionID(url,tid)

Once this is set in ASP I can access both the URL and TID variables.

The only idea that I can come up with is that when I set err variable its
not allowing me to get BOTH the URL and TID..

I am up for any suggestions..

Jeff W.
Priority Business Cards
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: HELP!!! CFOBJECT problems!!

2001-01-17 Thread Jeff W

Thanks much. Worked like a charm. It was a combo effect... I had to set the
URL and TID variables and then had to use the quotes. Works like a charm...

Jeff
Priority Business Cards

- Original Message -
From: "Simon Horwith" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 2:38 PM
Subject: RE: HELP!!! CFOBJECT problems!!


 try surrounding url and tid with quotes.  Your best bet is to look through
 whatever documentation you can for the COM Object, though.

 ~Simon

  Simon Horwith
  Allaire Certified ColdFusion Instructor
  Certified ColdFusion Developer
  Fig Leaf Software
  1400 16th St NW, # 220
  Washington DC 20036
  202.797.6570 (direct line)
  www.figleaf.com
 


 -Original Message-
 From: Jeff W [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 17, 2001 11:48 AM
 To: CF-Talk
 Subject: HELP!!! CFOBJECT problems!!


 I am bashing my brain trying to figure this one out. I am using a COM
object
 to get a URL and an ID number.
 Easy enough. At least I thought.

 Here is the error I get from Cold Fusion
 --
 Error resolving parameter TID

 ColdFusion was unable to determine the value of the parameter.


 Here is the code..
 --

 cfscript
 VPCObject = createobject("COM", "mtk.mtkcom.1");
 err = VPCObject.GetTransactionID(url,tid);
 /cfscript

 Here is what I am using as reference. Below is the ASP code that gives me
 two variables, URL and TID. IT does work. I do realize that I am setting
 session variable here in ASP and not with the CFscript code..

 set Session("VPCObject") = server.CreateObject("Mtk.MtkCom.1")
 err = Session("VPCObject").GetTransactionID(url,tid)

 Once this is set in ASP I can access both the URL and TID variables.

 The only idea that I can come up with is that when I set err variable its
 not allowing me to get BOTH the URL and TID..

 I am up for any suggestions..

 Jeff W.
 Priority Business Cards

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists