Is it possible to call msync from within an EVB Application?

Does anyone know how to run mSync from within an embedded visual basic application?
Some sample code or documentation would be particularly welcome.

The following is taken from the Windows CE documentation that ships with 9i Lite:
Table 3-16 ISyncOption Public Properties
username -> Name of the user.
password -> User password.
syncParam -> Synchronization preferences. See Section 3.7.2.4, "COM Interface SyncParam Settings" for more information.
transportType -> Type of transport to use. Only "HTTP" type is supported currently. The default value is HTTP.
transportParam Parameters of the transport. See Section 3.7.1.5, "Java Interface TransportParam Parameters" for more information.
syncParam documentation is (also taken from the same document):
The syncParam is a string that allows support parameters to be specified to the synchronization session. The string is constructed of name-and-value pairs, for example:
"name=value;name2=value2;name3=value3, ...;"
The names are not case sensitive, but the values are. The field names which can be used are listed in Table 3-17.
Table 3-17 COM Interface SyncParam Settings
"reset" -> N/A Clear all entries in the environment before applying any remaining settings.
"security" -> "SSL" "CAST5" Use the appropriate selection to choose either SSL or CAST5 stream encryption.
"pushonly" -> N/A Use this setting to upload changes from the client to the server only, download is not allowed.This is useful when data transfer is one way, client to server.
"noapps" -> N/A Do not download any new or updated applications. This is useful when synchronizing over a slow connection or on a slow network.
"syncDirection" -> "SendOnly" "ReceiveOnly" "SendOnly" is the same as "pushonly". "RecieveOnly" allows no changes to be posted to the server.
"noNewPubs" -> N/A This setting prevents any new publications created since the last synchronization from being sent, and only synchronizes data from the current publications.
"tableFlag [Publication.Item]" "enable" "disable" The "enable" setting allows [Publication.Item] to be synchronized, disable prevents synchronization.
"fullrefresh" -> N/A Forces a complete refresh.
"clientDBMode" -> "EMBEDDED" "CLIENT" If set to "EMBEDDED", access to the database is by conventional ODBC, if set to "CLIENT" access is by multi-client ODBC.
Example 1
The first example enables SSL security and disables application deployment for the current synchronization session:
"security=SSL;noapps;"

