HI I have a datagrid that is not updating - when you click the "Update " link, it just reverts back to the data it got at Page Load and comes out of edit mode. I have tried the if not Page.IsPostBack - but it made no difference (Unless I put it in the wrong place) - it is for an ASP.NET web...
Thanks
HI Again,
thanks for all of your suggestions - I ended up going down the same route by adding ASPNET user full control permissions to the excel file that I was trying to open - but believe it or not I am still getting Access Denied !
I logged off then back on as Administrator and...
Running code but getting Access Denied.
Exception Details: System.UnauthorizedAccessException: Access is denied.
Line 50:
Line 51: ' Start Excel and get Application object.
Line 52: oXL = New Excel.Application
Line 53: oXL.Visible = True
Line 54:
thanks,
Paul
HI and thanks,
I see what you are saying but when I attempted to use that code, my IDE did not like "workbooks" in the second line that refers to "ThisApplication"
thisapplication = New Excel.Workbooks (It put a wavy line underneath Excel.Workbooks)
The dot notation in my IDE would ...
Hi,
I have tried this code from a button click but I am getting an error
Dim wb As Excel.Workbook
Dim thisapplication As Excel.Workbooks
thisapplication.Open("F:\called.xls")
the error is : Exception Details: System.NullReferenceException: Object reference not set to an instance of an...
open excel spreadsheet
HI
At the moment, I want the button just to open a spreadsheet in the usual fashion.
Can it be opened in the browser - edited and saved in the browser - if so, that would be better. This would be my preference, if not, then a simple "open" will do..
thanks again
HI,
I was attempting to test it on my local machine but ultimately it will be opened from a server. i.e. \\servername\share\filename.xls
If you could help it would be very much appreciated.
thanks.
HI,
I am running visual studio .net and I have a simple web form with a button on it.
I want this button to open a specific excel document. I have posted on other forums and had different solutions but none that actually work. (possibly due to my inexperience as I am fairly new) I was close...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.