Opening a new window that needs to send information before the program continues processing

الإجابة Opening a new window that needs to send information before the program continues processing

  • sexta-feira, 22 de maio de 2009 18:50
     
     
    I am currently working on a VSTO project in which I am exporting the outlook contacts into XML format.

    I am not sure where to put this because it is a VSTO project which is built on the .NET framework, and the typical way to open a new window is through java script.

    What I am trying to do is while I am exporting all of the contacts, take each new contact and see if it is identical to other ones in certain areas, so I can keep from having duplicates exported.

    But when I find one, I want to be able to open up another window in the middle of processing which will halt the process and ask the user what they want to do, similar to when copying files, windows asks if you want to keep or remove the old file, but I want to be able to return a variable other than a boolean like maybe an integer with each different option being a different int.

    If I use javascript then I don't know how to keep the process from being halted.

    So any advice on where to put this or how to accomplish this would be helpful

    also, since VSTO development is a project instead of a web page, shouldn't I be able to open up a new window since all the work is done on the client side?

Todas as Respostas