Similar Messages

  • Is it possible to call methods from another class from within an abstract c

    Is it possible to call methods from another class from within an abstract class ?

    I found an example in teh JDK 131 JFC that may help you. I t is using swing interface and JTable
    If you can not use Swing, then you may want to do digging or try out with the idea presented here in example 3
    Notice that one should refine the abstract table model and you may want to create a method for something like
    public Object getValuesAtRow(int row) { return data[row;}
    to give the desired row and leave the method for
    getValuesAt alone for getting valued of particaular row and column.
    So Once you got the seelcted row index, idxSelctd, from your table
    you can get the row or set the row in your table model
    public TableExample3() {
    JFrame frame = new JFrame("Table");
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {System.exit(0);}});
    // Take the dummy data from SwingSet.
    final String[] names = {"First Name", "Last Name", "Favorite Color",
    "Favorite Number", "Vegetarian"};
    final Object[][] data = {
         {"Mark", "Andrews", "Red", new Integer(2), new Boolean(true)},
         {"Tom", "Ball", "Blue", new Integer(99), new Boolean(false)},
         {"Alan", "Chung", "Green", new Integer(838), new Boolean(false)},
         {"Jeff", "Dinkins", "Turquois", new Integer(8), new Boolean(true)},
         {"Amy", "Fowler", "Yellow", new Integer(3), new Boolean(false)},
         {"Brian", "Gerhold", "Green", new Integer(0), new Boolean(false)},
         {"James", "Gosling", "Pink", new Integer(21), new Boolean(false)},
         {"David", "Karlton", "Red", new Integer(1), new Boolean(false)},
         {"Dave", "Kloba", "Yellow", new Integer(14), new Boolean(false)},
         {"Peter", "Korn", "Purple", new Integer(12), new Boolean(false)},
         {"Phil", "Milne", "Purple", new Integer(3), new Boolean(false)},
         {"Dave", "Moore", "Green", new Integer(88), new Boolean(false)},
         {"Hans", "Muller", "Maroon", new Integer(5), new Boolean(false)},
         {"Rick", "Levenson", "Blue", new Integer(2), new Boolean(false)},
         {"Tim", "Prinzing", "Blue", new Integer(22), new Boolean(false)},
         {"Chester", "Rose", "Black", new Integer(0), new Boolean(false)},
         {"Ray", "Ryan", "Gray", new Integer(77), new Boolean(false)},
         {"Georges", "Saab", "Red", new Integer(4), new Boolean(false)},
         {"Willie", "Walker", "Phthalo Blue", new Integer(4), new Boolean(false)},
         {"Kathy", "Walrath", "Blue", new Integer(8), new Boolean(false)},
         {"Arnaud", "Weber", "Green", new Integer(44), new Boolean(false)}
    // Create a model of the data.
    TableModel dataModel = new AbstractTableModel() {
    // These methods always need to be implemented.
    public int getColumnCount() { return names.length; }
    public int getRowCount() { return data.length;}
    public Object getValueAt(int row, int col) {return data[row][col];}
    // The default implementations of these methods in
    // AbstractTableModel would work, but we can refine them.
    public String getColumnName(int column) {return names[column];}
    public Class getColumnClass(int col) {return getValueAt(0,col).getClass();}
    public boolean isCellEditable(int row, int col) {return (col==4);}
    public void setValueAt(Object aValue, int row, int column) {
    data[row][column] = aValue;
    };

  • Is it possible to call website from ABAP Program?

    Hi Experts,
           Is it possible to call website from ABAP Program?
    It is very Urgent Help me.
    Regards,
    Ashok.

    Hi,
    Check the following program:
    REPORT ZURL NO STANDARD PAGE HEADING.
    DATA: BEGIN OF URL_TABLE OCCURS 10,
    L(25),
    END OF URL_TABLE.
    URL_TABLE-L = 'http://www.lycos.com'.APPEND URL_TABLE.
    URL_TABLE-L = 'http://www.hotbot.com'.APPEND URL_TABLE.
    URL_TABLE-L = 'http://www.sap.com'.APPEND URL_TABLE.
    LOOP AT URL_TABLE.
      SKIP. FORMAT INTENSIFIED OFF.
      WRITE: / 'Single click on '.
      FORMAT HOTSPOT ON.FORMAT INTENSIFIED ON.
      WRITE: URL_TABLE. HIDE URL_TABLE.
      FORMAT HOTSPOT OFF.FORMAT INTENSIFIED OFF.
      WRITE: 'to go to', URL_TABLE.
    ENDLOOP.
    CLEAR URL_TABLE.
    AT LINE-SELECTION.
    IF NOT URL_TABLE IS INITIAL.
      CALL FUNCTION 'WS_EXECUTE'
           EXPORTING
                program = 'C:\Program Files\Internet Explorer\IEXPLORE.EXE'
                commandline     = URL_TABLE
                INFORM         = ''
              EXCEPTIONS
                PROG_NOT_FOUND = 1.
      IF SY-SUBRC <> 0.
         WRITE:/ 'Cannot find program to open Internet'.
      ENDIF.
    ENDIF.
    Regards,
    Bhaskar

  • How to call methods from within run()

    Seems like this must be a common question, but I cannot for the life of me, find the appropriate topic. So apologies ahead of time if this is a repeat.
    I have code like the following:
    public class MainClass implements Runnable {
    public static void main(String args[]) {
    Thread t = new Thread(new MainClass());
    t.start();
    public void run() {
    if (condition)
    doSomethingIntensive();
    else
    doSomethingElseIntensive();
    System.out.println("I want this to print ONLY AFTER the method call finishes, but I'm printed before either 'Intensive' method call completes.");
    private void doSomethingIntensive() {
    System.out.println("I'm never printed because run() ends before execution gets here.");
    return;
    private void doSomethingElseIntensive() {
    System.out.println("I'm never printed because run() ends before execution gets here.");
    return;
    }Question: how do you call methods from within run() and still have it be sequential execution? It seems that a method call within run() creates a new thread just for the method. BUT, this isn't true, because the Thread.currentThread().getName() names are the same instead run() and the "intensive" methods. So, it's not like I can pause one until the method completes because they're the same thread! (I've tried this.)
    So, moral of the story, is there no breaking down a thread's execution into methods? Does all your thread code have to be within the run() method, even if it's 1000 lines? Seems like this wouldn't be the case, but can't get it to work otherwise.
    Thanks all!!!

    I (think I) understand the basics.. what I'm confused
    about is whether the methods are synced on the class
    type or a class instance?The short answer is; the instance for non-static methods, and the class for static methods, although it would be more accurate to say against the instance of the Class for static methods.
    The locking associated with the "sychronized" keyword is all based around an entity called a "monitor". Whenever a thread wants to enter a synchronized method or block, if it doesn't already "own" the monitor, it will try to take it. If the monitor is owned by another thread, then the current thread will block until the other thread releases the monitor. Once the synchronized block is complete, the monitor is released by the thread that owns it.
    So your question boils down to; where does this monitor come from? Every instance of every Object has a monitor associated with it, and any synchronized method or synchonized block is going to take the monitor associated with the instance. The following:
      synchronized void myMethod() {...is equivalent to:
      void myMethod() {
        synchronized(this) {
      ...Keep in mind, though, that every Class has an instance too. You can call "this.getClass()" to get that instance, or you can get the instance for a specific class, say String, with "String.class". Whenever you declare a static method as synchronized, or put a synchronized block inside a static method, the monitor taken will be the one associated with the instance of the class in which the method was declared. In other words this:
      public class Foo {
        synchronized static void myMethod() {...is equivalent to:
      public class Foo{
        static void myMethod() {
          synchronized(Foo.class) {...The problem here is that the instance of the Foo class is being locked. If we declare a subclass of Foo, and then declare a synchronized static method in the subclass, it will lock on the subclass and not on Foo. This is OK, but you have to be aware of it. If you try to declare a static resource of some sort inside Foo, it's best to make it private instead of protected, because subclasses can't really lock on the parent class (well, at least, not without doing something ugly like "synchronized(Foo.class)", which isn't terribly maintainable).
    Doing something like "synchronized(this.getClass())" is a really bad idea. Each subclass is going to take a different monitor, so you can have as many threads in your synchronized block as you have subclasses, and I can't think of a time I'd want that.
    There's also another, equivalent aproach you can take, if this makes more sense to you:
      static final Object lock = new Object();
      void myMethod() {
        synchronized(lock) {
          // Stuff in here is synchronized against the lock's monitor
      }This will take the monitor of the instance referenced by "lock". Since lock is a static variable, only one thread at a time will be able to get into myMethod(), even if the threads are calling into different instances.

  • Is it possible to call Webservice from VB 6.0?

    Is it possible to call Webservice from VB 6.0?
    Regards,
    Krishanu ray

    Hi
    Please check following links.
    Calling Web Services from Visual Basic 6, the Easy Way
    SAP PI integration with VB 6.0
    Thanks,
    Dipak Patil

  • Is it possible to call a smartfrom within a smartform? if yes how ?

    Is it possible to call a smartfrom within a smartform? if yes how ?

    Calling or embedding?
    It is not possible to embed a smartform into another one (like subscreens within dynpros)
    For calling, I don't know, but I wouldn't try

  • How to configure Outlook 2013 to call direct from within the application without using Lync 2013?

    I have Outlook 2013 running on Windows 7 Pro 64-Bit with Lync 2013 (Office 365 Pro). We are using a 3rd party TAPI app from FortiVoice. WE would like to be able to place calls directly from
    within Outlook either by selecting a telephone number within an email and/or via the PEOPLE (Contacts) area.
    What guidelines should we use to enable this feature and not have Lync 2013 intercepting the process i.e. let OUTLOOK handle placing calls?
    Thanks in advance for any feedback provided.

    Hi,
    There seems no solution for this issue so far.
    Here is a fix for older versions of Outlook, maybe worth a try.
    http://support.microsoft.com/kb/959625/en-us
    However, if it doesn’t work, please try Malte’s reply as the workaround in the following thread. See:
    http://social.technet.microsoft.com/Forums/office/en-US/3946f1bb-cc3d-41b6-ab9c-092d62d024d1/outlook-2013-tapi-calling-with-lync-installed?forum=officesetupdeploy
    Thanks.
    Steve Fan
    TechNet Community Support
    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.

  • Start a BO report from within a web-application.

    Hi,
    An enuser want to start a BO report from within a web-application.
    The BO report ideally should not prompt for a login. The fact that we are using BO for reporting purposes should be transparent to the end users. The report should produce its output directly in Excel (pdf?) format. In WebI i can do a 'Save As' to obtain this, but it should go automatically so that the end users get their response directly in Excel
    the report should be parametrized. These parameters will be added to the URL by the calling application.
    To do a basic test of the Opendocument.jsp i created a number of test reports in WEBI, and i use the following URLs to execute them directly
    http://s-olaf-vtst150:8080/OpenDocument/opendoc/openDocument.jsp?&sPath=[My reports]&sDocName=tmsd1&sType=rep&sRefresh=Y
    http://s-olaf-vtst150:8080/OpenDocument/opendoc/openDocument.jsp?&sPath=[My reports]&sDocName=Yearselection&sType=rep&sRefresh=Y&lsSYear:=2002
    So this covers points 1 & 4
    What are the options for points 2 & 3?
    Kind regards,
    Johan

    The BO XI 3.1 environment works quite well now.
    Two more questions:
    1. When a user being member of the Readers group, still sees the Edit button in Webapplication - Infoview. Is it possible to hide or disable that Edit button ?
    2. Is it possible to make a user only seeing a part of the data in the universe ? When a query is run with a parameter, the user ses the parameter in the left column ... but in that way a normal user can change the value of that parameter giving him the possibility to see things he should not see. Making a separate query per user is overkill and too much work to do. Is BO XI 3.1 able to offer this possibility and how ?
    Rgds,
    Johan

  • How to make call out from XI to external applications??

    Hi,
    I have XI running on my system.
    I want to know if there is any possibility to invoke
    or to make call outs from XI to external applications
    like java.If yes what is the procedure for that.
    Thanks in advance
    Sunita

    XI will need a triggering event to do this. That is, if you can send a message to XI, then using XI you can route the message to a Proxy and from the proxy (which could be a java proxy) you can make a call to a java program outside XI. But, basically, XI on its own will not make a call, but it needs a triggering message. So, you can configure a file adapter to send a triggering message from a file system to the intergration server, and configure routing rules so that the messages reaches a proxy.
    Warm regards,
    Venki.

  • Trying to call a program within a Java application

    Hi,
    I am trying to call a program from within a Java application.
    Here's my code:
    // the program siftwin32 takes it's input via < and outputs using >
    String command = "C:/Demo/siftDemoV4/siftDemoV4/siftWin32.exe < c:/demo/query.pgm >c:/demo/query.key";
    Process p = Runtime.getRuntime().exec(command);
    int val = p.waitFor();
    The program "siftwin32" never executes. That is, the .key file is never generated. The value returned from the waitFor() is 1 which I know is bad.
    I'm not sure what the problem is. Running siftwin32 from the command line works fine.
    Any help would be greatly appreciated!
    Thanks,
    Neal
    Edited by: nealchecka on Nov 28, 2007 10:01 PM

    It's probably being executed; you're just passing it bad arguments and confusing it.
    The < and > operators are something that the shell uses. They're not arguments to programs typically. When you run it from the command line, it's going through a shell (the command line is the shell, that is to say a program for running other programs).
    When you run Runtime.exec, it doesn't go through the shell. The program is executed directly. If you use the version of exec() that takes a single string argument, the string is tokenized on whitespace and the tokens are used as the executable and its arguments.
    You have a few options.
    One is to write a shell script (or I guess a batch file on windows) that does the i/o redirection, and invoke that script.
    Another can be to send all these arguments to the shell by passing them on the command line to the shell, or to "start" or something (I'm not sure about what Windows does specifically). You can find examples online.
    Or you can do the redirection yourself, in the Java program. After you exec, use the resulting Process object to get the standard input, standard output, and standard error streams, and write/read/read those streams. If you like you can read from or write to files with those streams. Personally I generally prefer this option, since it has less dependency on the OS, and it's more flexible, and it's more tightly integrated into the Java class.

  • Is it possible to call web services in adobe connect application?

    I have facing one security issue  in adobe connect
    Error Description is "Security error accessing url
    Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://xxxxxx/WebService.asmx?wsdl)"
    Is it possible to call web services in adobe connect application?
    Thanks and regards
    Selvan

    OK, so it's a plain Flex security issue, not related to the Connect application, probably due to crossdomain misconfiguration.
    Please read http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html and http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html
    You may want to ask for help in the proper Flex forum. Also, download Tour de Flex and look at the example under "Flex Data Access3 -> "WebService".
    Try also to look at this thread http://forums.adobe.com/thread/223999

  • Is possible to propagate message from AQ to another Application by Internet

    Hi,
    Is possible to propagate mesage from AQ to another Application by internet protocol such as HTTP, SMTP?
    I need to automatic dequeue from AQ and send message from queue to Email or HTTP , is it possible? if yes, how to do it?
    Thanks

    chry,
    You can use a java stored procedure to dequeue the message and then use JavaMail to send the message by eMail, or the java.net package to use HTTP to send the message.
    I believe Web Services is also supported. The new book by Kuassi Mensah explains how to do this (I believe). The following post has more details:
    Programming the Oracle Database with Java and Web Services: sample chapter
    (Posted: Nov 1, 2005 2:22 PM)
    Good Luck,
    Avi.

  • Calling a webservice from within Bex Web Application Designer

    Hi
    I have a web-template built with BEx web application designer which also contains textboxes. This text should be stored by calling a webservice (standard BI-documents are not an option).
    Can anyone tell me how I could call a webservice from within the BEx web template to store the text contained in the textbox? The webservice-call should include some of the filter-varialbes of the web application.
    Is this only possible by the use of a JavaScript WebItem? If so - does anyone have an example of such a JavaScript.
    Thanks a lot in advance.
    Kind regards.
    Christoph

    Thanks for your response. The BSP page would work out fine if I only needed to save the data.
    But the next time I call the webtemplate, the textarea should be filled by another webservice call with the stored text (so the text can be modified und saved again). This will not be possible by calling a BSP page.
    Do yoiu have any suggestions how to integrate the text (return value from the webservice call) into the textbox in the webtemplate?
    Kind regards.
    Christoph

  • Problem calling servlet from within a jsp

    I have a servlet which obtains images for a page
    http://bychance.ca/servlet/ImageServlet?PhotoId=AJ-LA-4008
    I use the servlet from within a jsp
    <img src="servlet/ImageServlet?PhotoId=<%=rs.getObject("ID")%>" border="0">
    for some reason it does not work, the images are never called. I have another servlet which is called the same way and it works fine
    <img src="servlet/ImageServletLarge?PhotoId=<%=strPhotoId%>" border="0">
    Thank you all for your time

    this is my servlet code. Like I said it works fine in another servlet
    rs.next();
    byte[] bytearray = new byte[rs.getInt(1)];
    int size=0;
    InputStream sImage;
    sImage = rs.getBinaryStream(2);
    response.reset();
    response.setContentType("image/jpeg");
    while((size=sImage.read(bytearray))!= -1 )
    response.getOutputStream().write(bytearray,0,size);
    response.flushBuffer();
    sImage.close();

  • Where to log after calling BSSV from within C BSFN?

    I called a BSSV object from within a C BSFN. This BSSV object will return E1MessageList. I want to know where can I log these E1 Messages from within the C BSFN? Any documentation about this is greatly appreciated.
    I'm using E900 and JDeveloper 11g.
    Thanks

    Hello,
    Saw your query and don't know if this is still an issue for you ?
    You are calling a BSSV from within a C BSFN meaning you are consuming from that BSSV an external web service.
    The E1MessageList generated in the BSSV you can not return as such to the calling BSFN.
    I would suggest you simply create a new logging BSFN suitable for your specific purposes with a DSTR reflecting the parameters of the E1MessageList object such as ErrorAlphaDescription, ErrorDataDictionaryItem, ErrorFileName, ErrorGlossaryText, ErrorLevel, ErrorSourceLineNumber, etc...
    Just before the finishInternalMethod you can read through the E1MessageList array and parse out the data. For every element found you call your custom logging BSFN which in turn can then write this data to a file or whatever.
    Hope this helps!
    Brgds,
    Jan Hox

Maybe you are looking for

  • Reuse_alv_grid and excel

    i read many threads about alv and excel specially about the trouble with excel with the line missaligned but didn't see a solution. i have the same trouble i have an alv_grd with 30 col. but when i export to excel only the first 27 are aligned the la

  • Solaris 10 x86 5.10 cannot install Oracle 10g (needs 5.9 or less!)

    I installed the latest Solaris 10 x86 rev 5.10 and then downloaded the "New" Oracle 10g for Solaris x86 oddly but not suprisingly the "New" Oracle 10g only installs on Solaris 10 x86 5.6, 5.7, 5.8, 5.9 GO FIGURE. Seem there should be a way to fake ou

  • Can substitution strings be changed at runtime?

    I need to deploy my application such that it can run with different sets of tables, which are otherwise identical in design. My client has multiple versions of the tables. For instance, they may have CHICAGO.EMPLOYEES CHICAGO.DEPARTMENTS or LONDON.EM

  • 10g: Data Binding in event handlers?

    I'm trying to use data binding in my event handlers so that I can have a definitive source for the Strings that name things like this. I can see that the page is getting generated with the proper names on the elements in the page, but I always get an

  • HT204370 can I download onto SD card and play movie in the "in car" dvd players (which have a SD port)

    I have a new in car dvd player (one in the head rests). It says that you can put movies on a SD card and play them rather than using DVD's. In itunes, can I download movies onto an SD card?