Eclipse ME with SDK 3.0 problem

Hello,
There is actually a thread a few below this one on the same issue, but it has been locked as someone bumped it from many pages down. My problem is that I can no longer run my Java ME projects on the emulator in Eclipse, having just changed from WTK2.5 to the SDK3.0.
I get the following message in the console:
Syntax:
emulator [arguments]
In order to get commands supported by given device run:
emulator.exe -Xdevice:<device name> -Xquery
Generic list of arguments is:
-version           Display version information about the emulator
-help              Display list of valid arguments
-classpath, -cp    The class path for the VM
-D<name>=<value>   Set a system property
-Xdebug            Use a remote debugger
-Xrunjdwp:[transport=<transport>,address=<address>,server=<y/n>
           suspend=<y/n>]
                   Debugging options
-Xdevice:<device>  Select a device skin for the emulator
-Xdomain:<domain_name>
                   Set the MIDlet suite's security domain
-Xmain:<main class name>
                   Run the main method of a Java class, as in Java SE
-Xquery            Print device informationThe OP of the other thread seemed to find a solution- to use Create Package then run the emulation "Over the air". This is not ideal, as I would have to use Create Package every time I changed the program.
Is there an easy solution? An argument missing somewhere or something misconfigured?
Thanks,
Jack
Edited by: jackCharlez on Feb 28, 2010 6:18 AM

Hi Tejas,
it should work. I tested it right now and my proxy was used without any problems. The way how you set proxy settings is correct.
Could you try following to verify that it is a proxy problem or not, please?
1. run demo application "Demos" (from Start Page or File->Open Sample Project)
2. choose "HttpView" midlet and start it
3. choose "cnn"
4. if proxy is set correctly, you will see page source; otherwise you will get an error message
If the demo runs fine, the problem is probably somewhere else in the communication.
There is one limitation in proxy settings. Only proxy without username and password is supported. Isn't it your case?
Regards,
Radko

