Cristiane
July 28th, 2003, 02:21 PM
Hi..
How can I use the CreateObject method in asp-C#.net (in a class, not a form)?
Thanks
Cristiane
How can I use the CreateObject method in asp-C#.net (in a class, not a form)?
Thanks
Cristiane
|
Click to See Complete Forum and Search --> : CreateObject Cristiane July 28th, 2003, 02:21 PM Hi.. How can I use the CreateObject method in asp-C#.net (in a class, not a form)? Thanks Cristiane parabiz August 7th, 2003, 07:03 AM You should do Object Obj=Server.CreateObject(".....") I hope this is your solution :) womalley August 11th, 2003, 08:24 AM Originally posted by Cristiane Hi.. How can I use the CreateObject method in asp-C#.net (in a class, not a form)? Thanks Cristiane you mean on the .CS page right not a function on the client? You need to add a reference to Microsoft Scripting Runtime Then you will see a reference to Scripting popup under references. now you can do this FileSystemObject FSO_Target = new Scripting.FileSystemObjectClass(); Hope this helps Will codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |