Connecting Java Application with Microsoft Word Toolbar

My project involves designing a GUI with which I will use Java for. And I also have to create a Microsoft Word Toolbar that will open the Java GUI. There will be other interactions between both the GUI and the toolbar.
Is that possible? Or shall I use Visual Basic or .NET for the GUI?
Advice appreciated please!

hi
check this
http://help.sap.com/javadocs/NW04/current/bi/docs/connectors/sapq_howto.html
let me know am i reached ur  point
bvr

Similar Messages

  • How to connect Java Application with database!

    Dear all, now I am create a dababase application. My database use JData Store. But I don't know how to connect application with it. Can you tell me this proplem?
    Thank!

    Do a google search for JDBC, or go buy a book.
    You will need a JDBC driver which supports your database. Or you might be able to use the JDBC-ODBC bridge if there's an ODBC driver for your database.

  • Connect Java Application with a Session Bean

    Hi,
    my Problem is following:
    I have session bean (stateless) and i try to write i client for it!
    I get always the same error message, when i call the java ClientApplication from the Command line:
    java -jar Betting_server.jar BettingServer
    StartBetting Server
    Part1
    Caught an unexpected exception!
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory. Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:217)
    at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at at.siemens.mma.iap.betting.server.CreateQRunTimer$RemindTask.run(CreateQRunTimer.java:47)
    at java.util.TimerThread.mainLoop(Timer.java:432)
    at java.util.TimerThread.run(Timer.java:382)
    My configuration:
    jboss-3.2.1_tomcat-4.1.24
    j2sdkee1.3.1
    j2sdk1.4.1_02
    My Client Class:
    package betting.server;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.util.*;
    import betting.ejb.*;
    public class CreateQRunTimer {
         Timer timer;
         public CreateQRunTimer() {
              timer = new Timer();
              timer.schedule(new RemindTask(),
                        0, //initial delay
                        1*60*1000); //subsequent rate 30 minutes
         class RemindTask extends TimerTask {
              public void run() {
                   String logicalBettingBeanName = "MyBetting";
                   Betting bet;
                   BettingHome bethome;
                   try
                        System.out.println("Part1");
                        Properties props = new Properties();
                             props.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
                             props.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
                             props.put("java.naming.provider.url", "localhost:1099");
                        InitialContext ic = new InitialContext(props);
                        System.out.println("Part2");
                        Object objref = ic.lookup(logicalBettingBeanName);
                        System.out.println("Part3");
                        bethome =(BettingHome)PortableRemoteObject.narrow(objref,BettingHome.class);
                        bet = bethome.create();
                        long qRunMagicNum = bet.DB_CreateQRun();
                        if(bet.CreateConfigurationFileQuery(qRunMagicNum) == false)
                             // failed
                             System.out.print("CreateConfigFileQuery failed");
                        else
                             bet.TransferXMLFiles("tvbetqrun.conf",0);
                             System.out.print("CreateConfigFileQuery succed");
                   catch (Exception ex)
                        System.err.println("Caught an unexpected exception!");
                        ex.printStackTrace();
                   System.out.println("Run GG");
                   //System.exit(0); //Stops the AWT thread (and everything else)

    Normally, if you are executing the client from the command line, you do not specify the classpath in a XML file (unless you are using ant or something similar). You can specify the classpath by using the -classpath option.
    Try something like
    java -classpath <path_to_jboss>/client/jbossall-client.jar;Betting_server.jar BettingServer
    You can check the classpath in your client with the statement
    System.out.print(System.getProperty("java.class.path"));

  • Lost Firefox replaced with Microsoft Word when updating Firefox

    I was offered a chance to update Firefox - it said update now or later. Stupidly I said now and since then I have problems. My start button has lost the internet connection and has been replaced with Microsoft Word. I cannot get my old bookmarks and Firefox back and it has all been replaced with Microsoft Word which I hate. Please help.

    Updating to the latest version 12.0 did the job. Thanks.

  • Does 'versions' work with microsoft word, ppt and excel or just pages, keynote and numbers?

    Does 'versions' work with microsoft word, ppt and excel or just pages, keynote and numbers? I tried to do what the videos say but the little icon for versions is not there on word. Does this mean it only works for pages etc... or do i have to activate it somehow? If it is only for pages then this ***** and should be better advertised!!!

    Each application will need to be updated to work with Versions, Full Screen, and other Lion-specific features.

  • Will Apple Pages support a third-party font that is not compatible with Microsoft Word?

    Will Apple Pages support a third-party font that is not compatible with Microsoft Word?  I do not want to purchase Pages unless I can use it for this one very specific purpose.  How can I determine the correct answer before purchase?
    Many thanks for any guidance you can offer.

    Hmmm ... I see the font in my Font Book and in Suitcase Fusion, but it doesn't appear on the list of fonts in either Word for Mac or Text Edit, no matter what I tried.  I attempted quitting all applications, cleaning the cache using Suitcase Fusion, and rebooting the computer, but no dice.
    You think this is an installation or configuration problem my local Apple store could help fix ... not an underlying incompatibility?  If so, I will take it in.
    Please know I sincerely appreciate the help.  I'm at my rope's end on a project this evening and truly grateful for the reinforcement.  Thank you.

  • Is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    No

  • New JAVA application with data from SAP CRM and R/3

    Hi All,
    We have a requirement to create a new application which will have CRM BP Master data and D&B Data from R/3 and based on authorization different roles be able to edit some of the fields and workflows to confirm the new data .Once users edit the fields in the application the new data will be replicated back into BP Master Data in CRM.
    In our company we are using CRM 7.0 and R/3 4.7 system if we decided to create the application using JAVA can you please let me know the architecture(servers etc) we might need because of the JAVA application.
    How to connect Java application to SAP CRM 7.0. Can you please guide me the data flow structure
    I am not sure if this is the right forum if not please suggest appropriate forum.
    Thanks a lot ,
    Kitcha.

    Hi,
    You can connect to SAP Systems by consuming the RFCs.
    you can use the JCO API to connect to R/3. the [documentation |http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/content.htm]
    alternatively  you can use SAP Enterprise Connector to generate JCO Proxies : [The Documentation|http://help.sap.com/saphelp_nw04/helpdata/EN/ed/897483ea5011d6b2e800508b6b8a93/frameset.htm]
    and somr more helps:
    http://help.sap.com/saphelp_nw04/helpdata/en/89/8a185c148e4f6582560a8d809210b4/frameset.htm
    Regards,
    Naga

  • Yosemite compatibility with microsoft word 2008

    I had held off on upgrading to Mavericks because of the issues surrounding the compatibility with Microsoft Word 2008. I am a student and need to use Word to do my work as well as having all of my current documents, including my thesis, in 2008 format. I don't want to risk losing the information or the ability to do my work and I was wondering if there is any information about whether the issue of compatibility with this version had been fixed. I don't have the means to buy a new version of Microsoft but would very much like to be able to update my system since I am still using Mountain Lion.

    There has been a better and free alternative to old versions of MS Word and MS Office since forever. Apache OpenOffice 4.1.1 is the latest version of a free and complete All-In-One document processor, spreadsheet, drawing, presentation, database, & formula software, found here: http://www.openoffice.org
    It also reads, writes and translates MS Word, saves in many formats, and is pretty easy to use. It's entirely modern and compatible with all the latest Mac operating systems. Good luck.

  • How to open .doc files created with microsoft word 97... when using mac os x 10.7.4?

    hi!  i'm using mac os x 10.7.4 and have Office 2011.  i can no longer open older documents (.doc) created with Microsoft Word 97...  What can i do to get access to these files?
    thanks in advance!

    I had too many of these that I had to convert to a modern format. It isn't easy or consistent but one of these normally works:
    1. Open up Word and use the File/Open command rather than just double clicking on the file. Why does this sometimes work? I don't know! Save in docx format.
    2. Try opening the files in Office 2010 on a Windows machine. Again, immediately save as a docx file. This works more often than the advice above.
    3. Download the free LibreOffice and try opening it there. There will be some format problems but easily fixed. Once again, save in docx format.
    4. Breakdown and look for a dedicated format converter.

  • Cannot open Microsoft Office Mac 2011 after migrating to new computer. OS 10.9.1: Microsoft Error Reporting log version: 2.0  Error Signature: Exception: EXC_CRASH (SIGTRAP) Date/Time: 2014-01-19 23:31:24  0000 Application Name: Microsoft Word Application

    Got a new MacBook Pro and migrated my settings and applications from old computer. Reinstalled Microsooft Office from a disk, after I opened a document and it said I was missing some software components. Now when I open any office application, I get:
    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXC_CRASH (SIGTRAP)
    Date/Time: 2014-01-19 23:31:24 +0000
    Application Name: Microsoft Word
    Application Bundle ID: com.microsoft.Word
    Application Signature: MSWD
    Application Version: 14.3.9.131030
    Crashed Module Name: merp
    Crashed Module Version: 2.2.4.131030
    Crashed Module Offset: 0x00004422
    Blame Module Name: MicrosoftSetupUI
    Blame Module Version: 14.3.9.131030
    Blame Module Offset: 0x0000e516
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Crashed thread: 0

    Hi,
    Do you get the error message like "Office <Update version number> can't be installed on this disk. A version of the software required to install this update was not found on this volume. To learn how to fix it this issue, see "I can't install Office
    for Mac updates" at http://www.microsoft.com/mac/help.mspx."
    If it was, please follow the kb to fix the issue:
    http://support.microsoft.com/kb/969065/en-us
    Then, here is a forum for Office based on the Windows operation system, we are lack of the source about the Office for mac, you'd better post your question to Answers forum:
    http://answers.microsoft.com/en-us/mac/forum/macoffice2008?tab=Threads
    Regards,
    George Zhao
    TechNet Community Support

  • How do I send my pages attachment so that it will open for those with Microsoft word?

    How do I send my pages attachment so that it will open for those with Microsoft Word?

    Hi Victoria,
    Pages does not run on Windows.
    Word cannot open a Pages file.
    If you want someone without pages to be able to open your attachment, you will have to send it in a format openable on the recipient's computer.
    If the recipient needs only to read the document, the most universal format is pdf. To send a pdf copy of your file, press command-P to open the Print dialogue, then click the PDF button and choose email PDF. This will open a new message in your default email client and attach the pdf file to that message.
    If the recipient needs to be able to edit/change your document, and has MS Word, then either Save a copy as a Word file or go File > Export and choose Word as the file format for the export.
    Be aware that MS Word does not support all features of Pages (and vice versa), and that formatting of the document may be affected by font substitution if you use fonts that are not available on the recipient's machine.
    Regards,
    Barry

  • Has anyone had issues with Microsoft Word or Excel requiring initial set-up again after a software update?

    Has anyone had issues with Microsoft Word or Excel requiring a set-up after software udates?  I do not have product key, so unable to set up again.

    This laptop has original Microsoft word &amp; excel provided by Mac when purchased and is legal copy.
    Do I understand you bought a Mac and it came with Microsoft Office?    I could be wrong, but I wasn't aware that was an option.  Or am I not parsing that sentence correctly and you bought a Mac and bought a legal copy of Office to install on it?  In which case, never mind.

  • Ipages compatible with Microsoft word???

    How do you save a document on ipages to make it compatible with microsoft word? I am trying to edit some pix that have an all black background to an all white background so i dont waste all that black ink. Any help would be greatly appreciated. Thanks

    Once you have the document how you want it, select Export from the File menu. Click on Word at the top of the dialog box that pops up, and click Next. Then it will bring up a standard save dialog and when you click Save it will save a Word document.

  • I'm trying to find a word processing app that is comparable with Microsoft word, that supports drop down menu's for filling out forms. Any recommendations?

    I'm trying to find a word processing app that is comparable with Microsoft Word, but can use drop down menu's to fill in forms? Any suggestions

    Microsoft Word for Mac
    OpenOffice
    NeoOffice
    LibreOffice

Maybe you are looking for

  • ITunes 10.6.1 crashes when accessing the store

    Every time I try to access the store or turn on genius or do anything besides listen to music, iTunes immediately crashes. There appears to be a lot of discussions going on about this problem with previous versions...none of which have a solution. So

  • My Mac does not respond during login

    I am using OS 10.5.2 My iMac does not respond during login. After the desktop and dock are shown, the ball (cursor) keep rotating. I can do nothing except moving the cursor. All application including finder do not respond. Is there any solution? Than

  • Menu, Nav, Favourites and Toolbars are not displaying.

    Heres a screen shot of Firefox on my computer - [http://i.imgur.com/meaTv.jpg http://i.imgur.com/meaTv.jpg http://i.imgur.com/meaTv.jpg http://i.imgur.com/meaTv.jpg] of Everything at the top. No Bookmarks bar, nav bar, toolbars, nothing. I was trying

  • Browser "stuck" in email configuration

    Hello -  Appreciate your help. When I use email configuration (to validate or edit an acct), the internet browser then gets "stuck" in that function.  I cannot change the home page on Browser Configuration; it simply will not erase or allow write ove

  • EJB transaction isolation not working

    I'm trying to use TRANSACTION_SERIALIZABLE isolation level in my EJB test application with no success so far. The environment is Windows NT, WebLogic 6.1, Informix DB (which, according to its documentation, supports TRANSACTION_SERIALIZABLE), and a T