Similar Messages

  • No problem with sdk 1.3- problem with 1.4!!!

    I am trying to make an interface using swing objects..
    The buttons are looking like images (2D) when compiling and running the program with sdk 1.4...
    although if I use 1.3 everything is ok??
    even with the new java version I still have the same problem..
    has anyone any idea how to fix this??
    thx in advance!

    /*                      BET                                 */
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
      * Summary description for BET
    public class BET extends JFrame
         // Variables declaration
         private JLabel jLabel1;
         private JLabel jLabel2;
         private JLabel jLabel3;
         private JTextField jTextField1;
         private JTextField jTextField2;
         private JTextField jTextField3;
         private JTextField jTextField4;
         private JTextField jTextField6;
         private JButton jButton1;
         private JButton jButton2;
         private JPanel contentPane;
         // End of variables declaration
         public BET()
              super();
              initializeComponent();
              // TODO: Add any constructor code after initializeComponent call
              this.setVisible(true);
          * This method is called from within the constructor to initialize the form.
          * WARNING: Do NOT modify this code. The content of this method is always regenerated
          * by the Windows Form Designer. Otherwise, retrieving design might not work properly.
          * Tip: If you must revise this method, please backup this GUI file for JFrameBuilder
          * to retrieve your design properly in future, before revising this method.
         private void initializeComponent()
              jLabel1 = new JLabel();
              jLabel2 = new JLabel();
              jLabel3 = new JLabel();
              jTextField1 = new JTextField();
              jTextField2 = new JTextField();
              jTextField3 = new JTextField();
              jTextField4 = new JTextField();
              jTextField6 = new JTextField();
              jButton1 = new JButton();
              jButton2 = new JButton();
              contentPane = (JPanel)this.getContentPane();
              // jLabel1
              jLabel1.setForeground(new Color(59, 241, 227));
              jLabel1.setText("<HTML><B><U>QUESTION</B><HTML>");
              // jLabel2
              jLabel2.setForeground(new Color(50, 245, 113));
              jLabel2.setText("<HTML><B><U>CHOICE</B><HTML>");
              // jLabel3
              jLabel3.setForeground(new Color(50, 245, 113));
              jLabel3.setText("<HTML><B><U>POINTS</B><HTML>");
              // jTextField1
              jTextField1.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jTextField1_actionPerformed(e);
              // jTextField2
              jTextField2.setText("YES");
              jTextField2.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jTextField2_actionPerformed(e);
              // jTextField3
              jTextField3.setText("10");
              jTextField3.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jTextField3_actionPerformed(e);
              // jTextField4
              jTextField4.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jTextField4_actionPerformed(e);
              // jTextField6
              jTextField6.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jTextField6_actionPerformed(e);
              // jButton1
              jButton1.setBackground(new Color(117, 158, 145));
              jButton1.setText("OK");
              jButton1.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jButton1_actionPerformed(e);
              // jButton2
              jButton2.setBackground(new Color(117, 158, 145));
              jButton2.setText("CANCEL");
              jButton2.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jButton2_actionPerformed(e);
              // contentPane
              contentPane.setLayout(null);
              contentPane.setBackground(new Color(67, 97, 83));
              addComponent(contentPane, jLabel1, 172,8,60,18);
              addComponent(contentPane, jLabel2, 73,78,60,18);
              addComponent(contentPane, jLabel3, 211,76,60,18);
              addComponent(contentPane, jTextField1, 9,27,403,28);
              addComponent(contentPane, jTextField2, 24,101,134,22);
              addComponent(contentPane, jTextField3, 203,101,51,22);
              addComponent(contentPane, jTextField4, 21,151,137,22);
              addComponent(contentPane, jTextField6, 18,200,140,22);
              addComponent(contentPane, jButton1, 299,188,80,70);
              addComponent(contentPane, jButton2, 299,90,80,70);
              // BET
              this.setTitle("BET");
              this.setLocation(new Point(-2, 1));
              this.setSize(new Dimension(424, 316));
         /** Add Component Without a Layout Manager (Absolute Positioning) */
         private void addComponent(Container container,Component c,int x,int y,int width,int height)
              c.setBounds(x,y,width,height);
              container.add(c);
         // TODO: Add any appropriate code in the following Event Handling Methods
         private void jTextField1_actionPerformed(ActionEvent e)
              System.out.println("\njTextField1_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jTextField2_actionPerformed(ActionEvent e)
              System.out.println("\njTextField2_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jTextField3_actionPerformed(ActionEvent e)
              System.out.println("\njTextField3_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jTextField4_actionPerformed(ActionEvent e)
              System.out.println("\njTextField4_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jTextField6_actionPerformed(ActionEvent e)
              System.out.println("\njTextField6_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jButton1_actionPerformed(ActionEvent e)
              System.out.println("\njButton1_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jButton2_actionPerformed(ActionEvent e)
              System.out.println("\njButton2_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         // TODO: Add any method code to meet your needs in the following area
    //============================= Testing ================================//
    //=                                                                    =//
    //= The following main method is just for testing this class you built.=//
    //= After testing,you may simply delete it.                            =//
    //======================================================================//
         public static void main(String[] args)
              JFrame.setDefaultLookAndFeelDecorated(true);
              JDialog.setDefaultLookAndFeelDecorated(true);
              try
                   UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
              catch (Exception ex)
                   System.out.println("Failed loading L&F: ");
                   System.out.println(ex);
              new BET();
    //= End of Testing =
    This is my code.. the problem is that when i use sdk 1.3 everything is fine... I tried to use 1.4 and now 5 and I have a problem with the appearance of buttons... I have some comments in my code. is just a form with some textfields and labels and the 2 buttons!
    thx in advance

  • License not present.  With the trial version only limited replays are allowed -- Flex builder 4.5 Premium eclipse plugin with SDK 3.5

    Hi ,
    We are using Flex SDK 3.5 and using eclipse to build the war in order to make it automation compatible , Right now we tried with Premium version of Flex Builder 4.5 eclipse plugging to build and make application automation capable. But we are facing issues in terms of license , After deploying the automation compatible build we are getting error message "License not present.  With the trial version only limited replays are allowed".
    Previously we are using Flex Builder 4.0 and everything was working fine .
    Is Flex Builder 4.5 doesn't support SDK 3.5 ?
    Please help .
    Thanks in advance
    Thanks and Regards
    Sunil Kumar

    with trial version (FB basic) you can record/replay only 30
    script lines. You need to buy FB pro license to remove this
    restriction

  • Problem with Eclipse and Android SDK

    I installed the packages eclipse-android with all of her dependencies.
    When I opened Eclipse, I don't find the option of Android
    But

    Hi Harry,
    you can check again the port number in your url property by following this instruction:
    For a BW system, start transaction SE37 and execute the function module RSBB_URL_PREFIX_GET.
    Use the following values for the import parameters of the function module:
    I_HANDLERCLASS = CL_RSR_MDX_SOAP_HANDLER
    I_PROTOCOL = HTTP
    I_MESSAGESERVER =
    Note, you should not get the port number from the messageserver.
    use default for DataSource property.
    See if this helps.
    Shan
    Message was edited by: Shan Jiang

  • Problem in building an Eclipse installation with oomph

    Hallo,
    I am setting up an Eclipse distribution with several plugins needed to have a proper IDE for an Eclipse Project (GEF).
    When adding the plugins to Eclipse everything is Ok, until I install the Oomph Version Management Tool plugin.
    After installing the Oomph VMT Plugin, from the next startup I see the below error:
    Plugins contained in the Eclipse distribution.
    As specified in the GEF contributor guide, the GEF-IDE consists of
    Eclipse IDE for committers Mars R as base eclipse ( in my case is win32)
    API Tools Execution Environment Description v 1.0.1 from http://download.eclipse.org/releases/mars update site
    e(fx)clipse IDE - PDE version .2.0.0, from http://download.eclipse.org/efxclipse/updates-released/2.0.0/site/ update site
    m2e - Maven Integration for Eclipse - version 1.6.0, from http://download.eclipse.org/releases/mars update site
    Xtext Complete SDK - version 2.8.3, from http://download.eclipse.org/releases/mars update site
    Oomph Version Management Tool, from Oomph update site
    After installing the Oomph Version Management Tool plug-in, at the next Eclipse Startup I see the following error:
    An internal error occurred during: "Setup check".
    USER_HOME
    I was actually thinking my install was ok, but in bugzilla, I got that I did an "inconsistent installation" - see bug 473599.
    Indeed, I checked in the About eclipse features for the Oomph, and I saw the Version Management Tool version is not matching with Oomph Setup Core , but only for a small "delta"
    I tried to do an Update of the IDE using the Help > Check for updates, but I realized it is not a Complete IDE update , as suggested in the bug 473599.
    So, I have two questions:
    how to perform a Complete IDE Update ?
    how can I make a consistent installation, by assembling the five plugins above, including the Oomph version management ?
    Thank you very much for the time you're spending on my question.
    I hope my question does not seem impolite or excessively complex.
    Regards.

    Hi Patrik,
    The p2f file that you mentioned in https://bugs.eclipse.org/bugs/show_bug.cgi?id=473599 seems totally useless to me. It
    locks in specific versions of the listed IUs, no matter whether the identified repositories will provide those versions
    in the future or not. For example:
    <iu id='org.eclipse.oomph.setup.feature.group' name='Oomph Setup' version='1.2.0.v20150720-0925'>
    <repositories size='2'>
    <repository location='http://download.eclipse.org/oomph/updates'/>
    <repository location='http://download.eclipse.org/oomph/updates/latest'/>
    </repositories>
    </iu>
    A P2Director task in an Oomph setup model for GEF seems like a better alternative.
    More comments below...
    Cheers
    /Eike
    http://www.esc-net.de
    http://thegordian.blogspot.com
    http://twitter.com/eikestepper
    Am 27.07.2015 um 22:44 schrieb Patrik Suzzi:
    > Hallo,
    >
    > I am trying to build a complex eclipse installation needed for development of the Eclipse GEF project.
    >
    >
    >
    > As specified in the GEF contributor guide, the GEF-IDE consists of
    >
    > Eclipse IDE for committers Mars R as base eclipse ( in my case is win32)
    > API Tools Execution Environment Description v 1.0.1 from http://download.eclipse.org/releases/mars update site
    > e(fx)clipse IDE - PDE version .2.0.0, from http://download.eclipse.org/efxclipse/updates-released/2.0.0/site/ update site
    > m2e - Maven Integration for Eclipse - version 1.6.0, from http://download.eclipse.org/releases/mars update site
    > Xtext Complete SDK - version 2.8.3, from http://download.eclipse.org/releases/mars update site
    > Oomph Version Management Tool, from http://download.eclipse.org/oomph/updates
    >
    >
    > During the installation everything is Ok, until I install the last plugin: the Oomph Version Management Tool.
    >
    > After installing the Oomph Version Management Tool plug-in, at the next Eclipse Startup I see the following error:
    >
    > An internal error occurred during: "Setup check".
    > USER_HOME
    >
    >
    >
    > I was actually thinking my install was ok, but in bugzilla, I got that I did an "inconsistent installation" - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=473599.
    >
    > Indeed, I checked in the About eclipse features for the Oomph, and I saw the Version Management Tool version is not matching with Oomph Setup Core .
    >
    >
    >
    > I tried to do an Update of the IDE using the Help > Check for updates, but I realized it is not a Complete IDE update , as suggested in the https://bugs.eclipse.org/bugs/show_bug.cgi?id=473599.
    >
    > So, I have two questions:
    >
    >
    > how to perform a Complete IDE Update ?
    I'm not 100% sure but I think you can't easily get out of this inconsistent state because the plugins that would do that
    for you are also impacted. I would recommend that you create a new installation with Oomph's Eclipse Installer.
    > how can I make a consistent installation, by assembling the five plugins above, including the Oomph version management ?
    I would suggest that you put pressure on the GEF people to provide a GEF project setup model, so that you can just add
    it to your install.

  • Jdk 1.5.0_04 and Eclipse with SuSE Linux - startup problems with Eclipse

    Hi,
    I have SuSE Linux 9.3 and just downloaded Jdk 1.5.0_04 and Eclipse IDE 3.1 for Linux.
    I have sucessfully installed Java in the following directory under Linux:
    '/usr/java/jdk1.5.0_04'
    And I also have downloaded Eclipse IDE 3.1 for Linux. I have unzipped it into the following directory:
    '/home/juergenkemeter/bin/eclipse/eclipse
    I have chosen the upper Java JRE in the Eclipse preferences.
    Now to my problem:
    Sometimes it happens that when I startup Eclipse or try to runa java program, Eclipse is shut down with a) no comment at all, or b) with an error message "JVM terminated. Exit code = 1 (...)". I can send the picture of the whole screenshot of the error message if it helps.
    Now I think that this is due to wrong installation paths of the Jdk and Eclipse?! Perhaps there are some conflicts regarding user rights (admin and the normal user 'juergenkemeter'.
    If anyone has suggestions, that would be helpful. Its nasty when Eclipse shuts down while programming...
    cheers,
    J�rgen

    I only used the getSystemResource because it is slightly more convenient. The
    getResource version requires a "/" in front of the filename, as in:
    java.net.URL imageURL = getClass().getResource("/" + imageName);
    System.out.println("Loading icon: " + imageName);
    for (int i = 0; i < 32000; i++)
    System.out.println(i);
    icon = new ImageIcon(imageURL);
    Unfortunately, this still deadlocks after a few thousand hits.
    Of course, I don't need thousands of icons in my application, but the real-world issue is that the program locks up every few times it is started, which is a real drag for the customers!
    I suppose the InputStream way would work, though it is not very elegant compared to loading the resource in the usual manner. I'll try it if there are no other suggestions.
    Thanks,
    Dan

  • EJBs in Oracle 8.1.5 with SDK 1.2.2

    I am trying to get our Java Application - formerly a 1.1.7 - which accesses EJBs in the database (8i - 8.1.5) running with the new JDeveloper 3.0 with SDK 1.2.2.
    After some Exceptions that remind me of missing classes I get to the point where I do the .lookup() of the bean:
    MyFirstHome home = (MyFirstHome) ic.lookup( beanURL + beanName );
    This results in a NotContextException under 1.2.2.
    Everything works just fine under 1.1.8 with JDev 3.0 and I can lookup the bean and access all the beans methods without any problems.
    Are there still classes missing or do I need to reconfigure the database to work with 1.2.2?
    I'd appreciate any help.
    Thanks,
    Thomas Janausch

    The 8.1.5 EJB client libraries (the aurora ORB client libraries) will not work with a JDK 1.2.x client. No workaround at present. Since the 8i R2 (8.1.6) RDBMS will include JDK 1.2 support, help shouldn't be too far off.

  • Using TLF with SDK 3.5 - 1014 error

    Hi
    I have followed the steps outlined at http://opensource.adobe.com/wiki/display/tlf/Using+TLF+with+Flex+3.2 to import TLF to user with SDK 3.5. I have verified that I have the latest swc. I get no compile erros but at runtime I get
    VerifyError: Error #1014: Class flashx.textLayout.elements::TextFlow could not be found
    Any help would be greatly appreciated.

    I have never use TLF with SDK 3.5.
    After reading what you have said, I guess you are setting SWCs in your project as "runtime shared Library", but there is not a RSL link( or not a correct RSL link) in the configuration file named flex-config.xml in SDK 3.5, to download the SWF or SWZ successfully in the runtime. You may solve the problem by setting libraries as "merge into code"

  • No Flex Charts with SDK 3.5

    Hi guys.  I am experiencing a problem with not being able to use Flex's chart components with sdk 3.5
    I have Flex Builder Professional.
    Charts work with the 3.0 and 3.2 SDK but not 3.5
    Am I missing something?

    I found out that the library is not bundled with the SDK itself and has to be downloaded separate.  I downloaded the library here http://download.macromedia.com/pub/flex/sdk/datavisualization_sdk3.5.zip

  • Does oracle jdbc driver 9.0.1 work with sdk 1.4?

    Hi All Experts...
    Does oracle jdbc driver 9.0.1 work with sdk 1.4.1? Ever since i have moved to 1.4 i am having problems. I keep getting the No Suitable Driver error or NoClassDefFoundError. I have everything in the classpath and i have also tried command line but to no avail. The JVM just refuses to pick up the classes12.zip file from the classpath.
    The oracle site mentions that the 9.0.1 driver is for jdk 1.2 & 1.3 but it does NOT mention that it is NOT for 1.4.1. The site very explicitly mentions that the 9.2 driver is for 1.4.1. SO i am a little confused.This question may be stupid, but nevertheless,If i have to upgrade my driver from 9.0.1 to 9.2 then does that mean that i have to upgrade my DB as well?
    Experts..please help.. THanks

    Thanks a lot, as usual, MOD.
    Now only if i can get my JVM to pick up the classes12.zip file from the classpath. I dont know if you read my previous posting today.

  • How does the ActionScript API, Eclipse IDE, Flex SDK, Cygwin & Flex Builder all communicate??

    Whats up Everyone! As you might've immediately recognized from the title of this thread I'm new to developing apps with Flex.....
    If I've succesfully set up my development environment (Flex SDK, Eclipse IDE, JAVA SDK, Apache Ant, Flash Player, etc.....) & checked out the source code using Subversion, can I start developing my app using the ActionScript 3 API using Eclipse? & how do those different SDK's & programs communicate? How should they be setup?

    If you're willing to buy into the FlexBuilder way of doing things, that's probably the way to go. In this case, you don't really need to worry about anything except FlexBuilder (at least for a while). I don't really have any experience in setting up a project with a server component (I always set 'server type' to 'None' and configure this manually), but other than that, the experience has been (fairly) smooth, and I'm someone who's pretty heavily biased towards the command line. FlexBuilder takes care of most of the Flex compiler options, tracking different SDK versions (I have three different ones installed), offers code completion and navigation tools, etc.
    To get some of the terms straight (I'm not sure how familiar you are with these, since you just threw them out there--pardon me if I'm being patronizing):
    * the ActionScript API: the function and class definitions built into Flash Player (fl.*) and the Flex standard library (mx.*)
    * Eclipse: a Java IDE, the core of FlexBuilder
    * Flex SDK: the Flex standard library, the mxml and compc flex compilers, some ant tasks for build automation, etc.
    * Cygwin: this does not really have anything to do with Flex specifically, as far as I'm aware--it's a *nix emulation layer for Windows
    * FlexBuilder: the Flex IDE from Adobe, built as a plug-in to Eclipse
    FlexBuilder is available in standalone (i.e., pre-bundled with Eclipse) and plug-in versions. Both versions include the SDK. If you're just starting out, I would suggest a FlexBuilder standalone trial, and follows some tutorials out there (or, really, just chose "new Flex project" and explore). In this case, you don't really have to worry about installing or configuring anything else to get started.
    Note also that for the upcoming Flex 4, FlexBuilder has been renamed Flash Builder (but I would stick with Flex 3.4 or 3.2 right now unless you really likethe bleeding edge).

  • Test of design with SDK.

    Hi ,
    I did a design in vivado for a Bandpass Filter in Vivado . Now i want to test it in the ZedBoard with SDK.
    i creat a customer block of this Filter . you can see the code in the attachments :
     the “fir.vhd” file has been integrated into the hierarchy because i have instantiated it from within the peripheral.
    this is the added lines in fir_v1_0_S00_AXI.vhd:
       signal ergebnis : std_logic_vector(18 downto 0);  
        component FIRfilter  
        port (  
          clk: in std_logic;  
          x: in std_logic_VECTOR(15 downto 0);   
          y: out std_logic_VECTOR(18 downto 0));  
        end component; 
    fir_0 : FIRfilter
        port map (  
          clk => S_AXI_ACLK,   
          x => slv_reg0(15 downto 0),  
          y => ergebnis);
        -- User logic ends
    now  i want to test it in sdk and i have always the problem that the c-code  which i read it give me always a false  output.  simple multplikation of the new given Inputvalue  x without shifting the  old value , which will be normally multiplied with the next coefficient by the adding of a the new x value .
    this is the c code :
        #include "platform.h"
        #include "xbasic_types.h"
        #include "xparameters.h"
    Xuint32 *baseaddr_p = (Xuint32 *)XPAR_FIR_0_S00_AXI_BASEADDR;
    double eingang[20] = {1,2,3,2,2,1,4,3,4,8,7,9,10,1,4,5,6,7,8,9};
        int main()
        init_platform();
       int i;
       for(i=0;i<20;i++) {
       // write input in register 0
           *(baseaddr_p+0) = eingang[i];
        xil_printf("Wrote: 0x%08x \n\r", *(baseaddr_p+0));
        // Read  output from register 1
        xil_printf("Read : 0x%08x \n\r", *(baseaddr_p+1));
        xil_printf("End of test\n\n\r");
        return 0;
    the result !!!:
    please i need help.
    thanks
    houssem

    check this document
    http://impulseaccelerated.com/uploads/3/3/7/7/3377898/microblazetutorials.pdf

  • Manage Batches with SDK??

    Hi everybody,
    I would like to manage batches whit SDK (2004), but I couldn't find the object for it, only in Document_lines.Batchnumbers
    I can't select the batches directly.
    I try to update an order line batch location, but nothing happened, is this code right?
        vST.GetByKey(69)
        vST.Lines.SetCurrentLine(0)
        vST.Lines.BatchNumbers.SetCurrentLine(0)
        vST.Lines.BatchNumbers.Location = "XYX"
        vST.Update()
    Thanx in advance.
    With Regards,
    Mato

    Dear Eddy,
    Sorry for my English...
    If you use SBO, than you can access DIRECTLY the batches by this menu function: Inventory/Inventory management/Batches/Batch details
    The BatchNumbers Object have only 2 method: Add() and SetCurrentLine(), how can I select which I want?
    It's allways connect a WorkOrder_Lines, Document_Lines or StockTransfer_Lines Object, but I want to modify its properties directly.
    The problem: I have an item in 1 batch in a warehouse. I put it another location in the same warehouse. If I want to modify its location in SBO, then I can to use the mentioned menu function, but how can I do with SDK?
    Thanx
    Mato

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Help with add file name problem with Photoshop CS4

    Frustrating problem: Help with add file name problem with Photoshop CS4. What happens is this. When I am in PS CS4 or CS3 and run the following script it runs fine. When I am in Bridge and go to tools/photoshop/batch and run the same script it runs until it wants interaction with preference.rulerunits. How do I get it to quit doing this so I can run in batch mode? Any help is appreciated. HLower
    Script follows:
    // this script is another variation of the script addTimeStamp.js that is installed with PS7
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.INCHES;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "Lower© ";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = " ";
    // Set font size in Points
    myTextRef.size = 10;
    //Set font - use GetFontName.jsx to get exact name
    myTextRef.font = "Arial";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 0;
    newColor.rgb.green = 0;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 10, 99);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    you might want to try the scripting forum howard:
    http://www.adobeforums.com/webx?13@@.ef7f2cb

Maybe you are looking for

  • Airport card is no longer detected

    Hi, This is my first time here, but I'm hoping to find some answers. I've owned my computer for a year with no problems (the airport worked perfectly). I recently was installing some system updates (think Itunes, Quicktime, and a Security one) and go

  • Can you attach an external HD to the new iMac with a fusion drive?

    I'm trying to decide how to configure the new iMac I am going to buy. Can you attach an external HD to an iMac with a fusion drive?  I'm assuming it would be fine, but since the fusion drive is new, I don't want a nasty surprise.   Some of the new Ma

  • Trouble with iPod Shuffle 512 Mb

    Tengo un problema con el iPod... cuando lo conecto a la pc (generalmente lo uso en iTunes) el iPod se desconecta y aparece un mensaje de error "error 128, no se encuentra la carpeta requerida" o similar... esto hace que no pueda cargar música en el i

  • MAX ROW LIMIT

    After creating a table and form in default forms menu the data was entered upto 391 rows thereafter am unable to save further. the error coming is ODBC - 2035 and message 131-138 am running on Bussiness One 2007 A (8.00.230) SP: 01 PL: 05

  • How do I get my sound back?

    All of a sudden I don't have any sound with my iPad. I have rebooted.