EasyCFM.COM ColdFusion Forums / ColdFusion Applications / CF8 & .NET Integration

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: CF8 & .NET Integration

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

Desvar
09-12-2007 @ 9:40 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 2
Joined: Sep 2007

Hello,

Does Anyone know some features about .net integration of CF8?

I tried the examples of Ben Forta site but they don't work.

Exception: java.lang.ClassNotFoundException

Code:

  <!--- Get System.IO.DriveInfo class --->
<cfobject type=".NET"
           name="sidiClass"
           class="System.IO.DriveInfo">
<!--- Get drives --->
<cfset drives=sidiClass.GetDrives()>

Webmaster
09-12-2007 @ 5:01 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4542
Joined: Jan 2002

<cfscript>
  objDotNet = createObject(".Net", "System.IO.DriveInfo") ;
</cfscript>

<cfdump var="#objDotNet#" />

Pablo Varando
Senior Application Architect
EasyCFM.COM, LLC.

904.483.1457 \\ mobile
webmaster@easycfm.com \\email

Desvar
09-13-2007 @ 3:26 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 2
Joined: Sep 2007

I don't understand why this script does not work.

Again the same exception
Exception: java.lang.ClassNotFoundException


Website Designed and Developed by Pablo Varando.