Request for C++ ExtractorProcessor code snippets

Hi,
Does anyone have any C++ code snippets of using the ExtractorProcessor?
I'm trying to implement an ExtractorProcessor in C++ - I have created a ValueExtractor and I can create the ExtractorProcessor from that, but the compiler gives me an error when I try to invoke it
Error     6     error C2665: 'coherence::lang::TypedHandle<T>::TypedHandle' : none of the 4 overloads could convert all the argument types     c:\dcs_systems\test\trunk\ThirdParty\Components\coherence_3_7_1_x86\include\coherence\lang\TypedHolder.hpp     205     D3ContextCache
This is my call
int CacheD3ContextRepository::getD3ContextState(int call_id) const
     Integer32::View vKey = Integer32::create(call_id);
     ValueExtractor::View vStateExtractor =
          COH_MANAGED_BOX_EXTRACTOR(Integer32::View, CacheD3Context, getState);
     ExtractorProcessor::Handle vStateFetcher = ExtractorProcessor::create(vStateExtractor);
     Integer32::View vState;// = _cache->invoke(vKey, vStateFetcher);
     return *vState;
Essentially I have CacheD3Context object but I don't want to read back the whole object just the state field.
I have been told that something called a 'ReducerAggregator' is a better way of doing this but I haven't been able to find this yet.
Thanks
Joe
Edited by: 841803 on 09-Apr-2013 00:55

Hi Joe,
The invoke method returns an Object::Holder, which will need to be cast to the extracted type:
int CacheD3ContextRepository::getD3ContextState(int call_id) const
    Integer32::View              vKey            = Integer32::create(call_id);
    ValueExtractor::View         vStateExtractor = COH_MANAGED_BOX_EXTRACTOR(Integer32::View, CacheD3Context, getState);
    ExtractorProcessor::Handle   vStateFetcher   = ExtractorProcessor::create(vStateExtractor);
    Integer32::View              vState          = cast<Integer32::View>(_cache->invoke(vKey, vStateFetcher));
    return *vState;
    }Note that when the extraction will be performed server side, the above extractor will be evaluated as a ReflectionExtractor in java, and will invoke the java getState method. This implies you'll need the CacheD3Context (or equivalent) java class in the classpath of your cache servers. If this is not an option then have a look at PofExtractor.
thanks,
Mark
Oracle Coherence

