Help with this One  Field

Post Author: shefe
CA Forum: Formula
   Hello All,I have this field called Class Period.Day and it
displays Monday thru Saturday but I want it to display Monday , Tuesday
, Wednesday, thursday and Friday on one line. 

Post Author: V361
CA Forum: Formula
Shefe, another option if you do not want to cross tab is to concatenate using a formula
& " " & & " " &  etc  if you want something between the sections (say a comma) then do this & ", " & & ", " & etc

Similar Messages

  • I have problem with my iphone 4s my battery is not keeping charge. how can I get help with this one. it is less than a year that I purchased this cell.

    I have problem with my iphone 4s my battery is not keeping charge. how can I get help with this one? it is less than a year that I purchased this cell.

    I would like to know the answer to that one.  I realized this was happening just after upgradeing my iOS to 6.  Then when I looked up my purchase date, I was about 5 days past my one year warranty.  So I'm dead in the water.  Apple will replace the battery, but it will be about $80+.  I took it to the Apple store, and they checked a bunch of stuff, but said that it seemed ok.  I'm debating getting a battery for a more reasonable price off of ebay.  But if it's the iOS thats draining the battery, then I'm not going to be able to help it.  I wish I knew a better way to tell if its the battery, the phone, or the iOS.

  • Does anybody know how to get help with this one?

    Hello there!  
    I wanted to get an advice on how to get in touch with the appropriate person at BT that could help with my situation.
    I have tried telephone help, complaints by email and unfortunately still waiting for somebody from the customer services to help me out.
    I have recently moved home.  I contacted BT on 26th June to organise the line transfer to the new address. The date was set for 18th July. I also ordered line rental saver and paid for it over the phone. All went smooth, telephone and broadband was working fine at the new place, but on the 23rd July I was sent an email that "BT is sorry that I am leaving". 
    I thought it was a mistake, but the lady in the on-line chat said somebody stopped my service. Later she rang and left a message saying that I must have requested to move to another provider. Did not manage to speak to her again, but phoned the help line this time.
    There a gentleman was trying to convince me that I called BT and cancelled my service on the 18th July and to him I was not a BT customer anymore. The truth is that I did not request to stop my service, anyway - why would I do that after paying for a year in advance. This has no logic, but because computer says so then he thinks I did it.
    He also added that my account is a 'mess'. He then promised that somebody would get in touch to sort it out as my line rental was gone and my phone and internet could go off any minute.
    I did not get any help. After that I wrote to them  3 email complaints to request assistance. They called and aknowledge they will help, but 3 weeks down the line nothing was done to explain the situation. Left the messages to the person from email complaints to ring me or email me -never happened.
    Last week I got 2 emails welcoming me to BT and outlining the call plans that were diferent from each other and the one I agreed to on the 25th June. When I called help line 2 days ago a lady confirmed on which one I am on, but could not sort out the most annoying thing - the 'final' bill. 
    I was sent a bill for over 200 pounds due to premature termination of phone and broadband service , which I never ordered. They already took the money this week. My line saver is gone as well. So I am 360 pounds short. I aslo have no access to myBT to monitor my phone activity or make orders.They also did not send any confrimation of the call plan I am currently on.
    It is a very annoying situation, because somebody at BT made an error and I am unable to get to anybody that could help. Everytime you call the help line you speak to somebody else and despite me thinking the email complaints would be the way forward they are not. Would appreciate some advice on how to tackle these issues: false accusations from them, inappropriate billing, problem with myBT.
    Thanks Lukasz

    Hi lbadek
    I can help with this please send us an email using the contact the mods link in my proifle and we will investigated from there.
    Thanks
    Stuart
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Error 1603: Need some help with this one

    When installing iTunes I first get an error box saying
    "Error 1406: Could not write value to key \Software\classes\.cdda\OpenWithList\iTunes.exe. Verify that you have sufficient access to that key, or contact your support personnel."
    The second one (after I click on Ignore on the last box) I get it this one:
    "Error: -1603 Fatal error during installation.
    Consult Windows Installer Help (Msi.chm) or MSDN for more information"
    Strange thing is that I do have full access to my computer (or atleast in all other cases I have had since I am the only one with an account on it).
    I have done my best in trying to solve it myself but I'm running out of ideas. I have downloaded latest versions from the website and tried installing Quicktime separately. I have also tried removing Quicktime using add/or remove programs though I just I didn't dare to take full removal because it said something about system files.
    Anyway I really need some help with this, anyone got any ideas?
    Greets,
    Sixten
      Windows XP Pro  

    Do you know how to count backwards? Do you know how to construct a loop? Do you know what an autodecrementor is? Do you know how to use String length? Do you know Java arrays start with index 0 and run to length-1? Do you know you use length on arrays too? Do you know what System.out.println does?
    Show us what you have, there isn't anything here that isn't easily done the same as it would be on paper.

  • Not again...help with this one....

    dunno what happened but after updating to voodoo...the printer stoped printing...i try to print a test and all it does its start the printer and then its stops the job..my printer is a brother 2030...what went wrong? in 0.7.2 all worked just fine...help me with this one cause i really need it working...

    Lone_Wolf wrote:
    Try removing and adding your printer again.
    I remember seeing something about a change in cups regarding usb printers a while ago.
    ive donne that..ive even reomved all the files from cups..cause the models installed didnt deleted with pacman -R..so the problm remains..cups log....
    I [01/Jan/2007:14:37:36 -0100] Scheduler shutting down normally.
    I [01/Jan/2007:14:37:36 -0100] Saving remote.cache...
    I [01/Jan/2007:14:37:36 -0100] Saving job cache file "/var/cache/cups/job.cache"...
    I [01/Jan/2007:14:38:52 -0100] Listening to ::1:631 (IPv6)
    I [01/Jan/2007:14:38:52 -0100] Listening to 127.0.0.1:631 (IPv4)
    I [01/Jan/2007:14:38:52 -0100] Loaded configuration file "/etc/cups/cupsd.conf"
    I [01/Jan/2007:14:38:52 -0100] Using default TempDir of /var/spool/cups/tmp...
    I [01/Jan/2007:14:38:52 -0100] Cleaning out old temporary files in "/var/spool/cups/tmp"...
    I [01/Jan/2007:14:38:52 -0100] Configured for up to 100 clients.
    I [01/Jan/2007:14:38:52 -0100] Allowing up to 100 client connections per host.
    I [01/Jan/2007:14:38:52 -0100] Using policy "default" as the default!
    I [01/Jan/2007:14:38:52 -0100] Full reload is required.
    I [01/Jan/2007:14:38:52 -0100] Loaded MIME database from '/etc/cups': 34 types, 39 filters...
    I [01/Jan/2007:14:38:52 -0100] Loading job cache file "/var/cache/cups/job.cache"...
    I [01/Jan/2007:14:38:52 -0100] Full reload complete.
    I [01/Jan/2007:14:38:52 -0100] Listening to ::1:631 on fd 2...
    I [01/Jan/2007:14:38:52 -0100] Listening to 127.0.0.1:631 on fd 3...
    E [01/Jan/2007:14:38:52 -0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    I [01/Jan/2007:14:42:44 -0100] Adding start banner page "none" to job 12.
    I [01/Jan/2007:14:42:44 -0100] Adding end banner page "none" to job 12.
    I [01/Jan/2007:14:42:45 -0100] Job 12 queued on "HL-2060" by "sickhate".
    I [01/Jan/2007:14:42:45 -0100] Started filter /usr/lib/cups/filter/pstops (PID 4790) for job 12.
    I [01/Jan/2007:14:42:45 -0100] Started filter /usr/lib/cups/filter/foomatic-rip (PID 4791) for job 12.
    I [01/Jan/2007:14:42:45 -0100] Started backend /usr/lib/cups/backend/usb (PID 4792) for job 12.
    E [01/Jan/2007:14:42:46 -0100] [Job 12] /undefined in ESPwl
    E [01/Jan/2007:14:42:46 -0100] PID 4791 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3!
    I [01/Jan/2007:14:42:46 -0100] Hint: Try setting the LogLevel to "debug" to find out more.
    I [01/Jan/2007:14:45:10 -0100] Job 12 was canceled by "sickhate".
    I [01/Jan/2007:14:50:23 -0100] Started "/usr/lib/cups/daemon/cups-driverd" (pid=4981)
    I [01/Jan/2007:14:50:23 -0100] Started "/usr/lib/cups/daemon/cups-deviced" (pid=4982)
    E [01/Jan/2007:14:50:24 -0100] [CGI] Unable to send 46 bytes to 10.0.0.255: Operation not permitted
    E [01/Jan/2007:14:50:24 -0100] [CGI] Unable to send 46 bytes to 172.16.45.255: Operation not permitted
    E [01/Jan/2007:14:50:24 -0100] [CGI] Unable to send 46 bytes to 172.16.28.255: Operation not permitted
    I [01/Jan/2007:14:50:29 -0100] Adding start banner page "none" to job 13.
    I [01/Jan/2007:14:50:29 -0100] Adding end banner page "none" to job 13.
    I [01/Jan/2007:14:50:29 -0100] Job 13 queued on "HL-2060" by "root".
    I [01/Jan/2007:14:50:29 -0100] Started filter /usr/lib/cups/filter/pstops (PID 4997) for job 13.
    I [01/Jan/2007:14:50:29 -0100] Started filter /usr/lib/cups/filter/foomatic-rip (PID 4998) for job 13.
    I [01/Jan/2007:14:50:29 -0100] Started backend /usr/lib/cups/backend/usb (PID 4999) for job 13.
    E [01/Jan/2007:14:50:31 -0100] [Job 13] /undefined in ESPwl
    E [01/Jan/2007:14:50:31 -0100] PID 4998 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3!
    I [01/Jan/2007:14:50:31 -0100] Hint: Try setting the LogLevel to "debug" to find out more.
    I [30/Dec/2006:23:41:32 -0100] Scheduler shutting down normally.
    I [30/Dec/2006:23:41:32 -0100] Saving remote.cache...
    I [30/Dec/2006:23:41:32 -0100] Saving job cache file "/var/cache/cups/job.cache"...
    I [30/Dec/2006:23:42:56 -0100] Listening to ::1:631 (IPv6)
    I [30/Dec/2006:23:42:56 -0100] Listening to 127.0.0.1:631 (IPv4)
    I [30/Dec/2006:23:42:56 -0100] Loaded configuration file "/etc/cups/cupsd.conf"
    I [30/Dec/2006:23:42:56 -0100] Using default TempDir of /var/spool/cups/tmp...
    I [30/Dec/2006:23:42:56 -0100] Cleaning out old temporary files in "/var/spool/cups/tmp"...
    I [30/Dec/2006:23:42:56 -0100] Configured for up to 100 clients.
    I [30/Dec/2006:23:42:56 -0100] Allowing up to 100 client connections per host.
    I [30/Dec/2006:23:42:56 -0100] Using policy "default" as the default!
    I [30/Dec/2006:23:42:56 -0100] Full reload is required.
    I [30/Dec/2006:23:42:56 -0100] Loaded MIME database from '/etc/cups': 34 types, 39 filters...
    I [30/Dec/2006:23:42:57 -0100] Loading job cache file "/var/cache/cups/job.cache"...
    I [30/Dec/2006:23:42:57 -0100] Full reload complete.
    I [30/Dec/2006:23:42:57 -0100] Listening to ::1:631 on fd 2...
    I [30/Dec/2006:23:42:57 -0100] Listening to 127.0.0.1:631 on fd 3...
    E [30/Dec/2006:23:42:57 -0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    I [30/Dec/2006:23:47:20 -0100] Scheduler shutting down normally.
    I [30/Dec/2006:23:47:20 -0100] Saving remote.cache...
    I [30/Dec/2006:23:47:20 -0100] Saving job cache file "/var/cache/cups/job.cache"...
    I [30/Dec/2006:23:51:19 -0100] Listening to ::1:631 (IPv6)
    I [30/Dec/2006:23:51:19 -0100] Listening to 127.0.0.1:631 (IPv4)
    I [30/Dec/2006:23:51:19 -0100] Loaded configuration file "/etc/cups/cupsd.conf"
    I [30/Dec/2006:23:51:19 -0100] Using default TempDir of /var/spool/cups/tmp...
    I [30/Dec/2006:23:51:19 -0100] Cleaning out old temporary files in "/var/spool/cups/tmp"...
    I [30/Dec/2006:23:51:19 -0100] Configured for up to 100 clients.
    I [30/Dec/2006:23:51:19 -0100] Allowing up to 100 client connections per host.
    I [30/Dec/2006:23:51:19 -0100] Using policy "default" as the default!
    I [30/Dec/2006:23:51:19 -0100] Full reload is required.
    I [30/Dec/2006:23:51:19 -0100] Loaded MIME database from '/etc/cups': 34 types, 39 filters...
    I [30/Dec/2006:23:51:19 -0100] Loading job cache file "/var/cache/cups/job.cache"...
    I [30/Dec/2006:23:51:19 -0100] Full reload complete.
    I [30/Dec/2006:23:51:19 -0100] Listening to ::1:631 on fd 2...
    I [30/Dec/2006:23:51:19 -0100] Listening to 127.0.0.1:631 on fd 3...
    E [30/Dec/2006:23:51:19 -0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    I [31/Dec/2006:20:33:20 -0100] Scheduler shutting down normally.
    I [31/Dec/2006:20:33:20 -0100] Saving remote.cache...
    I [23/Dec/2006:12:12:21 -0100] Scheduler shutting down normally.
    I [23/Dec/2006:12:12:21 -0100] Saving remote.cache...
    I [23/Dec/2006:12:12:21 -0100] Saving job cache file "/var/cache/cups/job.cache"...
    I [23/Dec/2006:12:13:33 -0100] Listening to ::1:631 (IPv6)
    I [23/Dec/2006:12:13:33 -0100] Listening to 127.0.0.1:631 (IPv4)
    I [23/Dec/2006:12:13:33 -0100] Loaded configuration file "/etc/cups/cupsd.conf"
    I [23/Dec/2006:12:13:33 -0100] Using default TempDir of /var/spool/cups/tmp...
    I [23/Dec/2006:12:13:33 -0100] Cleaning out old temporary files in "/var/spool/cups/tmp"...
    I [23/Dec/2006:12:13:33 -0100] Configured for up to 100 clients.
    I [23/Dec/2006:12:13:33 -0100] Allowing up to 100 client connections per host.
    I [23/Dec/2006:12:13:33 -0100] Using policy "default" as the default!
    I [23/Dec/2006:12:13:33 -0100] Full reload is required.
    I [23/Dec/2006:12:13:33 -0100] Loaded MIME database from '/etc/cups': 34 types, 39 filters...
    I [23/Dec/2006:12:13:33 -0100] Loading job cache file "/var/cache/cups/job.cache"...
    I [23/Dec/2006:12:13:33 -0100] Full reload complete.
    I [23/Dec/2006:12:13:33 -0100] Listening to ::1:631 on fd 2...
    I [23/Dec/2006:12:13:33 -0100] Listening to 127.0.0.1:631 on fd 3...
    E [23/Dec/2006:12:13:33 -0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    I [25/Dec/2006:22:12:48 -0100] Scheduler shutting down normally.
    I [25/Dec/2006:22:12:49 -0100] Saving remote.cache...
    any body? seems from permissions?can any devs update a package solving this problm?

  • Could i get some help with this one

    the aim of this project is to make a n by n maze and traverse this. if, while traversing the maze the system realises that there is a dead end it turns back. My problem is that sometimes it turns back and sometimes it doesnt. Here, below is the method for traversing the maze. Could i get a second pair of eyes to help me out a bit with this code?
         * Prints out the current maze
        public void show()
             for (int i=0;i<array.length;i++)
                for (int j=0; j<array.length;j++)
    System.out.print(array[i][j]) ;
    System.out.println();
    * traverses through the maze
    * @param row: the current row
    * @param column: the current column
    public void traverse(int row, int column)
    if ((row==3)&&(column==column-1))//checks if the array has reached the end
    System.out.println("array is solved");
    }else
    if(array[row-1][column]=='.')//checks if should move up
    array[row][column]='x';//marks path
    array[row-1][column]='x';//marks path
    System.out.println();
    show();
    traverse(row-1,column);
    }else
    if (array[row+1][column]=='.')//checks if should move down
    array[row][column]='x';//marks path
    array[row+1][column]='x';//marks path
    System.out.println();
    show();
    traverse(row+1,column);
    }else
    if(array[row][column+1]=='.')//checks if should move left
    array[row][column]='x'; //marks path
    array[row][column+1]='x';//marks path
    System.out.println();
    show();
    traverse(row,column+1);
    }else
    if ((row!=3)&&(column!=0))
    if(array[row][column-1]=='.')//checks if should move right
    array[row][column]='x'; //marks path
    array[row][column-1]='x';//marks path
    System.out.println();
    show();
    traverse(row,column-1);
    }else/*1*/ if((array[row-1][column]=='#')||((array[row-1][column]=='*'))&&(array[row+1][column]=='#')||(array[row+1][column]=='*')&&(array[row][column+1]=='#')||(array[row][column+1]=='*'))
    //checks if up is clear to move back
    //checks if down is clear so could move back
    //checks if right is clear to move back
    if(row==3&&column-1==0)//checks if at the beginning of the array
    System.out.println("MAze cannot be solved");
    }else
    if (array[row][column-1]=='x')//checks if behind has a x to move
    array[row][column]='*';//prints dead end
    array[row][column-1]='.';
    System.out.println();
    show();
    traverse(row,column-1);
    }else/*2*/ if((array[row+1][column]=='#')||(array[row+1][column]=='*')&&(array[row][column-1]=='#')||(array[row][column-1]=='*')&&(array[row][column+1]=='#')||(array[row][column+1]=='*'))
    //checks if left is clear to move back
    //checks if right is clear to move back
    //checks if up is clear to move back
    if(row-1==3&&column==0)//checks if at the begining of the maze
    System.out.println("MAze cannot be solved");
    }else if (array[row-1][column]=='x')//checks if behind as been marked
    array[row][column]='*';//marks as dead end
    array[row-1][column]='.';
    System.out.println();
    show();
    traverse(row-1,column);
    }else/*3*/ if((array[row+1][column]=='#')||(array[row+1][column]=='*')&&(array[row][column-1]=='#')||(array[row][column-1]=='*')&&(array[row][column+1]=='#')||(array[row][column+1]=='*'))
    //checks if right is clear to move back
    // checks if left is clear to move back
    //checks if up is clear to move back
    if (array[row-1][column]=='x')//checks if behind as been marked as a path
    array[row][column]='*';//marks as dead end
    array[row-1][column]='.';
    System.out.println();
    show();
    traverse(row-1,column);
    } else/*4*/ if((array[row][column-1]=='#')||(array[row][column-1]=='*')&&(array[row+1][column]=='#')||(array[row+1][column]=='*')&&(array[row-1][column]=='#')||(array[row-1][column]=='*'))
    //checks if right is clear to move back
    //checks if down is clear to move back
    //checks if up is clear to move back
    if (array[row][column+1]=='x')//checks if behind has been marked as a path
    array[row][column]='*';//marks as dead end
    array[row][column+1]='.';
    System.out.println();
    show();
    traverse(row,column+1);

    morgalr wrote:
    That is truely one of the better threads that I've seen on the net for maze traversal.Forget "for maze traversal". That was one of the most interesting of all the threads I've seen here in quite a while. My sincerest admiration to those who contributed and eventually worked it out (and it wasn't me that's for sure), and especially to Keith. Impressive!

  • Really need help with this one!!

    hi all im posting here in the hope that some one can show me some light at the end of the tunnel as to my bb problem as its starting to get depressing now!
    long story short ive had bt bb for 4 weeks now and im paying for 8mg as thats the fastest my area can provide but my transfer speed is locked at 2mg maximum. countless phone calls later they said its a throughput issue and they will put a request in to reset my profile and everything will be fine. as i thought it didnt work. lots of phone calls later they said i had to wait 10 days after the request is put in for my speed to increase. waited 12 days and still nothing! more phone calls later they eventually sent an engineer round who said himself he cant see why my downloads are locked at 2 mg when after his own tests he said the line should be giving me at the very least a stable 6.5mg so he proceeded to put a request in of his own to a bt computer thats codenamed "rambo" to increase the speed to my house. he said i should see results after 4 hrs but in some rare cases its taken 72 hrs to kick in. so i ended up waiting 4 days and still **bleep** all. im so so sick of bt and all the **bleep** they are feeding me as they keep telling me every single time they say there gonna fix it that this time it will 100% fix my problem and it never does. really feel im being ripped off cos im paying for the top package in my area and im not getting anything anywhere near what i should be. can anyone please help with my problem it would be very much apreciated.
    thanks for reading all this peeps

    also heres the speed test results
    FAQ
    Test1 comprises of Best Effort Test: -provides background information.
    Download  Speed
    1840 Kbps
    0 Kbps
    2000 Kbps
    Max Achievable Speed
     Download speedachieved during the test was - 1840 Kbps
     For your connection, the acceptable range of speeds is 400-2000 Kbps.
     Additional Information:
     Your DSL Connection Rate :8128 Kbps(DOWN-STREAM), 448 Kbps(UP-STREAM)
     IP Profile for your line is - 2000 Kbps
    If you wish to discuss these results please contact your ISP.
    If you are experiencing problems with specific applications, servers or websites please contact your ISP for assistance.
    whats really getting to me now is bt keep admitting to me my acheivable speed should actually be in the region of 6.5 mg and my profile shouldnt be set to 2000kbps so if they know the problem themselves why cant they fix it

  • Need help with output one field horizontally please

    I know I have seen some ideas and threads about this, but it is not really what I need. I have a report in CR XI that seems to be on the right path. The problem I am having is one field that needs to be in details could provide multiple results (products and services) which duplicates all the records. Some customers I'll have 3 lines, the next 9 ... depending on how many P&S they have.
    What I have done is moved all fields from the details section to group1 which so far seems fine and left my P&S field in details.
    The output is normal:
    prod1
    prod2
    prod3
    prod4
    etc.....
    What I need is this: prod1, prod2, prod3, prod4, etc.
    Any ideas greatly appreciated.
    In the group header add a formula
    WhilePrintingRecords;
    Global StringVar ProductList;
    ProductList := '';
    in the details
    WhilePrintingRecords;
    Global StringVar ProductList;
    If ProductList  = '' then
       ProductList  :=
    else
         ProductList := ProductList & ', ' & ; ''
    In the group footer
    WhilePrintingRecords;
    Global StringVar ProductList;
    ProductList
    Edited by: Terry Mergl on Apr 20, 2010 9:15 PM

    What you have should do it.  Is there an issue?  Please explain in detail, giving sample data, current results, and expected results.
    Carl

  • Another Videora Post- I just need help with this one problem, please!

    I am guessing that the best way to convert your videos to an iPod compatible format is Videora. It works lovely, except for one glitch. I notice that the audio is noticeably off when I play the video. Any solution on how to fix this? I would really appreciate it if anyone helped me out on this
      Windows XP  

    It is on both, I am thinking.. I tried it with a movie avi file, and it always comes out off.

  • JMF Datasource problem..i need help with this one error

    This the error i get when i try to run my program
    Error: Unable to realize com.sun.media.amovie.AMController@18b81e3Basically i have a mediapanel class that initialize and play the media as datasource
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.io.*;
    import java.net.URL;
    import javax.media.*;
    import javax.swing.JPanel;
    import java.nio.ByteBuffer;
    public class MediaPanel extends JPanel
       InputStream stream;
       String name = "";
       ByteBuffer inputBuffer;
       byte[] store = null;
       public MediaPanel( InputStream in )
       try{
          this.stream = in;
          //store stream as ByteBuffer
          store = new byte[stream.available()];
          stream.read(store);
          inputBuffer.allocate(store.length);
          inputBuffer.wrap(store);
          //get contentType
          DrmDecryption drm = new DrmDecryption();
          name = drm.naming;
          setLayout( new BorderLayout() ); // use a BorderLayout
          ByteBufferDataSource ds = new ByteBufferDataSource(inputBuffer,name);
          // Use lightweight components for Swing compatibility
          Manager.setHint( Manager.LIGHTWEIGHT_RENDERER, true );
             // create a player to play the media specified in the URL
             Player mediaPlayer = Manager.createRealizedPlayer(ds);
             // get the components for the video and the playback controls
             Component video = mediaPlayer.getVisualComponent();
             Component controls = mediaPlayer.getControlPanelComponent();
             if ( video != null )
                add( video, BorderLayout.CENTER ); // add video component
             if ( controls != null )
                add( controls, BorderLayout.SOUTH ); // add controls
             mediaPlayer.start(); // start playing the media clip
           }catch(Exception e){}
       } // end MediaPanel constructor
    } // end class MediaPanelThe ByteBufferDataSource class is use to create the datasource for the player
    import javax.media.protocol.ContentDescriptor;
    import javax.media.protocol.PullDataSource;
    import java.nio.ByteBuffer;
    import java.io.IOException;
    import javax.media.MediaLocator;
    import javax.media.Duration;
    import javax.media.Time;
    public class ByteBufferDataSource extends PullDataSource {
    protected ContentDescriptor contentType;
    protected SeekableStream[] sources;
    protected boolean connected;
    protected ByteBuffer anInput;
    protected ByteBufferDataSource(){
    * Construct a ByteBufferDataSource from a ByteBuffer.
    * @param source The ByteBuffer that is used to create the
    * the DataSource.
    public ByteBufferDataSource(ByteBuffer input, String contentType) throws IOException {
    anInput = input;
    this.contentType = new ContentDescriptor(
                   ContentDescriptor.mimeTypeToPackageName(contentTyp  e));
    * Open a connection to the source described by
    * the ByteBuffer/CODE>.
    * The connect method initiates communication with the source.
    * @exception IOException Thrown if there are IO problems
    * when connect is called.
    public void connect() {
    sources = new SeekableStream [1];
    sources[0] = new SeekableStream(anInput);
    * Close the connection to the source described by the locator.
    * The disconnect method frees resources used to maintain a
    * connection to the source.
    * If no resources are in use, disconnect is ignored.
    * If stop hasn't already been called,
    * calling disconnect implies a stop.
    public void disconnect() {
    * Get a string that describes the content-type of the media
    * that the source is providing.
    * It is an error to call getContentType if the source is
    * not connected.
    * @return The name that describes the media content.
    public String getContentType() {
    return contentType.getContentType();
    public Object getControl(String str) {
    return null;
    public Object[] getControls() {
    return new Object[0];
    public javax.media.Time getDuration() {
    return Duration.DURATION_UNKNOWN;
    * Get the collection of streams that this source
    * manages. The collection of streams is entirely
    * content dependent. The MIME type of this
    * DataSource provides the only indication of
    * what streams can be available on this connection.
    * @return The collection of streams for this source.
    public javax.media.protocol.PullSourceStream[] getStreams() {
    return sources;
    * Initiate data-transfer. The start method must be
    * called before data is available.
    *(You must call connect before calling start.)
    * @exception IOException Thrown if there are IO problems with the source
    * when start is called.
    public void start() throws IOException {
    * Stop the data-transfer.
    * If the source has not been connected and started,
    * stop does nothing.
    public void stop() throws IOException {
    }i have a SeekableStream to manipulate the control of the streaming position.
    import java.lang.reflect.Method;
    import java.lang.reflect.Constructor;
    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.nio.BufferUnderflowException;
    import javax.media.protocol.PullSourceStream;
    import javax.media.protocol.Seekable;
    import javax.media.protocol.ContentDescriptor;
    public class SeekableStream implements PullSourceStream, Seekable {
    protected ByteBuffer inputBuffer;
    * a flag to indicate EOF reached
    /** Creates a new instance of SeekableStream */
    public SeekableStream(ByteBuffer byteBuffer) {
    inputBuffer = byteBuffer;
    this.seek((long)(0)); // set the ByteBuffer to to beginning
    * Find out if the end of the stream has been reached.
    * @return Returns true if there is no more data.
    public boolean endOfStream() {
    return (! inputBuffer.hasRemaining());
    * Get the current content type for this stream.
    * @return The current ContentDescriptor for this stream.
    public ContentDescriptor getContentDescriptor() {
    return null;
    * Get the size, in bytes, of the content on this stream.
    * @return The content length in bytes.
    public long getContentLength() {
    return inputBuffer.capacity();
    * Obtain the object that implements the specified
    * Class or Interface
    * The full class or interface name must be used.
    * The control is not supported.
    * null is returned.
    * @return null.
    public Object getControl(String controlType) {
    return null;
    * Obtain the collection of objects that
    * control the object that implements this interface.
    * No controls are supported.
    * A zero length array is returned.
    * @return A zero length array
    public Object[] getControls() {
    Object[] objects = new Object[0];
    return objects;
    * Find out if this media object can position anywhere in the
    * stream. If the stream is not random access, it can only be repositioned
    * to the beginning.
    * @return Returns true if the stream is random access, false if the stream can only
    * be reset to the beginning.
    public boolean isRandomAccess() {
    return true;
    * Block and read data from the stream.
    * Reads up to length bytes from the input stream into
    * an array of bytes.
    * If the first argument is null, up to
    * length bytes are read and discarded.
    * Returns -1 when the end
    * of the media is reached.
    * This method only returns 0 if it was called with
    * a length of 0.
    * @param buffer The buffer to read bytes into.
    * @param offset The offset into the buffer at which to begin writing data.
    * @param length The number of bytes to read.
    * @return The number of bytes read, -1 indicating
    * the end of stream, or 0 indicating read
    * was called with length 0.
    * @throws IOException Thrown if an error occurs while reading.
    public int read(byte[] buffer, int offset, int length) throws IOException {
    // return n (number of bytes read), -1 (eof), 0 (asked for zero bytes)
    if ( length == 0 )
    return 0;
    try {
    inputBuffer.get(buffer,offset,length);
    return length;
    catch ( BufferUnderflowException E ) {
    return -1;
    public void close() {
    * Seek to the specified point in the stream.
    * @param where The position to seek to.
    * @return The new stream position.
    public long seek(long where) {
    try {
    inputBuffer.position((int)(where));
    return where;
    catch (IllegalArgumentException E) {
    return this.tell(); // staying at the current position
    * Obtain the current point in the stream.
    public long tell() {
    return inputBuffer.position();
    * Find out if data is available now.
    * Returns true if a call to read would block
    * for data.
    * @return Returns true if read would block; otherwise
    * returns false.
    public boolean willReadBlock() {
    return (inputBuffer.remaining() == 0);
    }

    can u send me ur DrmDecryption.java file so that i can help

  • Please help with this one

    All the sudden when I click a link(.do), shows file download box instead to open the page? Why?
    Some links throws the below junk characters....instead to open actual page...!!
    ���z��o�G~D���$)��(W���^#�\��,4� ;���v�� S)���;�I�?g��k���X��%��BI�����?�-$�0)�V77�^�����|-�(���

    Looks like binary data to me.
    What should your .do action send as a response?
    What has changed in the system recently? Any filters or anything active mucking with the response?

  • Please I really need help with this one.

    Ok I have this problem where I hook my ipod up and it works fine connects and is recognized. However, when i start trying to move music to it or transfer information using it like a jump drive it suddenly disconnects. At this point it is no longer recognized by my computer unless I restart my computer. In device manager it shows up as an unknown device and when i check the status of it, it says no device drivers installed for this device. What could be the problem here?

    http://docs.info.apple.com/article.html?artnum=93499

  • Hi can anyone help with this! I upgraded my PC and when I plug my iphone in itunes loads up with all my daughters music instead of mine. How do I make it so only my account appears?

    Hi, can anyone help with this one. I recently upgraded my computer and downloaded itunes again. Now when I plug in my iphone my daughters account comes up instead of mine???

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • Help with a date field script

    Sorry if this is a repeat. I was interrupted and found that my browser had crashed when I came back so I'm not sure if the question got asked.
    I need a script for a date field (mm/dd/yyyy) where the user can only fill in a date that is between 12/31/1899 and the current date (whatever the date when the form is opened). I'm getting better at writing these but I haven't been successful with this one. Any help would be greatly appreciated.
    Thanks!

    I have a feeling I already answered this question some time ago... Anyway, you can use this code as the field's custom validation script:
    var minDate = util.scand("mm/dd/yyyy", "12/31/1899");
    var maxDate = new Date();
    event.rc = true;
    if (event.value) {
        var d = util.scand("mm/dd/yyyy", event.value);
        if (d<minDate || d>maxDate) {
            app.alert("Error! The entered date must be between " + util.printd("mm/dd/yyyy", minDate) + " and " + util.printd("mm/dd/yyyy", maxDate));
            event.rc = false;

  • Pls Help with this

    Hi,
    I need a help to resolve my problem.Actually i have a JSP page with a list box. When i select some value in the list box, appropriate values must list out according to the selected value.And i have a submit button to process that jsp page.
    I wrote a validation as all the fields must be entered to submit a page.
    But when i tried with the following code,it's just moving to processing page when i select a values from the list box.This is happening when i cheked the validation.
    Pls help with this code.This is very urgent.
    Code is as follows
    "Example1.jsp"
    <%
    String str1 = request.getParameter("Modem");
    %>
    <html>
    <head>
    <script language = "JavaScript">
    function Validate()
    if(document.UpdateFiosAccounts.Modem.value == "Select One")
    alert("Please select the value")
    document.UpdateFiosAccounts.Modem.focus()
    return false
    if(document.UpdateFiosAccounts.text1.value == "")
    alert("Please type some text")
    document.UpdateFiosAccounts.text1.focus()
    return false
    return true
    </script>
    </head>
    <body>
    <form name = "UpdateFiosAccounts" action="./Example1.jsp" method ="post" onSubmit= "return Validate()">
    Pls select One:<select name="Modem" size="1" onChange="document.UpdateFiosAccounts.submit()">
    <%
    if(str1 == null)
    %>
         <option value="Select One">Select One</option>
         <option value="One">One</option>
         <option value="Two">Two</option>
         <option value="Three">Three</option>
         <option value="Four">Four</option>
    <%
    else
    %>
         <option value="<%=str1%>"><%=str1%></option>
    <%
    %>
    </select><br>
    Pls type something: <input type ="text" name="text1">
    <input type ="submit" value="submit" onClick="document.UpdateFiosAccounts.action='./Accounts.jsp'">
    </form>
    </body>
    </html>

    Hi! The reason is that in the onChange property you are doing the submit, so, when you select something, it goes automatically and never pases through your validation function. So, remove that onChange. Next, the button is a submit buton, so, no matter what your validation does, the page will go. You need to change the submit type of the button to just button (<input type="button" onclick="function to validate">) and then you will get what you want. By the way, this is NOT a Java question, is more JavaScript question.
    Hope this helps.

Maybe you are looking for