Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Disble excel message in asp.net

Disble excel message in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mugdha_Aditya
    wrote on last edited by
    #1

    i am working on excel application in which i need to download the data from excel. while opening excel through application it always popup message as "Connecting to the server for information" i want to disabled that meassage. what i need to do.. i tried .DisplayAlerts = false; But its not working

    A 1 Reply Last reply
    0
    • M Mugdha_Aditya

      i am working on excel application in which i need to download the data from excel. while opening excel through application it always popup message as "Connecting to the server for information" i want to disabled that meassage. what i need to do.. i tried .DisplayAlerts = false; But its not working

      A Offline
      A Offline
      Arun Jacob
      wrote on last edited by
      #2

      Your information is not proper. How you are accessing your excel? Are you using any third party Dlls? Have you debugged to see if there is any popup invoked?

      Mugdha_Aditya wrote:

      i tried .DisplayAlerts = false; But its not working

      Which object is having this property?

      Arun Jacob My Technical Blog : Code.NET

      M 1 Reply Last reply
      0
      • A Arun Jacob

        Your information is not proper. How you are accessing your excel? Are you using any third party Dlls? Have you debugged to see if there is any popup invoked?

        Mugdha_Aditya wrote:

        i tried .DisplayAlerts = false; But its not working

        Which object is having this property?

        Arun Jacob My Technical Blog : Code.NET

        M Offline
        M Offline
        Mugdha_Aditya
        wrote on last edited by
        #3

        no i am not using any third party dll m opening my excel like this ApplicationClass xlApp = new ApplicationClass(); //xlApp.ShowStartupDialog = false; //xlApp.DisplayAlerts = false; Workbook xlWBook = xlApp.Workbooks.Open(sFileName, 0, false, 5, "", "", false, Excel.XlPlatform.xlWindows, "", true, false, 0, true, false, false); every thing working correctly but when i debug my code... n start downloading the data it gives popup as conneting to server to get informtaion... popup goes automatically.. but i want to hide tht

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups