DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 20 Aug 2007 06:13:36 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Mel
          2    unknown
          3    Mel


Error: URI formats are not supported.   
I am getting this error when I try to declare an object as an Excel
workbook.  Can anyone tell me how to fix it?  I have placed the Excel
file on the server in the "spreadsheets" directory.

Public Shared wkbExcel As SpreadsheetGear.IWorkbook
=SpreadsheetGear.Factory.GetWorkbook("http:\\myport.mydomain.com
\spreadsheets\span tables.xls")
Date:Mon, 20 Aug 2007 06:13:36 -0700   Author:  

Re: Error: URI formats are not supported.   
The error you are getting ("URI formats are not supported") means that
you cannot pass a URL to the function. Instead, you will have to pass
a local path to the file e.g.

Public Shared wkbExcel As SpreadsheetGear.IWorkbook =
SpreadsheetGear.Factory.GetWorkbook("c:\myfile.xls")

Mark,
http://aspnetlibrary.com
Date:Mon, 20 Aug 2007 13:17:42 -0000   Author:  

Re: Error: URI formats are not supported.   
On Aug 20, 8:17 am, "ca8...@aspnetlibrary.com"
 wrote:

> The error you are getting ("URI formats are not supported") means that
> you cannot pass a URL to the function. Instead, you will have to pass
> a local path to the file e.g.
>
> Public Shared wkbExcel As SpreadsheetGear.IWorkbook =
> SpreadsheetGear.Factory.GetWorkbook("c:\myfile.xls")
>
> Mark,http://aspnetlibrary.com


Thanks for your help!  It works great now.

Public Shared wkbExcel As SpreadsheetGear.IWorkbook =
SpreadsheetGear.Factory.GetWorkbook("Q:\portal\spreadsheets\Span
Tables.xls")
Date:Mon, 20 Aug 2007 06:35:45 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us