File system object

This is a discussion on "File system object" within the Classic ASP section. This forum, and the thread "File system object are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 20th, 2006, 09:11
Junior Member
Join Date: Feb 2006
Age: 30
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
File system object

Hi Guys,
I am trying to open an excel sheet on an ASP page using the using the following code given below. but it looks like on some machines the File System object is getting created and on some machines not. On some systems the excel sheet opens and on other it doesn't open, instead it throws a http 500 error. Can you please tell me why this is happening.
Regards,
Madhuri
Reply With Quote

  #2 (permalink)  
Old Feb 20th, 2006, 12:57
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: File system object

Why not use the ODBC driver for excel files??
Code: Select all
oConn.Open "Driver={Microsoft Excel Driver (*.xls)};" & _
           "DriverId=790;" & _
           "Dbq=c:\somepath\mySpreadsheet.xls;" & _
           "DefaultDir=c:\somepath"
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work

Last edited by Rob; Feb 21st, 2006 at 14:41.
Reply With Quote
Reply

Tags
file, system, object

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
opening file in object player alexhkleung JavaScript Forum 6 Dec 2nd, 2007 10:05
<object> mayhem :) BigWings Web Page Design 15 Dec 12th, 2006 20:40
Creating a log file (text file) and an XML file using XSL kdelacruz Other Programming Languages 1 Nov 4th, 2006 21:12
Object Detection RobinDeanDotCom JavaScript Forum 4 Sep 11th, 2006 18:30
FSO (File System Object) Performance spinal007 Classic ASP 17 Mar 16th, 2005 18:03


All times are GMT. The time now is 21:05.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43