Simple (but annoying problem

Hi all. I've installed JMF with the windows performance pack onto my windows XP machine, ran the installation verifier, and all seems to be OK.
The registry tool successfully lists all the devices on my system, with all the information associated. However, whenever I try to gather information with an application of mine, it reports that it can't find anything, even if I use the exact name of the device, found from the JMF registry tool

Please ignore top post!:
Hi all. I've installed JMF with the windows performance pack onto my windows XP machine, ran the installation verifier, and all seems to be OK.
The registry tool successfully lists all the devices on my system, with all the information associated. However, whenever I try to gather information with an application of mine, it reports that it can't find anything, even if I use the exact name of the device, found from the JMF registry tool.
Here's the source code from my app:
import javax.media.*;
public class DeviceLister
     public static void main(String[] args)
          CaptureDeviceInfo device = CaptureDeviceManager.getDevice("vfw:Microsoft WDM Image Capture (Win32):0");
                 System.out.println(device.toString());
          System.out.println(device.getLocator());
}All I get from this is a null exception, as CaptureDeviceManager.getDevice("vfw:Microsoft WDM Image Capture (Win32):0"); isn't returning anything.
Any help would be great!

Similar Messages

  • Tiny but annoying problem with desktop backgrounds

    Whenever I use fast user switching to switch from my admin account to the standard user account it briefly shows a picture that was set as the background a long time ago and then shows the currently set background. Its that close up of a bright scarlet rose that comes with the OS. But its been changed several times since then and it doesn't do anything similar when I go from the standard to the admin account. I know its a tiny problem but its starting to really annoy me every time I see that overly bright picture flashed on the screen for a second or two.

    I managed to sort it out by myself.

  • A minor but annoying problem about the downloads tab

    Hi All
    Today I download some podcasts in the library, after downloaded 5 podcasts, I paused the rest closed iTune, and went back home.
    I opened iTune again in my room, and found that the downloads tab did not appear nor resume downloading as before.
    I started a new download, downloads tab came back but the previous paused downloads disappeared.
    And every time the downloads stoped because of timeout (my poor network), the downloads tab also disappeared.
    As I never had this problem before, and today is the first time I download after I update to 7.4.3.1, is this a bug?
    Cheers
    Jason

    What does this have to do with the Matrox device?
    It sounds like ...
    1. a time code break and FCP is creating a second clip to carry on
    or
    2. your capture scratch drive is set as MS-DOS and the captured segments are larger than the default file limit.
    or
    3. something else.
    x

  • Probebly simple but frustrating problem

    Hi, Ok basically im trying to set up a vector of objects and a way to search through them by members surnames (or anthing else).
    However i keep getting this error (prolly something simple)
    Thank you very much
    C:\rental.java:268: cannot find symbol
    symbol : variable members
    location: class Rental
    System.out.println(members.indexOf("x"));
    **Edited Code**
    rt java.util.*;
    import javax.swing.*;
    class Member {
         // attribute definitions
         String firstName;
         String surname;
         String dayNo;
         String homeNo;
         String eMail;
         String address;
         // constructor with parameters
         public Member(String first, String sur, String day, String home, String eMl, String add)
              // invoke accessors to populate attributes
              setFirstName(first);
              setSurname(sur);
              setDayNo(day);
              setHomeNo(home);
              setEmail(eMl);
              setAddress(add);
         public String getFirstName()
         { return firstName; }
         public String getSurname()
         { return surname; }
         public String getDayNo()
         { return dayNo; }
         public String getHomeNo()
         { return homeNo; }
         public String getEmail()
         { return eMail; }
         public String getAddress()
         { return address; }
         public void setFirstName(String newFirst)
         { firstName = newFirst;     }
         public void setSurname (String newSur)
         { surname = newSur;     }
         public void setDayNo(String no)
         { dayNo = no; }
         public void setHomeNo(String hono)
         { homeNo = hono; }
         public void setEmail(String newEmail)
         { eMail = newEmail;     }
         public void setAddress(String newAdd)
         { address = newAdd; }
    class Rental {
         Rental (int size){
              Vector members = new Vector(size)
         void findmember(String sur) {
              System.out.println(members.indexOf("x"));
         }

    When you do this
    Rental (int size){
              Vector members = new Vector(size)
         }you are creating the member variables here, and assigning it to a variable that has a lifetime that starts at the creation point, and stops at the end curly brace.
    That means when you try to access it from another method, it doesn't exist.
    You need to define members, not in the method, but in the class, if you want more than one method to access i.

  • Simple But Annoying

    Hi all,
    I have a very simple requirment yet it is driving me nuts...
    the requirment is to search the it table for a certain wage type (9901)and if found fill its amount with the value of another wage type(9801) hence i wrote the following PCR
    9901 S.I.N Fixed
    amt=  9801
    addwt *
    however the 9901 never comes out from  this PCR even though the input table has 9901 in it..
    Am I missing something here?
    Plz Advice....

    It looks like you are having a splits problem. If your rule is written for a WT and you are trying to read the amount from another wt in IT, please make sure you eliminate the splits that don't match.
    Look at IT table and check ESG for PCR WPBP split, tax split etc... if the two WT's have different values in some of these splits, then of course operation AMT=  XXXX will not find the data in the WT you are reading.
    Also, make sure you leave 2 spaces after = sign.

  • Simple but interesting problem

    hi,
    i am a JSP page used for showing the results of a search request
    as you can see, there is a big problem because the data should have a subject on its left, indicating what data it is.
    http://hk.geocities.com/iamsupersuperman/screen0.JPG
    this is the JSP page( i already created an array of String containing all the names but got no idea how to loop it in the <forEach> tag):
    <%@page contentType="text/html" %>
    <%@page import="java.util.ArrayList" %>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@page isELIgnored="false" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=big5">
    <title>Search Results</title>
    </head>
    <body>
    The results are:
    <%
    String [] columns={"Staff no","Last Name","First Name","Sex","E-mail","ID card number","Birth date","Salary","Password","Address","Phone number","Cell Phone number"};
    %>
    <p>
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <c:forEach items="${requestScope.results}" var="column">
    <tr>
    <td>  <I probably need something here in order to loop the array of String>               </td>
    <td><c:out value="${column}"/></td>
    </tr>
    </c:forEach>
    </table>
    </body>
    </html>thanks a lot!!!!!!

    The forEach tag allows you to define a varStatus attribute, which keeps track of several things for you, one of which being an index as to which entry is being displayed.
    You can use this as an index into the columns array to display the correct column heading.
    I would probably shift the scriptlet code declaring the array into the same place as you create the results, so that you set headings and the data in the same place.
    Another solution would be to use a Map instead of a list, and have the headings as keys, and the column values as values - that way you store both headings and values in one data structure.
    <%
    String [] columns={"Staff no","Last Name","First Name","Sex","E-mail","ID card number","Birth date","Salary","Password","Address","Phone number","Cell Phone number"};
    pageContext.setAttribute("columnHeadings", columns);
    %>
    <c:forEach items="${requestScope.results}" var="column"  varStatus="status">
    <tr>
    <td><c:out value="${columnHeadings[status.index]}"/></td>
    <td><c:out value="${column}"/></td>
    </tr>
    </c:forEach>Cheers,
    evnafets

  • PLEASE HELP..A FEW MINOR (HOPEFULLY SIMPLE) BUT SERIOUS PROBLEMS

    I just started cleaning my comp out after MUCH TIME.....I accidentally delted the iMovie that came with the comp, the iMovie HD 6 i downloaded for it since the new ones layout isnt pro at all, iPhoto, DVD Player and I think thats it. So I need help getting those back When I tried downloading the iMovie HD 6 it says it cant because its already on my comp...I imagine if I knew how to find iPhoto, the original iMovie and DVD player it would be the same way. ACtually did it with DVD Player too. Tried to install a new on but it said it was older than the version on my comp though I deleted the version on my comp by accident. SO I NEED THOSE APPS BACK...how do i do that?
    Seondly I cant open my sustem preferences window to go through any of my system preferences...it just wont appear. Can anyone help me with that??? Thank you.

    Hello,
    The iLife suite of software, iPhoto/iMovie/etc should be in your Applications folder.
    (DVD Player is NOT part of iLife). You are thinking of iDVD to burn DVD's with. iDVD is also part of iLife.
    *"Seondly I cant open my sustem preferences window to go through any of my system preferences.."*
    Click the Apple logo top left in your Desktop, then scroll down and click System Preferences.
    If you can't launch it from there, you should have a System Preferences icon in your Dock. Looks like a light switch with an apple on it.
    If you still can't access the iLife software or your System Preferences window, use your restore disk(s) and try an Archive and Install.
    Carolyn
    Message was edited by: Carolyn Samit

  • Old but annoying problem

    Hi,
    I try to intercept the componentShown and componentHidden events from a JPanel in the following way:
    class MyPanel extends JPanel {
        public MyPanel() {
            // panel code here
            // registering a component listener
            this.addComponentListener(new ComponentAdapter() {
                public void componentShown(ComponentEvent e) {
                    System.out.println("Shown");
                public void componentHidden(ComponentEvent e) {
                    System.out.println("Hidden");
    }Is there a reason why this doesn't work?
    Is there a way to overcome this problem?
    Thanks,
    Shai

    shown or hidden is when the component becomes visible or invisible :
    if you use setVisible(...) on this component.
    Denis

  • How to return Varchar2(1) from function ?? Simple but annoying :(

    Hi,
    I have a function something like...
    CREATE OR REPLACE FUNCTION Test ( id number) RETURN VARCHAR2 ...
    Now I am using this function in a View as ...
    select
    test(123) as Test
    In the View description, this column appears as Varchar 4000. whereas I want it as varchar2(1).
    When i redefine the function return value
    CREATE OR REPLACE FUNCTION Test (id1 number) RETURN VARCHAR2(1) ...
    It gives error...
    Please suggest.
    Thanks in Advance.

    SQL> CREATE OR REPLACE FUNCTION Test ( id number) RETURN VARCHAR2
      2  as
      3  begin
      4    return 'A';
      5  end;
      6  /
    Functie is aangemaakt.
    SQL> create view v_test as select test(123) as test from dual
      2  /
    View is aangemaakt.
    SQL> desc v_test
    Naam                                                                      Null?    Type
    TEST                                                                               VARCHAR2(4000)
    SQL> create or replace view v_test as select cast(test(123) as varchar2(1)) as test from dual
      2  /
    View is aangemaakt.
    SQL> desc v_test
    Naam                                                                      Null?    Type
    TEST                                                                               VARCHAR2(1)Regards,
    Rob.

  • A small, but annoying, problem using Safari/Google

    Sometime after installing Mavericks followed shortly by the demise of iGoogle, I noted that I have not had the use of Search Results Snapback under History when doing web searches.  It is greyed out. I find it much more efficient than always having to start over at the Google homepage.  I don't know if this is the result of the Mavericks install or the change from iGoogle to Google.  Is there a way to get it back?

    This has been discussed in several recent topics. Snow Leopard doesn't include these Energy Saver optimizations because their only unique effect is on the 'dynamic power step' clock throttling of Power PC CPU's, which Snow Leopard doesn't support. For Intel CPU's, the Snow Leopard equivalent is the "Restore Defaults" button, which just is a convenient way to set the sleep times & other visible settings in the preference to the Apple-supplied preset system values for the various power sources. The 'power step' equivalent in Intel CPU's is independent of the power source, so there is nothing special for a user to set to optimize it for one or another of them.

  • Pretty simple but annoying question for newbie

    when opening form is there a way to automatically display the
    record rather than having to hit F8.
    also....
    is there a way to navigate through records using PL/SQL rather
    than using the buttons on the tool bar at the top or form
    runtime.
    thanks in advance

    This is probably in the wrong forum. ;)
    Anyway, here's my suggestions for your two queries:
    Q1) Add a WHEN-NEW-FORM-INSTANCE trigger containing the
    following statement:
    EXECUTE_QUERY ;
    Q2) Use the up and down arrow keys - they navigate between the
    previous and next records respectively.
    HTH

  • Help me to solve the simple but complicated problem ??

    I wanted to use oracle stored function in my programme(inserts/update the data into multiple tables based certain values in related tables). I need to pass many values from java to calling function is there any way to pass my java values into oracle function as an array of values or by any other means and use the same values in my stored function? (Except val1, val2, val3, .. etc to function) .
    Advance thanks to every body trying to reply

    Oracle JDBC driver is JDBC 2.0 compliant. Right ?
    And in JDBC 2.0 there exists the interface java.sql.Array
    Oracle JDBC provides the class oracle.sql.ARRAY Have you thought of using it ? It may be what you are looking for.
    Here is an example that comes with Oracle JDBC driver...
    import java.sql.*;
    import oracle.sql.*;
    import oracle.jdbc.oracore.Util;
    import oracle.jdbc.driver.*;
    import java.math.BigDecimal;
    public class ArrayExample
      public static void main (String args[])
        throws Exception
        // Register the Oracle JDBC driver
        DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
        // Connect to the database
        // You need to put your database name after the @ sign in
        // the connection URL.
        // The sample retrieves an varray of type "NUM_VARRAY",
        // materializes the object as an object of type ARRAY.
        // A new ARRAY is then inserted into the database.
        Connection conn =
          DriverManager.getConnection ("jdbc:oracle:oci8:@",
                                       "scott", "tiger");
        // It's faster when auto commit is off
        conn.setAutoCommit (false);
        // Create a Statement
        Statement stmt = conn.createStatement ();
        try
          stmt.execute ("DROP TABLE varray_table");
          stmt.execute ("DROP TYPE num_varray");    
        catch (SQLException e)
          // the above drop statements will throw exceptions
          // if the types and tables did not exist before. Just ingore it.
        stmt.execute ("CREATE TYPE num_varray AS VARRAY(10) OF NUMBER(12, 2)");
        stmt.execute ("CREATE TABLE varray_table (col1 num_varray)");
        stmt.execute ("INSERT INTO varray_table VALUES (num_varray(100, 200))");
        ResultSet rs = stmt.executeQuery("SELECT * FROM varray_table");
        showResultSet (rs);
        //now insert a new row
        // create a new ARRAY object   
        int elements[] = { 300, 400, 500, 600 };
        ArrayDescriptor desc = ArrayDescriptor.createDescriptor("NUM_VARRAY", conn);
        ARRAY newArray = new ARRAY(desc, conn, elements);
        PreparedStatement ps =
          conn.prepareStatement ("insert into varray_table values (?)");
        ((OraclePreparedStatement)ps).setARRAY (1, newArray);
        ps.execute ();
        rs = stmt.executeQuery("SELECT * FROM varray_table");
        showResultSet (rs);
        // Close all the resources
        rs.close();
        ps.close();
        stmt.close();
        conn.close();
      public static void showResultSet (ResultSet rs)
        throws SQLException
        int line = 0;
        while (rs.next())
          line++;
          System.out.println("Row "+line+" : ");
          ARRAY array = ((OracleResultSet)rs).getARRAY (1);
          System.out.println ("Array is of type "+array.getSQLTypeName());
          System.out.println ("Array element is of type code "+array.getBaseType());
          System.out.println ("Array is of length "+array.length());
          // get Array elements           
          BigDecimal[] values = (BigDecimal[]) array.getArray();
          for (int i=0; i<values.length; i++)
            BigDecimal value = (BigDecimal) values;
    System.out.println(">> index "+i+" = "+value.intValue());

  • LP 8.0.2: Some minor (but annoying) problems from upgrade to 10.6.2

    First issue: After a working session on a song I make the "command-q" to exit and... often Logic doesn't quit. It tells me: "Logic doesn't answer" (I have to make a forced exit).
    Second issue (directly related to Digi002) Loading a song, Outputs 7-8 of ADAT lightpipe path don't work. I have to delete from the environment the "7-8 Stereo Output" track, create an other new one, and then all work...
    Any other encounters these issues?

    I wonder why, changing it on template song, it works also on other songs...
    In fact it doesn't work.
    It seems I found the solution trashing "com.digidesign.CoreAudioManager.plist" preference

  • Small but annoying junk problem

    Hey all,
    When I launch Mail, I always see a number next to my Junk mail folder that is from the previous day. I hope I'm making sense - If yesterday, I got 5 emails that went into the Junk folder, I will launch my mail today and see the same number 5 next to the box, even if there are none (Mail is set to delete Trash and Junk after quitting).
    So, this is a small but annoying problem. I would like Mail to tell me the true number of Junk messages I have.
    Anyone know the answer?
    Thanks!!

    I never got into stickies but many folks use it. I use OmniOutliner Pro for my to-do lists. I like the check box function and how you can nest related tasks. There may be some free stuff out there too but I thought that may help you a bit.
    http://www.omnigroup.com/applications/omnioutliner/

  • Simple, funny but annoying question, putting a pixel

    Maybe this could be simple, funny but annoying question.
    How do you put a pixel or draw a pixel?
    Is there a method to draw a pixel directly on screen in j2SDK API?

    This is a very open ended question, do you want to draw a pixel in an image or just draw a shape on the screen?
    If you want to edit single pixels at a time then the best option is to create a BufferedImage and use the WritableRaster to edit the pixels you want by using setPixel().
    Something like the following:
    BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
    WritableRaster raster = img.getRaseter();
    raster.setPixel(x_coord, y_coord, new int[]{R_val, G_val, B_val});This image can then be displayed by putting it in a JLabel (there are many other techniques but I find this the easiest method).
    JLabel l = new JLabel(new ImageIcon(img));
    JFrame jf = new JFrame();
    jf.setContentPane(l);
    jf.pack();Alternatively, you can draw shapes by using Graphics or Graphics2D objects
    e.g.
    public class MyPanel extends JPanel
      public void paintComponent(Graphics2D g)
         super.paintComponent(g);
         g.drawLine(x1,y1,x2,y2);
    }Hope this helps,
    Stef

Maybe you are looking for

  • RFC destination using TCP/IP

    hi all do anybody have created new connction in TCP/IP using RFC in transaction SM59. or have any document for creating the same. Regards Martin

  • Error 10846 occurs only if DMA mode for transfer ist selected

    Hello, my problem is if I use the DMA mode to for transferring data to the PCs memory always the error 10846 occurs. I perform the buffered semiperiod measurement with a continuous buffer (circular buffer). I tried to use Interrupts. The error does n

  • Only year not full date in ABAP HR

    i need only year to be selected by the user on selection screen. do anyone know any function which only gives year .

  • WHAT DOES erroe -48 MEAN? help PLEASE

    hi there, i have a prob. when i plug in my ipod it all comes up as normal, then says it can't sync due to error -48...... i have it set as manual. cause i connect a few of my friends ipods to the same itunes and we share songs. anyways how do i fix t

  • Settings won't open up after ios7 update

    I recently updated my ipad to ios 7, took me two days to actually log into the ipad and now i can do everything except load up settings, this means i cannot get wifi so my ipad is vertually useless and there is nothing i can do, when i try and open i