Search results for query: *

  • Users: pabby
  • Order by date
  1. P

    Whats wrong with this code ? (Datagrid Update)

    Apologies for abiguous Title/location Apologies JohnH, thanks, Paul
  2. P

    Whats wrong with this code ? (Datagrid Update)

    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...
  3. P

    Opening an excel doc from button

    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...
  4. P

    Opening an excel doc from button

    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
  5. P

    Opening an excel doc from button

    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 ...
  6. P

    Opening an excel doc from button

    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...
  7. P

    How to open an excel file from a button

    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
  8. P

    How to open an excel file from a button

    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.
  9. P

    How to open an excel file from a button

    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...
Back
Top