Similar Messages

  • How to create request for extracting company code

    Hi All,
    Can any body guide me how to create a request for extraction of company code 0COMP_CODE_ATTR.
    Actually i have created a request using transport conneciton but while moving this request to quality system i am getting following error.
    DataSource 0COMP_CODE_TEXT does not exist in source system QLTCLNT440 of version A
    Mapping between data source 0COMP_CODE_TEXT and source system QLTCLNT440 is inconsistent
    DataSource 0COMP_CODE_TEXT does not exist in source system QLTCLNT440 of version A
    Field KEY1 will not be delivered from DataSource 0COMP_CODE_TEXT in source system QLTCLNT440
    Field TXTMD will not be delivered from DataSource 0COMP_CODE_TEXT in source system QLTCLNT440
    Start of the after-import method for object type R3TR ISTS (Activation Mode)
    Reference to transfer structure 0COMP_CODE_TEXT_BB not available. No activation possible.
    Start of the after-import method for object type R3TR ISTS (Delete Mode)
    Start of the after-import method for object type R3TR ISMP (Delete Mode)
    Errors occurred during post-handling RS_AFTER_IMPORT for ISMP L
    The errors affect the following components:
       BW-WHM (Warehouse Management)
    Actually i have checked in Quality system 0COMP_CODE_TEXT is availble active. But i think we have to use 0COMP_CODE_ATTR data source...
    Pls help,,,
    Regards,
    viren.

    Hi Viren,
    Glad that your problem is resolved.
    Help.Sap.com is the best reference: http://help.sap.com/saphelp_nw04/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    Also check the "How-To" docs in https://www.sdn.sap.com/irj/sdn/developerareas/bi
    Bye
    Dinesh

  • Content Location request for PACKAGE failed (Code 0x80040102) - How to determine list of DP's returned from the MP

    Hi there
    So, existing SCCM 2012 environment, OSD functioning at other sites, been in use for a while.
    New location, new DP.  PXE boot system, choose the task sequence, and I get the error that the package is not found.
    Look at the SMSTS.log and sure enough I see the 0x80040102 error.  
    I have :
    Removed the offending package and redistributed it.  Verified it is present on the server.
    Verified the boundary has the server as a site system.
    Verified the boundaries have the correct IP range, and the correct Site.
    I have tried it with just a Site boundary and just a IP Range boundary.
    Created a copy of my TS, removed the offending package, deployed.  Same error, just with a different package ID (which tells me that it isn't the package, it is something on the server DP itself).
    Rebooted both the Site server and the DP.
    I'm kind of at a loss, as I would expect to see the DP show up in the below log as a DP, but I don't see it.  It looks like it gets policy, and it shows under the content location request Local: 1 (which I believe says it sees 1 local content location),
    but further below in the log it says Processing 0 Locations.
    Very confused.
    Thanks for any help...
    Content location request: TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
      Package : packageid.3 TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
      Client  : c713c862-e9be-4f67-a6d3-f164e05c29a2
    TSPxe 8/26/2014 10:48:46 AM
    1584 (0x0630)
      Local   : 1 TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
      Remote  : 0 TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
      Internet: 0 TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
    Sending RequestContentLocations for packageid
    TSPxe 8/26/2014 10:48:46 AM
    1584 (0x0630)
    Setting message signatures. TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
    Setting the authenticator. TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
    CLibSMSMessageWinHttpTransport::Send: URL: siteserver.domain.local:80  CCM_POST /ccm_system/request
    TSPxe 8/26/2014 10:48:46 AM
    1584 (0x0630)
    Request was succesful. TSPxe
    8/26/2014 10:48:47 AM 1584 (0x0630)
    ::DecompressBuffer(65536) TSPxe
    8/26/2014 10:48:47 AM 1584 (0x0630)
    Decompression (zlib) succeeded: original size 99, uncompressed size 178.
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    Location Reply: <ContentLocationReply SchemaVersion="1.00"><ContentInfo/><Sites/></ContentLocationReply>
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    Processing 0 locations. TSPxe
    8/26/2014 10:48:47 AM 1584 (0x0630)
    LocationsList.size() > 0, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,2142)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    FALSE, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,1863)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    Content location request for packageid:3 failed. (Code 0x80040102)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    hr, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,2626)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    Failed to resolve PackageID= TSPxe
    8/26/2014 10:48:47 AM 1584 (0x0630)
    (*iTSReference)->Resolve( pTSPolicyManager, dwResolveFlags ), HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,3412)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    m_pSelectedTaskSequence->Resolve( m_pPolicyManager, TS::Policy::TaskSequence::ResolvePolicy | TS::Policy::TaskSequence::ResolveSource, fpCallbackProc, pv, hCancelEvent), HRESULT=80040102 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1523)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    Failed to resolve selected task sequence dependencies. Code(0x80040102)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    hrReturn, HRESULT=80040102 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediaresolveprogresspage.cpp,445)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    ThreadToResolveAndExecuteTaskSequence failed. Code(0x80040102)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    ThreadToResolveAndExecuteTaskSequence returned code 0x80040102
    TSPxe 8/26/2014 10:48:47 AM
    892 (0x037C)
    Setting wizard error: This task sequence cannot be run because the program files for packageid cannot be located on a distribution point. For more information, contact your system administrator or helpdesk operator.
    TSPxe 8/26/2014 10:48:47 AM
    892 (0x037C)

    It was not just driver packages, it was whatever package was next in line in the Task Sequence.
    The issue got even more strange...I added a DP from my central location to the boundary group of the site that was failing.
    Now it pulls from the local DP.
    If I remove the DP from my central location (that is not local to the failing site), then it stops working again.

  • Request for sample ZXRSRU01 code-  pass to VKF

    Hello,
    I wrote an earlier mssg but I fear I may have been too complicated in my request.
    I would like to pull a BEx variable user entry in and use it to calculate a key figure.
    I have the virtual KF code working fine.
    I just need help pulling the user value in.
    The variable is a single value entry. So I am unsure about the high/low range that I see in most examples.
    My include is setup as follows-
    *how would I write the code to pull the user entry?
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
    REFRESH e_t_range.
    *- Steps
    CASE i_step.
      WHEN '2'.
        CASE i_vnam.               " Variable name
      When 'VariableTech_name'.
         <insert code to pull here>
    ENDCASE.
    Additional questions:
    1) Is there a way to turn off the filtering of the user entered variable? I would prefer to only use it to just pass the info to CMOD rather than filter out data on the report.
    2) Do I need to create special BEx variable? (customer exit, etc) Or will any work with this?
    Thank you very much.
    - Brandon

    Hi KJ,
    Thx for the quick reply!
    In the code example-
    and 'MONTH' represents the variable tech name that we are pulling. And 'CUMMONTH' represents the place we are passing it to?
    Is this correct? Then calculations are done in BEx.
    I would like to do calculations in ZXRSRF02.
    If my infoobject is defined as <ZNEWEST> in my virtual KF code-  How do I get it passed to ZXRSRF02?
    I would like to take user entry and pass it to <ZNEWEST> infoobject in my VKF code.
    Here is my code as I translated it from the example:
      WHEN '2'.
        CASE i_vnam.               " Variable name
          WHEN 'ZNEWEST'.
          Loop at I_T_VAR_RANGE INTO LOC_VAR_RANGE
               WHERE VNAM = 'NEWTSK'.
            Clear L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW(4).
            L_S_RANGE-LOW+4(2) = '01'.
            L_S_RANGE-HIGH     = LOC_VAR_RANGE-LOW.
            L_S_RANGE-SIGN     = 'I'.
            L_S_RANGE-OPT      = 'BT'.
            APPEND L_S_RANGE to E_T_RANGE.
            EXIT.
          ENDLOOP.
    Thx!

  • Request for phone lock code - Nokia E7

    I got updation for my E7 to symbian anna. when i am trying to activate phone lock, it asking password and i tried 12345. But the phone shows incorrect password. It is the first time i am trying to enable this option. pls share other lock codes.

    You may have changed your lock code , if you can't remember it  then you'll need take it to your local Nokia care point. Please bare in mind that you will need back up your files first as  any activities  performed by a care point will potentially delete all your data.
    I should stress that there could be an additional charge for the service.
    If this post answers your question, you can help others by clicking the green accepted solution' button.
    Please ask your questions to the main board and not to my mailbox. Thank you.

  • HT1918 Request for valid security code

    iTunes insist that I "enter valid Security Code" when I already have. I have re-entered all my card info to make sure it is right and I have ample credit available yet I keep getting the decline message and request to enter the right security code. I get this message on both my laptop and iPad. What am I missing?

    Often there is another (billing) issue on your account. Contact iTS and they'll check it out.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Payment request for customer

    Hi guys,
    payment request for customer T.code f-59 we got an error "Special G/L indicator J for payment request is not a noted item"  urgent
    thanks & regards
    syam

    Hi,
    Goto OBXY and double click on spl. gl indicator J, and then sel.properties button and then select noted items check box.
    Thanks & Regards
    Sunitha.

  • Working code snippet for JSSE 1.0.2

    This code works only with JSSE 1.0.2. JSSE 1.0.1 has a bug I believe which give null cert chain
    error when using client authorization.
    Below is a java code snippet to create a SSL server and client sockets.
    SocketsFactory.java
    This class is an utility class which gets you the Secure Socket for server and the client.
    It reads from the properties file.
    public class SocketsFactory{
    /** Creates a SSL client socket. It uses the properties obtained from the
    * sslPropsFile to create the client socket.
    * @param sslPropsFile The ssl properties file that contains information about the provider etc.
    * @param host The host to connect to.
    * @param port The port on which this socket should attempt to connect
    * @throws IOException if there was any exceptions in creating the sockets or if the properties file
    * was not found or corrupted.
    * @return returns the socket that was created.
         public static Socket createSecureSocket(final String sslPropsFile, String host,int port)throws IOException{
              Properties props = readPropertiesFile(sslPropsFile);
              SSLSocketFactory factory = null;
              System.setProperty("javax.net.ssl.trustStore",(String)props.get("com.ibm.idmg.ssl.keyStore"));
              //Getting a secure client socket using sun..
              try {
                   addProvider(props);
                   // Set up a key manager for client authentication
                   // if asked by the server. Use the implementation's
                   // default TrustStore and secureRandom routines.
                   SSLContext ctx = getSSLContext(props);
                   factory = ctx.getSocketFactory();
              catch (Exception e) {
                   e.printStackTrace();
                   throw new IOException(e.getMessage());
              SSLSocket client =(SSLSocket)factory.createSocket(host, port);
              client.startHandshake();
              return client;
    /** Creates a SSL server socket based on sun's implementation using JSSE. Uses the
    * sslPropsFile to get the keystore used for validating certificates and their
    * passwords.
    * @param sslPropsFile The properties file containing SSL provider, key passwords etc.,
    * @param port The port to which this socket should listen at.
    * @throws IOException If the properties file was not found or it was corrupted or if there was any
    * other errors while socket creation.
    * @return the serversocket object.
         public static ServerSocket createSecureServerSocket(final String sslPropsFile,int port) throws IOException{
              Properties props = readPropertiesFile(sslPropsFile);
              String trustStore = (String)props.get("com.ibm.idmg.ssl.keyStore");
              System.setProperty("javax.net.ssl.trustStore",trustStore);
              //     Getting a sun secure server socket
              SSLServerSocketFactory ssf = null;
              try {
                   addProvider(props);
                   // set up key manager to do server authentication
                   SSLContext ctx = getSSLContext(props);
                   ssf = ctx.getServerSocketFactory();
              } catch (Exception e) {
                   e.printStackTrace();
                   throw new IOException(e.getMessage());
              SSLServerSocket socket = (SSLServerSocket)ssf.createServerSocket(port);
              socket.setNeedClientAuth(true);
              return socket;          
         * Internally used function to read a provider from the properties and
         * add it as the current ssl provider. The properties should have the
         * property <i>com.ibm.idmg.ssl.sslProvider</i> defined. Otherwise
         * throws NullPointerException.
         private static void addProvider(Properties props) throws Exception{
              String provider = (String)props.get("com.ibm.idmg.ssl.sslProvider");
              if (provider == null)
                   throw new NullPointerException("com.ibm.idmg.ssl.sslProvider is not specified!");
              java.security.Security.addProvider((java.security.Provider)Class.forName(provider).newInstance());
         * Internally used function to read a file and return it as java properties.
         * It uses java.util.Properties. Throws FileNotFoundException if the file
         * was not found. Otherwise returns the properties.
         private static Properties readPropertiesFile(final String file) throws IOException{
              if (file == null)
                   throw new IOException("SSL Context File name not specified!");
              FileInputStream in = new FileInputStream(file);
              Properties properties = new Properties();
              properties.load(in);
              in.close();
              in = null;
              return properties;
         * Internal function used to retrieve a SSLContext object. It is used primarily
         * for creating SSL sockets that can authenticate each other based on the
         * keystores specified using the properties.
         private static SSLContext getSSLContext(Properties props) throws Exception{
              SSLContext ctx;
              KeyManagerFactory kmf;
              KeyStore ks;
              String password = (String)props.get("com.ibm.idmg.ssl.keyStorePassword");
              if (password == null)
                   password = System.getProperty("javax.net.ssl.keyStorePassword");
              char[] passphrase = password.toCharArray();
              ctx = SSLContext.getInstance("TLS");
              kmf = KeyManagerFactory.getInstance("SunX509");
              ks = KeyStore.getInstance("JKS");
              String keyStoreFile = (String)props.get("com.ibm.idmg.ssl.keyStore");
              if (keyStoreFile == null)
                   keyStoreFile = System.getProperty("javax.net.ssl.keyStore");
              FileInputStream in = new FileInputStream(keyStoreFile);
              ks.load(in, passphrase);
              in.close();
              in = null;
              //     All keys in the KeyStore must be protected by the same password.
              String keyPassword = (String)props.get("com.ibm.idmg.ssl.keyPassword");
              if (keyPassword != null)
                   passphrase = keyPassword.toCharArray();
              kmf.init(ks, passphrase);
              ctx.init(kmf.getKeyManagers(), null, null);
              return ctx;
    The Server properties file looks like this.
    #     Specify the SSL provider here.
    #     Using sun's reference implementation for testing..
    com.ibm.idmg.ssl.sslProvider=com.sun.net.ssl.internal.ssl.Provider
    #     Specify the keystore file that this ssl socket should use
    com.ibm.idmg.ssl.keyStore=server.ks
    #     Specify the password for this keystore file
    com.ibm.idmg.ssl.keyStorePassword=servercanpass
    #     Specify the password used to protect the keys in the keystore
    #     Note: all the keys should have the same password
    com.ibm.idmg.ssl.keyPassword=icanpass
    The client properties file
    #     Specify the SSL provider here.
    #     Using sun's reference implementation for testing..
    com.ibm.idmg.ssl.sslProvider=com.sun.net.ssl.internal.ssl.Provider
    #     Specify the keystore file that this ssl socket should use
    com.ibm.idmg.ssl.keyStore=client.ks
    #     Specify the password for this keystore file
    com.ibm.idmg.ssl.keyStorePassword=clientshouldpass
    #     Specify the password used to protect the keys in the keystore
    #     Note: all the keys should have the same password
    com.ibm.idmg.ssl.keyPassword=canipass
    Now to create the certificates..
    Its a 5 step process
    1) Create the keystore file.
         keytool -genkey -alias mohan -dname "CN=Mohan Tera OU=IS O=IM L=sanjose S=NY C=US" -keystore server.ks -storepass servercanpass -validity 180 -keypass icanpass
    2) Create a self signed certificate. If you need to get it signed from
         verisign then you have to create a certificate request. For testing purposes,
         you can create a self signed certificate.
         keytool -selfcert -alias mohan -dname "CN=Mohan Tera OU=IS O=IM L=sanjose S=NY C=US" -keystore server.ks -storepass servercanpass -validity 180 -keypass icanpass
    3) Export the public key from the keystore to a certificate file that is to be imported to the client keystore.
         keytool -export -alias mohan -file fromserver.cer -keystore server.ks -storepass servercanpass
    4) Repeat the above steps for the client also..
         a)
         keytool -genkey -alias moks -dname "CN=Jennifer Poda OU=Javasoft O=Sun L=Edison S=NJ C=US" -keystore client.ks -storepass clientshouldpass -validity 180 -keypass canipass
         b)
         keytool -selfcert -alias moks -dname "CN=Jennifer Poda OU=Javasoft O=Sun L=Edison S=NJ C=US" -keystore client.ks -storepass clientshouldpass -validity 180 -keypass canipass
         c)
         keytool -export -alias moks -file fromclient.cer -keystore client.ks -storepass clientshouldpass
    5) Import the certificates that were exported in steps 3 and 4c in client and server keystore respectively.
         keytool -import -trustcacerts -alias new -file fromserver.cer -keypass keypass -storepass clientshouldpass -keystore client.ks
         keytool -import -trustcacerts -alias new -file fromclient.cer -keypass keypass -storepass servercanpass -keystore server.ks
    And voila you are all set to go..
    Hope this explains to all the people who are struggling with JSSE..
    Regards,
    Moks

    when i using your method in my code i get the following exception
    pl. help me.
    java.security.UnrecoverableKeyException: Cannot recover key
    at sun.security.provider.KeyProtector.recover(KeyProtector.java:301)
    at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:103
    at java.security.KeyStore.getKey(KeyStore.java:289)
    at com.sun.net.ssl.internal.ssl.X509KeyManagerImpl.<init>(DashoA6275)
    at com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl.engineInit(DashoA6
    275)
    at javax.net.ssl.KeyManagerFactory.init(DashoA6275)
    at ClassFileServer.getServerSocketFactory(ClassFileServer.java:145)
    at ClassFileServer.main(ClassFileServer.java:115)
    Exception in thread "main" java.lang.NullPointerException
    at ClassFileServer.main(ClassFileServer.java:117)

  • Usage of Company code field in the Change Request for Company

    Hi,
    Would like to know the usage of - Company code field in the UI for Change request for Company.
    1. If a new Company is created, can i assign the company code directly in the UI, will the assignment also replicated to backend in this case?
    2. In case of new Company creation, is it possible for multiple company code assignments?
    3. Is it possible to to pick the existing Company from the F4 list in the CR and assign the company code in the CR? How about the replication work in this case?
    Please share your comments, Thank you.

    Thanks Sanjay.
    Just to summarize and a bit more specific, here is my understanding:
    1. (a). You have mentioned that we can assign new company code also - does this mean i can select            a company code which is not in the F4 list? In such case, how will be the assignment                   replicated? It should ideally create a company code in the backend before the assignment is           processed.
        (b). Usually, if a new company code is created in backend, i need to load that in to MDG tables                 such that it will be active in MDG F4 list, for Company assignments in the Change request.
    2.      Understood
    3.      In the Change request, if i pick existing company from F4 values and edit company related data,          it will be replicated accordingly.
             In the same CR, if i give some value in the company code data, the replication will result in one          more assignment added to the company, so as on date, SAP has given the option of only                    additional assignments to the existing assignments.

  • I am getting error code -9808 saying cannot complete request for the i  store, i am getting error code -9808 saying cannot complete request for the i  store

    i am getting the erorr code -9808 saying that we cannot complete my request for the i store to setup my new device ...what up with that

    Try here:
    iTunes Store: "An unknown error occured (-9808)"

  • I have request for free up gradation of mountain lion os. My mac meets all the eligibility standards. I applied it on 25th and haven't got any code till now. Pls help

    I have requested for free up gradation of mountain lion os. My mac meets all the eligibility standards. I applied it on 25th and haven't got any code till now. Pls help

    After you press download, check your Launchpad.  The icon will show up with what looks like a white dot where you'd expect to see a progress bar.  That white dot actually is the progress bar, as ML is a 4GB download and can take anywhere from 1 to 15 hours, depending on your connection speed.  On the average 1.5Mbps economy connection, it will take about 7 hours to download.

  • I am using Edge CC 2014. When I open up actions for a particular object (or in code view) the "toggle display of code snippets" does not show. Is there a preference setting I am missing?

    I cannot get the code snippets to show. What am I missing here?

    Hi there,
    Code snippets have changed for Edge Animate CC 2014: they are categorized by type, and allow you to choose which elements are being targeted. Please refer to the attached screenshot:
    hth,
    Joe

  • Request for code !!

    request for code
    needs a code (which ,copies  the file on your computer (it copies the file to which it will path  in TextBox1)
    and is pasted file in the folder: C: \ Program Files \ RunerBat \ Backup
    and needs code ,which when clicked, "button2" opens "savefiledialog" and writes text with richtextbox1 as .bat ,,,
    but stores only when you click button1, it comes to me more about the button "select path the record"

    This forum is not for ordering code.
    Try it yourself. Read the documentation. It is grouped by topic.
    .NET Framework Development Guide
    To your question related these sub topics:
    File and Stream I/O
    SaveFileDialog Component (Windows Forms)
    Button Control (Windows Forms)
    Creating Event Handlers in Windows Forms
    If you have a specific problem, post the code you wrote and which question you have.
    Armin

  • Jdev10.1.3 - is there a suppotr for parametrized code snippets?

    Hi,
    I am looking to add parameters to the code snippet (simple name value pairs and iterators)
    I need to be able to prompt the user to enter these parameters when designing the page (inserting the code snippet results in an editor that prompts for the parameters)
    Is such a feature available or planned?
    thanks
    Vijay

    Hi,
    depends on what kind of code snippet you need. JDeveloper supports code templates that can have variables in them that are filled in by the developer when adding it with <abbreviation>ctrlenter
    See tools --> Preferences --> Code Editor -> Code Templates
    If e.g. you create a code template "about" and add the following snippet
    * File: $file$
    * Date created: $date$
    * Author: $author$
    then all variables surrounded by $..$ are highlighted (you can have JDeveloper to add default values as well
    Frank

  • Request for some Visual Basic code?

    Hello not sure if I'm posting in the correct area but I have a request for some Visual Basic Code.
    I use a particular document in word quite often to fill out forms for my job. However I would like something that allows me to open a new instance of the same document while closing the current AFTER I print it without any extra mouse clicks, or if after
    I print the document the forms are cleared and I can start over.
    P.S. I would take the time to learn how to do it myself but I currently reside in South Korea and work for the USAF so I don't have much time.

    Hi,
    I suggest you post the request to Word for Developers forum since it needs support for coding:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support

Maybe you are looking for

  • How can I return to login screen after screensaver??

    I am trying to set up my Parents new Mac like their old Windows XP machine. When the Windows PC sat idle it went to screensaver and if the mouse was moved it returned to the login screen with their user icons. On the Mac the option under Security "Re

  • BES via Office 365

    Bonjour, Nous souhaitons paramétrer nos Blackberry Q10 pour qu'ils passent via BES. Nous utilisons la solution BlackBerry® Business Cloud Services de Research In Motion (RIM®) via Office 365. Nous ne savons pas quel nom de serveur il faut indiquer lo

  • How to refresh iPhoto Videos in iMovie

    Hi. I've just learned to use iPhoto for images and to put videos into iMovie via importing them to iPhoto. However, if iPhoto and iMovie are open, I have to quit iMovie to see the update of files added to iPhoto Movies.  How do I refresh iPhoto Video

  • Undeliverable received when attempting to update one occurrence for a reoccurring calendar item Outlook 2013

    I have an associate who has a reoccurring calendar event that was created approximately 2 years ago. This event has no end date. The associate is attempting to change the time for one of the occurrences. When the Save & Update button is clicked an un

  • Itunes Setup file won't start up - please please help!

    hi, i recently reformatted my computer and once downloaded the latest version of itunes i can't get it to start the installation i click on the setup file, the hour glass flickers, then nothing i've downloaded from different browers heaps of times an