How to Open MPP programmatically without using IIS Express in WCF Application

Hi all,
i have been succeeded to open Microsoft Project Profession file programmatically for Project that is created in project server
please refer this
link.
but now we have to do this task in WCF Application then if we enable "Use IIS Express" option then this code is working fine.
but if we uncheck or remove "use IIS express" option then it is not working, what would be the possible reason for this?
and just wondering if we deploy this WCF service on some X server, does this code will be helpfull??
Basically we are looking for the exact functionality what "Open with Project" button do in project server. (please refer below image)
Regards, Kartik Ghodasara Associative Software engineer, Synoverge Tech Pvt. Ltd. Ahmedabad Please vote or mark as answer if it helps...

the code's not formatted so I'm not going to try to read it,
and there's too many ?? to remove before it will compile,
so, you say it works with the mouse - how, clicking a button?
if so, search for the keyBindings tutorial where you can set up
an action for (e.g.) F2 to do button.doClick()

Similar Messages

  • How to open a JCalendarCombo without using the mouse ???

    In my swing-application i implementet a JCalendarCombo Object for selection of different Date Times.
    Now it's necessary to display this JCalendarCombo for example entering a Key (F1/F2 etc.)
    I didn't find a possibilty to realize this item.
    The JCalendarCombo package is downloaded with the following packages:
    org.gui.ButtonActionListener
    org.gui.ButtonItemListener
    org.gui.ComboBoxItemListener
    org.gui.JCalendar
    org.gui.JCalendarCombo
    org.gui.JDayButton
    org.gui.JDayLabel
    org.gui.TextFieldMouseListener
    All Classes instead of MouseListener are protected, so that it's not possible to call a method like "initializeCalendar" ore something like that.
    No methods like key-Listener are implementet.
    Here's the source code:
    * test6.java
    * Created on 13. März 2008, 15:25
    import org.gui.JCalendarCombo;
    import java.util.GregorianCalendar;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    import javax.swing.JComponent;
    import org.gui.JCalendar;
    import org.gui.JCalendarCombo;
    import java.awt.Robot;
    * @author goetz
    public class test6 extends javax.swing.JFrame {
    /** Creates new form test6 */
    public test6() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {//GEN-BEGIN:initComponents
    jPanel1 = new javax.swing.JPanel();
    jTextField1 = new javax.swing.JTextField();
    jTextField2 = new javax.swing.JTextField();
    jTextField3 = new javax.swing.JTextField();
    jTextField4 = new javax.swing.JTextField();
    jTextArea1 = new javax.swing.JTextArea();
    jButton1 = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jTable1 = new javax.swing.JTable();
    //org.gui.JCalendar cal=new org.gui.JCalendar();
    Date heute=new Date();
    GregorianCalendar today = new GregorianCalendar();
    today.setTime(heute);
    GregorianCalendar calendar = new GregorianCalendar();
    int currentmonth =today.get(GregorianCalendar.MONTH);
    int currentyear = today.get(GregorianCalendar.YEAR);
    int currentday = today.get(GregorianCalendar.DAY_OF_MONTH);
    calendar.set(currentyear, currentmonth, currentday);
    JCalendarCombo jCalendarCombo = new JCalendarCombo(JCalendarCombo.MONDAY, true, 1900, 3000, false);
    getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
    jCalendarCombo.setDateFormat(JCalendarCombo.YEAR_BIG, JCalendarCombo.MONTH, JCalendarCombo.DAY, '.');
    jCalendarCombo.setDate(calendar);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    exitForm(evt);
    jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
    jTextField1.setText("jTextField1");
    jPanel1.add(jTextField1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 20, 130, -1));
    jTextField2.setText("jTextField2");
    jPanel1.add(jTextField2, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 60, 130, -1));
    jTextField3.setText("jTextField3");
    jPanel1.add(jTextField3, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 110, 130, -1));
    jTextField4.setText("jTextField4");
    jPanel1.add(jTextField4, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 190, 140, -1));
    jTextArea1.addKeyListener(new java.awt.event.KeyAdapter() {
    public void keyPressed(java.awt.event.KeyEvent evt) {
    jTextArea1KeyPressed(evt);
    jPanel1.add(jCalendarCombo,new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 20, -1, -1) );
    jPanel1.add(jTextArea1, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 50, 70, 40));
    jButton1.setText("jButton1");
    jPanel1.add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 270, -1, -1));
    jButton2.setText("jButton2");
    jPanel1.add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 270, -1, -1));
    jTable1.setModel(new javax.swing.table.DefaultTableModel(
    new Object [][] {
    {null, null, null, null},
    {null, null, null, null},
    {null, null, null, null},
    {null, null, null, null}
    new String [] {
    "Title 1", "Title 2", "Title 3", "Title 4"
    jTable1.addKeyListener(new java.awt.event.KeyAdapter() {
    public void keyPressed(java.awt.event.KeyEvent evt) {
    jTable1KeyPressed(evt);
    jPanel1.add(jTable1, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 110, -1, -1));
    getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 30, 500, 350));
    jCalendarCombo.addKeyListener(new java.awt.event.KeyAdapter() {
    public void keyPressed(java.awt.event.KeyEvent evt) {
    jCalendarComboKeyPressed(evt);
    pack();
    }//GEN-END:initComponents
    public void jTable1KeyPressed(java.awt.event.KeyEvent evt) {
    // Add your handling code here:
    if(evt.getKeyCode()==evt.VK_ESCAPE)
    System.out.println("registriert");
    //jPanel1.setCursor(jTextField2);
    jButton1.requestFocus();
    public void jCalendarComboKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTable1KeyPressed
    // Add your handling code here:
    if(evt.getKeyCode()==evt.VK_F6)
    System.out.println("registriert Calendar");
    //jPanel1.setCursor(jTextField2);
    //jButton1.requestFocus();
    }//GEN-LAST:event_jTable1KeyPressed
    public void jTextArea1KeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTextArea1KeyPressed
    // Add your handling code here:
    if(evt.getKeyCode()==evt.VK_ESCAPE)
    System.out.println("registriert");
    //jPanel1.setCursor(jTextField2);
    //java.awt.event.FocusListener l=new java.awt.event.FocusListener();?????????????????????
    //jCalendarCombo.addFocusListener(FocusListener);???????????????????????
    //mvt.MOUSE_CLICKED;
    //org.gui.TextFieldMouseListener.mousePressed(mvt);????????????????????????????????
    try???????????????????????????????????????????????????????
    java.awt.Robot rob=new java.awt.Robot();????????????????????????????????????????????ß
    rob.mousePress(3)??????????????????????????;
    catch(Exception e)
    }//GEN-LAST:event_jTextArea1KeyPressed
    /** Exit the Application */
    public void exitForm(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_exitForm
    System.exit(0);
    }//GEN-LAST:event_exitForm
    * @param args the command line arguments
    public static void main(String args[]) {
    new test6().show();
    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.JButton jButton2;
    public javax.swing.JTextField jTextField3;
    public javax.swing.JButton jButton1;
    public javax.swing.JTextArea jTextArea1;
    public javax.swing.JPanel jPanel1;
    public javax.swing.JTextField jTextField2;
    public javax.swing.JTextField jTextField1;
    public javax.swing.JTextField jTextField4;
    public javax.swing.JTable jTable1;
    public JCalendarCombo jCalendarCombo;
    // End of variables declaration//GEN-END:variables
    Has anybody an idea ????
    The parent Frame was created with sun one studio 4 community edition.
    The JCalendar Combo was implemented by myself and runs properly by mouse, not by keyboard.

    the code's not formatted so I'm not going to try to read it,
    and there's too many ?? to remove before it will compile,
    so, you say it works with the mouse - how, clicking a button?
    if so, search for the keyBindings tutorial where you can set up
    an action for (e.g.) F2 to do button.doClick()

  • HT201394 I just updated my iPhone 4s to iso 8.2  How do I create a pass code to open my phone without using my password every time?

    I just updated my iPhone 4s to iso 8.2  How do I create a pass code to open my phone without using my pass word every time?

    I couldn't find the edit button on my original post so I am posting an update here.
    I have gone through more apps and have had good luck on all but one more.  And it's not that the app doesn't work, I am talking about the Yahoo Weather app, It works fine, but when you swipe between cities the screen lags a bit and it sometimes doesn't move between pages the way it should.  On iOS 7.1.2 it was smooth as butter but on iOS 8.0, not so much.  I will post a note in the app store to let them know.  I really like the Yahoo app better than the new stock app.
    I have been going through my games and they all work fine. Angry Birds (Original and Stella), Canabalt, Minecraft, Bejeweled 2, Silly Walks, PopWords, Doodle Jump, Deep Green all seem to work just fine. 
    Starbucks app works as it should. 
    I will stop back again next week after I have had the weekend to play with it in detail and post my thoughts again.

  • My iphone 5s was stolen and i gps d it and found where it was but they turned it off and denied it and i googled how to open iphone 5s without passcode and a youtube video showed how, so now i am out of a phone that i just paid 300 dollars for becaus

    my iphone 5s was stolen and i gps d it and found where it was but they turned it off and denied it and i googled how to open iphone 5s without passcode and a youtube video showed how, so now i am out of a phone that i just paid 300 dollars for because i dropped my last 5s and the glass shattered and i didnt have any insurance. so now it seems like i am out again. i was sold on the fact that the fingerprint sensor would stop that from happening but they can just reset the phone and have it as theirs new. is there anything i can do to get my phone back.

    If you set up your phone correctly, it is still protected by the Activation Lock and can be used without knowing your AppleID and password.
    Here are some more things about that:
    What if your iOS device is off or offline?
    If your missing device is off or offline, you can still put it in Lost Mode, lock it, or remotely erase it. The next time your device is online, these actions will take effect. If you remove the device from your account while it's offline, any pending actions for the device will be cancelled.
    How do you turn off or cancel Lost Mode?
    You can turn off Lost Mode by entering the passcode on your device. You can also turn off Lost Mode on iCloud.com or from the Find My iPhone app.
    copied from If your iPhone, iPad, or iPod touch is lost or stolen

  • HT4061 I bought my mom an iPad for Christmas this year.  We can't use it as it will not recognize her passwords.  How do I reset it without using passwords.  I want this thing wiped clean, just like it came from the store so that I might start over.

    I bought my mom an iPad for Christmas this year.  We can't use it as it will not recognize her passwords.  How do I reset it without using passwords.  I want this thing wiped clean, just like it came from the store so that I might start over.  This is very frustrating!

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
     Cheers, Tom

  • How to open a URL without session ID and reuse the current browser session?

    Hi All,
    I have a question about HTMLDB 2.0
    How to open a URL without session ID and reuse the current browser session?
    That was the behaviour in HTMLDB 1.6 ...
    My usecase for this is the following:
    We have written an issue tracking application, which sends e-mail to the interested users, when something happens.
    In these email we've put a link to some page, with some parameters in the URL.
    The idea is for the user to be easy to click on the hyperlink and to see the details of the ticket.
    When the user clicks on such a link he is directed to a login screen (page 101) and he enters his Username and password, and is then forwarded to the details for the ticket.
    Then he receives another email (e.g. for another ticked). He clicks on the link and :
    a) in HTMLDB 1.6 he goes to the details as he didn't close his browser and session is remembered
    b) in HTMLDB 2.0 he is prompted to enter username, password with the username populated
    Please tell me how can I achieve the same behaviour in HTMLDB2.0 as it was in HTMLDB 1.6.
    I understand this change is somehow security related, althogh I don't understand how. If you can explain this either I would be very happy?
    Best regards,
    Mihail Daskalov

    Mihail - I detailed a couple of approaches here: Re: Application Link
    Scott

  • I have downloaded the 30 day free trial using Adobe Download Assistant but I do not know how to open it and start using it.

    I have downloaded the 30 day free trial using Adobe Download Assistant but I do not know how to open it and start using it.

    This was so annoying!! It took me a good couple of hours but i figured it out, you need to do the following: Go to the folder where you saved the download (in my case i saved it in My Downloads) -> click on 'Adobe Photoshop Elements 12' -> click on 'PSE 12' -> click on 'Setup' (select the icon which is a box with a shield) -> follow instructions and....voila! You will need to restart when it suggests so save anything else first, then when it reboots you should see the icon on your desktop....hpe this helps!

  • How do i install opensolaris without using the virtual box??

    hi.
    i am new to solaris
    i am currently using a windows XP OS
    i got down the opensolaris cd from SUN
    how do i install opensolaris without using a virtual box ?

    The OpenSolaris CD is a "Live CD". You can boot off of the CD, and either run the OpenSolaris operating system directly, or you can select the "Install" icon on the LiveCD desktop. You can find full instructions here: http://dlc.sun.com/osol/docs/content/IPS/getst1.html
    Do you want to keep your Windows OS on the disk? If so, then you want to follow the instructions for partitioning your disk (unless you already have a spare partition).
    -- Alan

  • How to open a pdf file using OPEN DATASET

    Im trying to convert a pdf into binary format. So im trying to read the contents of the pdf into a XSTRING. Using the FM 'SCMS_XSTRING_TO_BINARY' i can convert the XSTRING to binary format.
    How to open a pdf file using OPEN DATASET and transfer its contents in a XSTRING variable.
    What i've tried is....
    DATA: f_name type string value 'C:\rep_output_pdf.pdf',
          x1 type xstring,
          LT_DATA TYPE STANDARD TABLE OF X255.
    OPEN DATASET f_name FOR input IN BINARY MODE.
    READ DATASET f_name INTO x1.
    CLOSE DATASET f_name.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER     = x1
        TABLES
          BINARY_TAB = LT_DATA.
    Im getting a short dump .
    Short text: The file is not open.
    Plz help me out.

    Hello Rajesh,
    You are trying to do use OPEN DATASET with a local file. NOT POSSIBLE
    You have to have the file in the app server to use OPEN DATASET.
    BR,
    Suhas

  • How to connect to AD without using ADWS?

    How to connect to AD without using ADWS? Is it possible to do it? If yes, can teach me how to connect to AD and find their attributed?

    Hi Noobycy,
    There are few tools to find AD attributes without ADWS. See options you have below
    1.ADFIND -
    http://www.joeware.net/freetools/tools/adfind/  This is a command Line tool
    2.
    The ADSIEDIT tool
    from the Windows Support Tools is a great tool to "explore" the AD.
    http://technet.microsoft.com/en-us/library/cc731547.aspx
    3. ADUC -
    http://www.boostsolutions.com/blog/how-to-find-attributes-of-objects-in-active-directory/
    Regards, MassonTech

  • Hello! I'm out of the country and all my iWeb information is on my computer at home. Now I need to make changes on the webpage... how can i do that without using the computer i made the page on? Thank you!!

    Hello! I'm out of the country and all my iWeb information is on my computer at home. Now I need to make changes on the webpage... how can i do that without using the computer i made the page on? Thank you!!

    iWeb uses the domain.sites2 files to store its assets.
    You'll find it here :
    ~/Library/Application Support/iWeb/
    where ~ is your Home directory.
    If you take a computer with you, you have to store that file in the same location.
    It's not different from taking documents with you if you want to edit them.
    A solution is to remotely control your computer at home.
    TeamViewer, LogMeIn, Apple Remote Desktop or any VNC application you can use, like "Chicken of the VNC".

  • Note:304522.1 How to Move Queue Tables without using export import

    Trying to use the pkg available in Metalink "Note:304522.1 How to Move Queue Tables without using export import"
    Using the 10.1.0.x and upwards Package, I'm getting the following error on a single consumer queue table with an xmltype payload:
    SQL> exec move_aqt.move('XFORM_TEST_INT','INTERFACE_XML_QUEUE','SMALLBLOCK');
    BEGIN move_aqt.move('XFORM_TEST_INT','INTERFACE_XML_QUEUE','SMALLBLOCK'); END;
    ERROR at line 1:
    ORA-20000: ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.MOVE_AQT", line 652
    ORA-06512: at line 1
    We've tried in multiple environments, always with the same results.
    Trace file shows:
    *** 2006-11-08 10:06:47.154
    *** SERVICE NAME:(SYS$USERS) 2006-11-08 10:06:47.147
    *** SESSION ID:(379.954) 2006-11-08 10:06:47.147
    qtable move procedure starting execution at 08-11-2006 10:06:47 for queue table XFORM_TEST_INT.INTERFACE_XML_QUEUE
    qtable move procedure experienced an exception at 08-11-2006 10:06:47
    qtable move error message ORA-06502: PL/SQL: numeric or value error
    qtable move procedure ended execution at 08-11-2006 10:06:47
    Can anyone help with this? Has anyone used this before successfully (or not successfully). We urgently need this working today to test moving our queue table into a tablespace with a smaller block size for performance reasons in production.
    Thanks for the help!
    Tony

    Thank you,
    Yes we've done that. They've confirmed a problem with the links/scripts on the note. The 10.1 and up version was not really 10.1 and up.
    As they would not have a new version available in time for the move we needed to perform, we switched our approach to using dbms_redefinition instead.
    Thanks for the reply,
    Tony

  • How to open Facebook in china using MacBook Pro?

    hello, please to resolve on how to open facebook in China using MacBook Pro.
    Many thanks to all!

    You can't. Want more GPU? You'll have to purchase a new computer.

  • Scrolling component into view programmatically without using javascript

    Hi,
    Is it possible to scroll an adf component into view programmatically without using javascript?
    I know of <af:scrollComponentIntoViewBehaviour> that can be added to a command component , but is there a way to do that programmatically in a bean?
    Problem with using javascript is its not guaranteed to work in different browsers.
    Regards,
    Rakesh.

    Hi John,
    Thanks for the reply.
    If i use the af:scrollComponentIntoViewBehavior, then i wont be able to achieve my desired functionality.
    In my use case, i want the id, of the component that needs to be scrolled into view, to be determined in the server listener of the button which is not happening.
    Code snippet in jspx page is as follows:
    <af:commandButton id="cb1" immediate="true">
    <af:clientListener method="clickButton" type="click"/>
    <af:serverListener type="customEvent"
    method="#{pageFlowScope.bean.doScroll }"/>
    <af:scrollComponentIntoViewBehavior id="#{pageFlowScope.bean.compId}/>
    </af:commandButton>
    And the java code for method doScroll is something like :
    public void doScroll (ClientEvent clientEvent)
    //logic to determine compId goes here
    compId = "id";
    So, the problem here is "compId" is set to some value when bean is loaded and the id in the af:scrollComponentIntoViewBehavior will be set to that value forever.
    I cant find any way of telling it to re-read the "compId" value, say after clicking the button. I can refresh the button in the server listener to update the compId .
    But the updated compId will come into picture from *next click*. This is because, after the button is clicked, "scroll" action happens first and then serverListener executes.
    Is there a way to change order of this execution like "execute server listener first and then do the scrolling thing" ?
    Regards,
    Rakesh.
    Edited by: 927925 on Jul 27, 2012 2:02 AM

  • How we generate Surrogate Keys without using identify column

    Hi All,
    How we generate Surrogate Keys without using identify column.
    Regards,
    Manish

    There are various options
    1.IDENTITY columns - simplest to implement
    2. Using NEWID(), NEWSEQUENTIALID() functions (if you want to use GUID values as surrogate keys)
    3. SEQUENCE object (if SQL 2012 and above)
    4. Using custom functions to generate keys yourself
    This is an good article which compares use of GUIDs against integers as surrogate keys
    http://blog.jonathanoliver.com/integers-vs-guids-and-natural-vs-surrogate-keys/
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • Time machine gets stuck on indexing

    Since the last weeks my time machine will not backup anymore.. I have searched around but couldn't find out what will fix it.. This is what the module had to say: Starting standard backup Attempting to mount network destination using URL: afp://admin

  • Sony Wega connection

    I have kv34xbr910 (Wega) cathode tube with hd. There is a dvi port on the set. Sony says this is not intended for computer hookup. The other connections available are component(rgb). What is the best hookup I can make with the dvi on my macbook pro(e

  • Doing case insensitive search

    Is there any performant way to do case insensitive searches within the database other than using upper on the column? If I use upper(col name) the index on the column is bypassed and hence this effects performance. Is there any other way to do this.

  • HT1338 how do I update 10.5.8 to snow leopard?

    how do I update 10.5.8 to snow leopard? where can I buy?

  • Use of 3rd party plug ins

    Is there a tutorial on this? I have Ivory II in my AU library, but cannot figure out how to load it into a Main Stage Concert. The MS manual is of no help (at all) on this issue. Has anyone accomplished this and if so, would you mind sharing how you