Using Canvas with Connectors

Hi @all,
I am writing a software in c# using .NET-Framework 4.0 drawing flow charts in word. I wanted to use a canvas to place rectangles and connect them.
I was able to place connectors into the canvas. But on some PCs I got a SecurityAccessViolation Exception. I used the same Word 2010 version as on the PCs where my software worked.
Do you know why it works sometimes and sometimes not?
Thanks for you help,
Pascal

Hi,
This forum is to discuss problems of Office development such as VBA, VSTO, Apps for Office .etc. But I think your question is more related to the feature of Word product. I suggest you can consider posting it in
Word IT pro forum for more efficient responses.
Thanks.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to use Canvas with JSplitPane

    The canvas doesn't resize when we move the divider of the JSplitPane. Should I implement the MouseMotionListener seperately?

    Don't mix AWT and Swing components. Use a JPanel in place of your Canvas.
    db

  • Canvas with swing

    Hi,
    I would like to drag and drop components to a Canvas. Shall I use Canvas with the Swing components?
    Sometime back, I do remember reading an article saying not to mix swing components and awt components. Is the Canvas an exceptional case?
    Any suggestions please.
    Thanks,
    ananth

    why do you want a canvas
    - just use a JPanel instead, (it has the paint() method you need)

  • Canvas with high level API

    Hi all,
    I want answers for my two questions very urgent..please tell me
    1) can we use canvas with high level API like Forms,TextFeild,List etc. 2) Then can i know CustomItem work with canvas.
    Thanks in advance
    Regards / sourab

    Hi,
    Is there possible to desgn the session window (like that we have in yahoo messenger) using canvas.If so means,please explain it for me.
    Thanks / sourab

  • D800 file compatibility:  Has anyone experienced problems with loading D800 files onto the iPad using the camer connector kit?  I have tried both RAW and JPEG using SDHC and CF cards and the iPad(3) doesnt recognise any of the files.

    Has anyone experienced problems with downloading Nikon D800 files to the iPad3 using the camer connector kit?  I have tried .RAW and JPEG (of various sizes) on both SD and CF cards, but the iPad doesn't recognise the files. 
    I have seen various forums discussing Lightroom and PSE updates that are required to process .NEF files but I can't find anything on the iPad/camera connector issue.
    I dont have any problem if I put the SD card straight into the SD slot in my iMac and Aperture will process the files fine, but I would really like to be able to download and view files on the move on the iPad.
    Any advice appreciated?
    PS - saw something that suggested the iPad had a maximum file size of 16mb for photos, not sure if this is correct, but I have tried smaller JPEG files and they still aren't recognised.

    If your camera supports both PTP and Mass Storage Device modes, it may be necessary to use both modes to import all media content.
    If some files do not import as expected using one mode, try switching to the other mode and importing again.
    Note: Some cameras may refer to PTP as Pictbridge or PTP/Pictbridge.

  • What port is used by Groupware connector to communicate with SAP CRM?

    Hi!
    I've been trying to find what port is used by groupware connector when it is communicating with SAP CRM, but all I've found is that is uses SOAP over HTTP.
    Our security team only wants to open the relevant port and I haven't found the port....
    Does anybody know what port is used?
    Thanks!
    rollo

    What gives you an impression that a seperate program is called to write file at OS level.....it could be the program running behind the F110.....try checking the same...and look for GUI_DOWNLOAD in the program.

  • How can we use Alert with Canvas

    Hello to all
    How can I use alert with Canvas .
    I want whenever user do mistake then a alert message should come.
    Thanks in advance
    Mukund

    And where is the problem? Sample code can be found all over the place... just look for it.

  • I have a macbookpro with a second monitor connected using an Apple connector.  The two screens show different parts of the desktop.  My cat walked across the keyboard, and now the two monitors are showing the same thing.  How do I undo what the cat did?

    I have a macbookpro with a second monitor connected using an Apple connector.  The two screens show different parts of the desktop.  My cat walked across the keyboard touching various keys, and now the two monitors are showing the same thing.  How do I undo what the cat did?

    Have you tried HELP in FINDER?  If you open HELP and enter 'displays' in the field in the upper right hand corner you will get a list of topics on setting up monitors.  Specifically read 'Setting up multiple displays to show the same image' and 'Setting up multiple displays as an extended desktop'.
    Ciao.

  • Error while Test Connection with Connector

    hi all:
         there is an error while  Test Connection with Connector , I also test it through sys administration->sys configuration->
    suport -> sap transaction, I got all errors, I put these two errors as folows, could you please tell me how to sovle it
    ***************ERROR 1 while *error while Test Connection with Connector ******************************************************
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this
    system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    ************error sys administration->sys configuration-> suport -> sap transaction        ********************** 1.5 #0025B3E02892006100000A0800001798000487530FB0122E#1274690722265#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt
    .runtime#guodongdong#47472##n/a##690347f0670e11df98cc0025b3e02892#SAPEngine_Application_Thread[impl:3]
    9##0#0#Error##Java###04:4524/05/10_0077_6087550
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Application URL
    &\#39;:///sap(ZT1KVXBWektldldTeV9QQXBXRjNaWTRBLS1OZmRvZzBRWWY2QmN0WThNUmgqdUlRLS0=)/bc/gui/sap/its/webgui&\#39; is not valid!
    Please check the protocol and host entries for system &\#39;sapdev&\#39;.
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass
    (AbstractIntegratorComponent.java:123)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process
    (ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

    Hi,
    As per this part of the trace:
    Exception in SAP Application Integrator occured: Application URL &\#39;:///sap(ZT1KVXBWektldldTeV9QQXBXRjNaWTRBLS1OZmRvZzBRWWY2QmN0WThNUmgqdUlRLS0=)/bc/gui/sap/its/webgui&\#39; is not valid! Please check the protocol and host entries for system &\#39;sapdev&\#39;. at ...
    You can clearly see that the system object 'sapdev' is not configured correctly/at all - you are trying to launch transaction iView
    (WEBGUI) and in order to do so you should configure the 'internet transaction server' category of the system  object
    with the hostname of the ITS server.
    Generally the template is
    <System.Access.ITS.protocol>://<System.Access.ITS.hostname>/sap<ESID>/bc/gui/sap/its/webgui?\....
    So that's why you got
    Please check the protocol and host entries for system ..

  • I have an iPod mini 6GB and want to use it with a Sony CD Boombox but the adapter is different. Can it work?

    I have an iPod mini, 6 GB and want to use it with a Sony CD Boombox but the adapter is different. Can it still work? Don't want to try and break iPod.

    Do you mean that the iPod mini won't fit on the "dock" because of shape (of the iPod), or is the docking connection a different type from the "30-pin" dock connector on the iPod mini?

  • "Create Comment Summary" not showing in Pro 10.1.7?? How can I print document and comments with connector lines on single page?

    Adobe's instructions for Acrobat X Pro say that to print the document with connector lines on the same page, I should go from the menu to "Print With Comments Summary." I'm using version 10.1.7 and that option doesn't show up. My menu bar looks like this:
    and my print dialog box looks like this:
    And if I go to Commenting under Preferences I get this:
    I don't see any of the comment printing options Adobe refers to in their instructions. Am I looking in the wrong place for the option to print comments on the same page as the document? Or is there some reason this is not available?

    Hey Dan,
    With this call:
    DAQmxErrChk ( DAQmxCreateDOChan( taskhandle, "Dev1/PFI0:7","", DAQmx_Val_ChanForAllLines ) );
    You're trying to write to the PFI lines, which are part of port 1. Only the 8 lines on port 0 "Dev1/port0" support clocked/correlated DIO, port 1 only supports static/SW timed DIO (which is what you are using) and counter timer opperations. To do buffered output, check out the Cont Write Dig Port-Ext Clk shipping example at:
    C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Digital\Generate Values\Cont Write Dig Port-Ext Clk
    when you use this, you'll need to specify an external clock - M-Series DIO does not have its own timing engine so it has to get its clock signal from somewhere else. Most just use an onboard counter to generate a clocking signal, so the Dig-Pulse Train Cont example under counters can be combined with this.
    Most of this is covered in the M-Series user manual, though I realize its not exactly lite reading
    Hope this gets you started,
    Andrew S
    Message Edited by stilly32 on 03-26-2008 05:28 PM
    Getting Started with NI-DAQmx
    Measurement Fundamentals

  • How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    See the following. Also take note below and from the linked page above that video mode is NOT supported:
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter
    *Note below and from the linked page above that video mode is NOT supported*
    "This adapter lets you connect devices with a Lightning connector to many of your 30-pin accessories.* Supports analog audio output, USB audio, as well as syncing and charging. Video output not supported."

  • Long canvas with scroll bar

    Hi. I have a form with a very long canvas containing more items than fit on the screen at a time - meaning some items are far down on the canvas and do not appear unless the user physically uses the mouse and scrolls down. This causes a problem for me because as the user tabs through the various fields the cursor will eventually "appear" to disappear. It has not actually disappeared of course, but it has simply navigated to an item that is further down on the canvas out-of-sight. Thus the user must recognize that this has happened and then use the mouse to scroll down and find the cursor again.
    Is there a way to automatically coordinate this scrolling so that the cursor always stays in view for the user - meaning that the user will never have to manually scroll down to find the cursor? Or worst case, can I programatically scroll down for the user so that the cursor always remains visible?
    Any help would be greatly appreciated. If you have any sample code please send it to: [email protected]
    Thanks in advance.
    Edited by: Buechler on Jun 30, 2009 12:20 PM

    -> 3) Changed the default Window width to 5 and it's height to 12
    Don't do that. That apparently guarantees the problem you have.
    The Window size should be no larger than will fit on the user's screen, and the user running the lowest screen resolution should be your target. We create forms no larger than will fit on the 800x600 layout. Our forms always use the Real,Pixel coordinate system, and I create forms with the window size set to a maximum of 784x442. Those reduced numbers allow the form to fit within a browser window in web forms. Our forms run under both 6i Client/Server AND Web, and there is a pre-form that adjusts the web form window size a little larger, but that is all.
    Also, when you run your form, that scrollbar you see is there because your window is not maximized. Our forms always maximize the window, and even have a when-window-resized trigger with this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">DECLARE
    W0 Window := Find_Window('WINDOW0');
    BEGIN
    If Get_Window_Property(W0,Window_State)<>'MAXIMIZE' then
    Set_Window_Property(W0,Window_State,Maximize);
    End if;
    END;</font></pre>
    The wwr trigger ensures the user never sees the Window0 border -- it is useless unless you are running a form with multiple windows, which we never do.
    So.... Maximize your Window0, and then you will see the behavior I have been describing. Create a stacked canvas with a vertical scrollbar, and it will behave even better.

  • Problem using SSL with JMX

    Hi ,
    I am trying to implement SSL with JMX. I took the example of Luis Miguel Alventosa to see how it works. I imported all the classes, password a access properties file. When I am able to start the MyApp server in the example. But when I am trying to run MyClient, it is giving me the following exception
    Initialize the environment map
    Create an RMI connector client and connect it to the RMI connector server
    Exception in thread "main" java.rmi.ConnectIOException: Exception creating connection to: <IP>; nested exception is:
         java.net.SocketException: Default SSL context init failed: null
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
         at sun.rmi.server.UnicastRef.newCall(Unknown Source)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.example.MyClient.main(MyClient.java:30)
    Caused by: java.net.SocketException: Default SSL context init failed: null
         at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown Source)
         at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(Unknown Source)
         ... 6 moreHere is the MyApp code I used
    package com.example;
    import java.lang.management.*;
    import java.rmi.registry.*;
    import java.util.*;
    import javax.management.*;
    import javax.management.remote.*;
    import javax.management.remote.rmi.*;
    import javax.rmi.ssl.*;
    public class MyApp {
        public static void main(String[] args) throws Exception {
            // Ensure cryptographically strong random number generator used
            // to choose the object number - see java.rmi.server.ObjID
            System.setProperty("java.rmi.server.randomIDs", "true");
            // Start a secure RMI registry on port 3000.
            System.out.println("Create a secure RMI registry on port 3000");
            SslRMIClientSocketFactory csf = new SslRMIClientSocketFactory();
            SslRMIServerSocketFactory ssf = new SslRMIServerSocketFactory(null, null, true);
            Registry registry = LocateRegistry.createRegistry(3000, csf, ssf);
            // Retrieve the PlatformMBeanServer.
            System.out.println("Get the platform's MBean server");
            MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
            // Environment map.
            System.out.println("Initialize the environment map");
            Map<String,Object> env = new HashMap<String,Object>();
            // Provide the password file used by the connector server to
            // perform user authentication. The password file is a properties
            // based text file specifying username/password pairs.
            env.put("jmx.remote.x.password.file", "password.properties");
            // Provide the access level file used by the connector server to
            // perform user authorization. The access level file is a properties
            // based text file specifying username/access level pairs where
            // access level is either "readonly" or "readwrite" access to the
            // MBeanServer operations.
            env.put("jmx.remote.x.access.file", "access.properties");
            // Create and start an RMI connector server.
            // As specified in the JMXServiceURL the RMIServer stub will be
            // registered in the RMI registry running in the local host on
            // port 3000 with the name "jmxrmi". This is the same name the
            // out-of-the-box management agent uses to register the RMIServer
            // stub too.
            // JMXServiceURL = "service:jmx:rmi:///jndi/rmi://:3000/jmxrmi"
            System.out.println("Create and start an RMI connector server");
            JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://");
            RMIJRMPServerImpl server = new RMIJRMPServerImpl(3000, csf, ssf, env);
            RMIConnectorServer cs = new RMIConnectorServer(url, env, server, mbs);
            cs.start();
            registry.bind("jmxrmi", server);
            System.out.println("Waiting for incoming connections...");
    }Here is the MyClient
    package com.example;
    import java.rmi.registry.*;
    import java.util.*;
    import javax.management.*;
    import javax.management.remote.rmi.*;
    import javax.rmi.ssl.SslRMIClientSocketFactory;
    public class MyClient {
        public static void main(String[] args) throws Exception {
            // Environment map
            System.out.println("\nInitialize the environment map");
            Map<String,Object> env = new HashMap<String,Object>();
            // Provide the credentials required by the server to successfully
            // perform user authentication
            String[] credentials = new String[] { "username" , "password" };
            env.put("jmx.remote.credentials", credentials);
            // Create an RMI connector client and
            // connect it to the RMI connector server
            System.out.println("\nCreate an RMI connector client and " +
                    "connect it to the RMI connector server");
            SslRMIClientSocketFactory csf = new SslRMIClientSocketFactory();
            Registry registry = LocateRegistry.getRegistry(null, 3000, csf);
            RMIServer stub = (RMIServer) registry.lookup("jmxrmi");
            RMIConnector jmxc = new RMIConnector(stub, env);
            jmxc.connect(env);
            // Get an MBeanServerConnection
            System.out.println("\nGet an MBeanServerConnection");
            MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
            // Get domains from MBeanServer
            System.out.println("\nDomains:");
            String domains[] = mbsc.getDomains();
            for (int i = 0; i < domains.length; i++) {
                System.out.println("\tDomain[" + i + "] = " + domains);
    // Get MBean count
    System.out.println("\nMBean count = " + mbsc.getMBeanCount());
    // Close MBeanServer connection
    System.out.println("\nClose the connection to the server");
    jmxc.close();
    System.out.println("\nBye! Bye!");
    Here is the password.properties
    monitorRole mrpasswd
    controlRole crpasswdand access.properties
    monitorRole readonly
    controlRole readwriteI used the following jvm parameters to run the apps
    -Djavax.net.ssl.keyStore=.keystore -Djavax.net.ssl.keyStorePassword=keypass -Djavax.net.ssl.trustStore=proxytruststore -Djavax.net.ssl.trustStorePassword=trustpassI really don't know where I am doing the mistake. Can anyone please give any idea ? For security I didnt disclosed the IP of my mechine in the error, insted I replace it with <IP>

    Hi,
    I assume you did create a keystore and trustore, right?
    Could you verify that the paths to these files you give in your java options
    are correct?
    You could also try to activate debug traces - in particular security traces - see
    at the end of this blog:
    http://blogs.sun.com/jmxetc/entry/troubleshooting_connection_problems_in_jconsole
    This may help you diagnose what is going wrong.
    Hope this helps,
    -- daniel
    JMX, SNMP, Java, etc...
    http://blogs.sun.com/jmxetc

  • Can I use garageband with my electric piano?

    I have a Yamaha electric piano. Can I connect to it via camera connection kit and garageband?
    Thanks,
    MrWD

    iPad: Using iPad Camera Connector with unsupported USB devices
    http://support.apple.com/kb/ht4106
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom

Maybe you are looking for