Need help with simple volume issue

I recently bought an Ipod Touch 3G 64Gig model, I was impressed with the mp3 player and loved it.
I have a small issue with it though, I am unable to find any app or help in fixing the volume issue I face. Basically I suffer from hearing impairment in which I can hear 40% in left ear, and 75% in my right ear, this usually leads to me hearing significant portion of audio on my right ear. I was able to fix this by changing sound balance in my previous mp3 player, I was surprised the new Ipod touch never had it when it is the norm for all mp3 players to have a decent audio balance settings
Are there any solutions at all or am I stuck with not being able to change a basic setting?
Any help would be appreciated

Wracken:
You will not be able to change the Balance Control (L/R Audio) from your iPod Touch. You will not be able to adjust your Audio files from the iTunes interface either. I am not sure if there are any apps that are available out there to address this issue.
There is one thing that comes to mind that will solve this for you is the [*_Sennheiser HZR-62 Stero Volume Control Device_*|http://www.amazon.com/Sennheiser-HZR-62-Stereo-Volume-Control/dp/B000H 0K8VY]. This device controls audio on individual audio channels (Left/Right). Cost a little over $25.00 from Amazon. You might want to give it a try.
Axel F.

Similar Messages

  • Need help with simple "OnClick" issue

    I have a page that has 4 Spry tabbed panels...within each panel are sets of sliding panels.  All works perfectly.
    However, if I navigate to tab 1, sliding panel 3, then click on tab 2, and then back to tab 1, the sliding panel in tab 1 has remained at sliding panel 3 ... but I always want the sliding panel to start at panel 1 when you click on a tab.
    My solution was to add an OnClick event where tab 1 is defined to return the sliding panel to the first position:
    <li class="TabbedPanelsTab" tabindex="0" onclick="sp1.showPanel(0); return false;">
    But this doesn't work...
    How can I add an onclick event when a tab is clicked?

    Here is the URL of the page...
    http://www.parishpublishing.org/index_test.html

  • HT4528 Hi  I need help with the volume on my phone  even on speaker i can barely hear who I am speaking with

    Hi I need help with the volume on my phone, even on speaker I can barely hear who I am speaking with . How do I make it louder /

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/ts1630
    -Griff W.

  • Need Help With Simple ABAP Code

    Hello,
    I'm loading data from a DSO (ZDTBMAJ) to an Infocube (ZCBRAD06). I need help with ABAP code to some of the logic in Start Routine. DSO has 2 fields: ZOCTDLINX & ZOCBRDMAJ.
    1. Need to populate ZOCPRODCD & ZOCREFNUM fields in Infocube:
        Logic:-
        Lookup /BI0/PMATERIAL, if /BIC/ZOCBRDMAJ = /BIC/OIZOCBRDMAJ
        then /BIC/ZOCPRODCD = ZOCPRODCD in Infocube
               /BIC/ZOCREFNUM = ZOCREFNUM in Infocube         
    2. Need to populate 0G_CWWTER field in Infocube:
        Logic:
        Lookup /BIC/PZOCTDLINX, if /BIC/ZOCTDLINX = BIC/OIZOCTDLINX
        then G_CWWTER = 0G_CWWTER in Infocube.
    I would need to read single row at a time.
    Thanks!

    I resolved it.

  • Need help with expression builder issue

    Hi all
    I'm hoping someone can help with an issue I'm having. I'm creating a database for a manufacturing joinery. For 1 of my forms, Ive to create a despatch form which includes order details along with customer details. Some customers can have contracts in which
    they get a fixed price on certain item. This is where the problem lies.
    For my customers table, I have a field called "On contract" which is a Yes/No field. I've created a query to attempt to make this form. I'm having trouble with adding a total column at the end of this query. Quantity,Unit Price, Contract Price
    are also in the query. I've been trying to build an expression to say like;
    iif [on contract] = "Yes", [Quantity] * [Contract Price]
    iif [on contract] = "no", [Quantity] * [Unit Price]
    It obviously wont work, what am I doing wrong?
    Thanks in advance

    Hi,
    Assuming you are using the database is SQL Server:
    SELECT [CustomerID]
    ,[Quantity]
    ,[Unit Price]
    ,[Contract Price]
    ,[Total] = CASE WHEN [On Contract] = 'Yes' THEN [Quantity] * [Contract Price]
    WHEN [On Contract] = 'No' THEN [Quantity] * [Unit Price] END
    FROM [Customers]
    Modify the SQL to suit your need.
    Hope this helps.
    ~J.

  • Need help with simple XML validation

    I am new to Spry and need some help creating a simple
    validation. There is a form field which must not contain a value
    already in the database. I have a script which accepts a parameter
    and returns a boolean result. Here is the XML:
    <samples>
    <sample>
    <ISFOUND>0</ISFOUND>
    </sample>
    </samples>
    1. How do I call this script when the form field changes and
    pass the form value as the parameter?
    2. How do I check the returned value in the XML and throw an
    error if true?
    I appreciate any help with this. Please let me know if there
    is a better way to achieve the same result.
    Thanks,
    Rich

    I enabled the call to the XML response. However, I am having
    trouble identifying when the call is complete so I can parse the
    result. How do I run my check after the data load and display the
    proper message?

  • Beginner needs help with simple code.

    I just statrted learnind java, and I need some help with this simple program. For some reason everytime I enter my Farenheit value, the Celsius conversion returns as 0.0. Would really appreciate the help. Thanks.
    Here's the code:
    public class TempConverter
    public static void main(String[] args)
    double F = Double.parseDouble(args[0]);
    System.out.println("Temperature in Farenheit is: " + F);
    double C = 5 / 9;
    C *= (F - 32);
    System.out.println("Temperature in Celsius is: " + C);
    }

    double C = 5 / 9This considers "5" and "9" to be integers and does an integer division, discarding the remainder. The result of that division is 0. Trydouble C = 5.0/9.0;

  • Need Help with simple array program!

    Hi, I have just recently started how to use arrays[] in Java and I'm a bit confused and need help designing a program.
    What this program does, it reads in a range of letters specified by the user. The user then enters the letters (a, b or c) and stores these characters into an array, which the array's length is equal to the input range the user would enter at the start of the program. The program is then meant to find how many times (a,b and c) appears in the array and the Index it first appears at, then prints these results.
    Here is my Code for the program, hopefully this would make sense of what my program is suppose to do.
    import B102.*;
    class Letters
         static int GetSize()
              int size = 0;
              boolean err = true;
              while(err == true)
                   Screen.out.println("How Many Letters would you like to read in?");
                   size = Keybd.in.readInt();
                   err = Keybd.in.fail();
                   Keybd.in.clearError();
                   if(size <= 0)
                        err = true;
                        Screen.out.println("Invalid Input");
              return(size);
         static char[] ReadInput(int size)
              char input;
              char[] letter = new char[size];
              for(int start = 1; start <= size; start++)
                   System.out.println("Please enter a letter (a, b or c) ("+size+" max), enter # to stop:");
                   input = Keybd.in.readChar();
                   while((input != 'a') && (input != 'b') && (input != 'c') && (input != '#'))
                        Screen.out.println("Invalid Input");
                        System.out.println("Please enter a letter (a, b or c) ("+size+" max, enter # to stop:");
                        input = Keybd.in.readChar();
                                    while(input == '#')
                                                 start == size;
                                                 break;
                   for(int i = 0; i < letter.length; i++)
                        letter[i] = input;
              return(letter);
         static int CountA(char[] letter)
              int acount = 0;
              for(int i = 0; i < letter.length; i++)
                   if(letter[i] == 'a')
                        acount++;
              return(acount);
         static int CountB(char[] letter)
              int bcount = 0;
              for(int i = 0; i < letter.length; i++)
                   if(letter[i] == 'b')
                        bcount++;
              return(bcount);
         static int CountC(char[] letter)
              int ccount = 0;
              for(int i = 0; i < letter.length; i++)
                   if(letter[i] == 'c')
                        ccount++;
              return(ccount);
         static int SearchA(char[] letter)
              int ia;
              for(ia = 0; ia < letter.length; ia++)
                   if(letter[ia] == 'a')
                        return(ia);
              return(ia);
         static int SearchB(char[] letter)
              int ib;
              for(ib = 0; ib < letter.length; ib++)
                   if(letter[ib] == 'b')
                        return(ib);
              return(ib);
         static int SearchC(char[] letter)
              int ic;
              for(ic = 0; ic < letter.length; ic++)
                   if(letter[ic] == 'c')
                        return(ic);
              return(ic);
         static void PrintResult(char[] letter, int acount, int bcount, int ccount, int ia, int ib, int ic)
              if(ia <= 1)
                   System.out.println("There are "+acount+" a's found, first appearing at index "+ia);
              else
                   System.out.println("There are no a's found");
              if(ib <= 1)
                   System.out.println("There are "+bcount+" b's found, first appearing at index "+ib);
              else
                   System.out.println("There are no b's found");
              if(ic <= 1)
                   System.out.println("There are "+ccount+" c's found, first appearing at index "+ic);
              else
                   System.out.println("There are no c's found");
              return;
         public static void main(String args[])
              int size;
              char[] letter;
              int acount;
              int bcount;
              int ccount;
              int ia;
              int ib;
              int ic;
              size = GetSize();
              letter = ReadInput(size);
              acount = CountA(letter);
              bcount = CountB(letter);
              ccount = CountC(letter);
              ia = SearchA(letter);
              ib = SearchB(letter);
              ic = SearchC(letter);
              PrintResult(letter, acount, bcount, ccount, ia, ib, ic);
              return;
    }     Some errors i get with my program are:
    When reading in the letters to store into the array, I get the last letter I entered placed into the entire array. Also I believe my code to find the Index is incorrect.
    Example Testing: How many letters would you like to read? 3
    Enter letter (a, b or c) (# to quit): a
    Enter letter (a, b or c) (# to quit): b
    Enter letter (a, b or c) (# to quit): c
    It prints "There are no a's'" (there should be 1 a at index 0)
    "There are no b's" (there should be 1 b at index 1)
    and "There are 3 c's, first appearing at index 0" ( there should be 1 c at index 2)
    The last thing is that my code for when the user enters "#" that the input of letters would stop and the program would then continue over to the counting and searching part for the letters, my I believe is correct but I get the same problem as stated above where the program takes the character "#" and stores it into the entire array.
    Example Testing:How many letters would you like to read? 3
    Enter letter (a, b or c) (# to quit): a
    Enter letter (a, b or c) (# to quit): #
    It prints "There are no a's'" (should have been 1 a at index 0)
    "There are no b's"
    and "There are no c's"
    Can someone please help me??? or does anyone have a program simular to this they have done and would'nt mind showing me how it works?
    Thanks
    lou87.

    Without thinking too much...something like this
    for(int start = 0; start < size; start++) {
                System.out.println("Please enter a letter (a, b or c) ("+size+" max), enter # to stop:");
                input = Keybd.in.readChar();
                while((input != 'a') && (input != 'b') && (input != 'c') && (input != '#')) {
                    Screen.out.println("Invalid Input");
                    System.out.println("Please enter a letter (a, b or c) ("+size+" max, enter # to stop:");
                    input = Keybd.in.readChar();
                if(input == '#') {
                        break;
                letter[start] = input;
            }you dont even need to do start = size; coz with the break you go out of the for loop.

  • I need help with simple problems. im a student.

    i'd like to be advanced with my studies so i will post questions.. i need help on how to answer. thank you.
    1. create a java program that will evaluate if the value entered is a positive, negative, vowel, consonant and special characters.
    im actually done with the positive and negative using if else statements.. i used an integer data type. now my question is how do conjoin the characters when i need to evaluate a vowel and a consonant. i cant use char either. please help. i dont know what to do yet.
    2. create java program that will translate the input from numbers to words. e.g. input:123 output: one hundred twenty-three.
    i have an idea to use a switch case statement. but i have no idea on how will i be able to do it. so if you guys can help me.. well then thankies..

    Welcome to the Sun forums. First, please note that you have posted in the wrong forum. This forum is for topics related to Sun's JavaHelp product. You should post your questions in the New to Java forum.
    As part of your learning, you will have to develop the ability to select an approach to a problem, create a design that reflects that approach, and then implement the design with code that you create.
    So, it's inappropriate for us to take the problem statement that you have been given and short-circuit your learning process by giving you the implemented problem solution. We can comment on the individual questions that you may have, and point out problems and errors that we see in the code that you develop.
    As a hint, when you are stuck, forget about Java and programming. Just start with a sheet of paper and a pencil, and figure out how to layout the task on paper. The consider how to translate that to programming.
    If you have problems, post short example code that shows the problem, and explain your question clearly. We can't read minds.
    Make sure you post code correctly so that it's not mangled by the forum software, and so that formatting is maintained. Select your typed or pasted code block and press the CODE button above the typing area.

  • Need help with Itunes Authorization issue

    I've been a Itunes/Ipod user for a couple years. During that time, I've sure spent over $500.00 on Itunes music from the Itunes store for my Ipod. My daugter and I both have Ipods.. There have only been 2 machines with Itunes installed here but I occasionally rebuild my computers to have the latest and greatest hardware for my business.. The other day I backed up all my music and data before rebuilding my machine due to hardware upgrades. Everything went smoothly including importing my purchased music back into Itunes.. The problem is I can't listen to it now. When I try to double click a song I get an error that says "You have already authorized 5 computers with this account. To authorize this computer you must first deauthorize one of the other computers" This isn't possible because the computers aren't around anymore to deauthorize. They were all housed (except 1, my daughters pc) in the same case as I have now.. Please respond...

    The other day I backed up all my music and data before rebuilding my machine due to hardware upgrades.
    okay. you may have ended up with multiple authorisations on that PC due to the system changes. if so the following documents should be of some help with techniques for freeing up authorisations:
    One computer using multiple iTunes Music Store authorizations
    About iTunes Store authorization and deauthorization

  • Just Switched To  Mac's and Need Help With A Few Issues!

    Hi All,
    I finally did it and switched to a Mac!! Never thought it would happen as I always felt guilty about the cost but after 5 laptops crashing on me - well, I just could not take it anymore! I managed to get a fairly good deal on a 15" Macbook Pro - 2.2/120GB version. I still don't know much about the mac way but am trying to learn so any help would be appreciated!
    1). Is there any kind of video tutorial (preferably free!) that I can use that will help me learn the Ma OS X? I have Tiger 10.4.11 on my MBP (Did you hear that - MY MBP!!!)
    2). AOL Assured me that they fully support Mac before I purchased (only 5 times!) but after I had bought it - they then told me that they do not! I got the AOL disk for Mac but it kind of ***** - features are missing etc. Does anyone in the UK run their Mac's with AOL and does it run as per normal? Any advice with AOL & Mac?
    3). AOL also told me - hey, no probs - of course you can transfer all your old emails, favourites folders, personal filing cabinet from a PC to a Mac - but then, after I bought it - the so called dedicated Mac Experts at AOL tell me that simply is not possible - What advice can anyone give me who has switched from PC to Mac with AOL and who needed to transfer all their stuff over? AOL tells you totally different things depending on who you talk to and even from what their web page state! I am really fed up with them!
    4). If I am ever successful in getting all my many years worth of data from AOL on a PC to a Mac, I am really intent of changing ISP's - what are the best ones for Mac that offer good Mac support, good deals and no charges for telephone support?
    5). I was initially happy with Tiger as again, AOL assured me they supported it but not Leopard (even their website says so) and as I stupidly thought that it must be true (we are talking AOL here!). Now I know that they don't support anything Mac, I am contemplating moving to Leopard - I am a little cautious as I heard there were/are many bugs and unhappy leopard experiences - have the majority of these been solved yet and is it advisable to change to Leopard or should I wait until an updated version comes out?
    6). My MBP was originally bought in the US but is registered to my name in the UK. it has 6 months Apple warranty left and I wish to buy Applecare. Apple says it 'recommends' buying Applecare in the country at which the item is registered (not bought, as I understand it). Does that mean, if I buy Applecare in the USA, Apple UK will still accept it and service my MBP as they would do any other or will I have to have the hassle of sending the thing to the USA if it needs attention? Applecare USA T&C's state only for the 50 States & Canada and Applecare UK state only for the UK & EU. Both however state international servicing?! I am a bit confused on this one. I travel a lot and need to know, that any Applecare I buy will not then be limited to just the places they state in the T&C's. As It reads to me, Applecare purchased in the USA/Canada will not cover the UK/Europe/ROTW and vice versa. Is this true or am I missing something or just plain thick?
    5). I really wish to upgrade the 120GB HDD. My understanding is that it must be done by either Apple (who charge really silly money) or if correct, at an "Authorized Apple Service Provider" who of course will be much cheaper. If true, does this mean at ANY authorized apple service provider on the planet or just ones in which the item is registered? If I do the upgrade with a service provider, will Apple then also service the new HDD if something goes wrong as per normal anywhere in the world or will they then say, sorry, will not service the new HDD and you have to go back to the place where you had it installed, even though it was one of their authorized service centers? (that would really suck)!
    6). The spelling and dictionary (and a few other things) are set to US English - how can I set to UK English? I have tried but to no avail so far.
    7) What and how should I set the Firewall settings so I will not get attacks by any form of malware? (I do not know much about this area and what the implications mean)!
    Well, that's it so far - please bear my ignorance, I am so new to Mac's and hope this to be one of the smarter decisions I have made in life! Already I have strange sensation that I never had with all those years of Microsoft & PC's - I kinda feel reassured, safe, that if I have problems, they will get sorted, My life will now be easier and not having to worry so much about crashes, viruses, trojans etc, gives me a sense of liberation and contentment almost - very strange feeling but a **** good one! (if only the women in my life were like that)!
    Thank You All From A PC to Mac Switcher (and NO! I do not feel guilty or scared anymore)!
    SuaveBhav!

    I can help you with your questions about AppleCare, and can also reassure you that both the macbook pro and Leopard will be worth your investment and the time you are putting into figuring out how to get your data across. I switched from windows when I bought my macbook a year and a half ago and would not use any other system now. The other day I completed the transition by erasing parallels and Windows from my system entirely.
    As for AppleCare, you can get warranty care anywhere in the world, no matter where you buy your AppleCare. Mine was bought and is registered in the US, I live in Slovakia, and have had it serviced several times in Austria and Slovakia under the warranty without any problems at all. There are differences, however, in exactly what the warranty covers from place to place, in accordance with the law in each place that AppleCare is issued. Even though I live in the EU, my agreement with Apple is an American one, and the American guarantees hold. If EU law would demand that Apple fix more things, for instance, than American law does, I could not get those things repaired under my agreement, and vice versa.
    Basically, though, I understand my agreement with AppleCare to be that they will fix all problems/damage that are not my fault free of charge for two years after my initial one-year warranty runs out, and that is good enough for me.

  • Need help with an innerjoin issue

    Hello;
    I am writting a small app for my web site and have run into
    an issue with an innerjoin. Let me explain what the function is for
    this so maybe you can understand what I am doing.
    There are 2 pages to this. Page 1, is a category selection
    page. It loads all the categories on the page with a link that
    passes a category ID to page 2. Page 2, then allows you to view all
    the projects that are associated to the specific category. There is
    a numbered navigation on this page, kind of like google, 1 2 3 4
    More> Next>
    Now what I am trying to do it create a select function that
    allows you to choose another category to look through on page 2 so
    you don't have to go back to page 1 and select another category
    there.
    Right now, I have the innerjoin working well with page 1
    going to page 2 and the numbered nav, it is doing what it is
    supposed to. BUT the select function is working off the where
    clause and not working independantly from what the numbered nav and
    body is supposed to be doing. There is also a spot I added to this
    page that kind of works like the select function, it puts the name
    of the category your viewing on the page.
    What is happening with the select function and this name
    function is lets say there are 5 project records tied to the
    category you selected, then the select function gets 5 names of the
    same category in it and so does the category name function.
    (Follow this?)
    Let me post the code for page 1 and page 2. also will add
    what the tables are in the db.
    DB tables:
    Table1: Categories
    Name (this is the actual category name), MYFile(the file that
    give an image of the category), Description(a description of this
    category), CategoryID (this is added to the projects table for each
    project that is connected to each category)
    Table 2: Projects
    ProjectID (this is the ID of the projects), Name (this is the
    name of the project) Body (thi sis the description and picture of
    the project), CategoryID (this is the id of what category the
    project falls under, also assigned to tproject from the categories
    table)
    There is a lot of code that goes in this, so I am going to
    post the code that is pertinent to this question, 90% of it is
    working at this time, just not the select function and category
    name on page 2.
    Page1 Code:
    <CFQUERY name="GetRecord"
    datasource="#APPLICATION.dataSource#">
    select Name, MYFile, Description, CategoryID
    FROM Categories
    </CFQUERY>
    <head>
    </head>
    <body>
    <cfloop query="GetRecord" startRow="#URL.startRow#"
    endRow="#endRow#"><cfoutput>
    <img src="../img/cat/#MYFile#" width="50" height="50">
    <a
    href="portfolio-detail.cfm?CategoryID=#CategoryID#">#Name#</a>
    #Description#
    </cfoutput></cfloop>
    <!--- there is a numbered nav on this page, it works nice
    so I didn't add the code, that is why I am using a cfloop --->
    Page2 code:
    <CFQUERY name="getProjects"
    datasource="#APPLICATION.dataSource#">
    SELECT Projects.ProjectID, Projects.Name, Projects.Body,
    Projects.CategoryID,
    Categories.CategoryID AS catID, Categories.Name AS cat_name
    FROM Projects
    INNER JOIN Categories
    ON Categories.CategoryID = Projects.CategoryID
    WHERE Projects.CategoryID = #categoryID#
    ORDER BY ProjectID
    </CFQUERY>
    <cfif getProjects.recordCount is 0>
    No projects in this category.
    <cfabort>
    </cfif>
    <head>
    <!--- this script is for the select function so when you
    make a selection, it goes to the next category without having to
    hit a submit button --->
    <script language="Javascript">
    function changeRecord(){
    document.category.submit();
    </script>
    </head>
    <body>
    <!--- here are the Category name and select functions that
    aren't working properly yet --->
    <cfoutput
    query="getProjects">#cat_name#</cfoutput>
    <form Name="category" method="post"
    Action="portfolio-detail.cfm?CategoryID=true">
    <select name="CategoryID" size="1"
    onChange="category.submit();">
    <option value=""> --Select a Category--
    </option>
    <CFOUTPUT query= "getProjects">
    <option value="#CategoryID#">#cat_name#</option>
    </CFOUTPUT>
    </select>
    </form>
    <!--- this part is working properly, it also has a
    numbered nav, like google that is working properly at this point
    --->
    <cfoutput query="GetProjects" startRow="#startRow#"
    maxRows="#maxRows#">
    #Name#
    #Body#
    </cfoutput>
    <!--- next is the cfmodule for the nav, the nav is a lot
    of code, a whole page on it's own so I am not posting it --->
    <cfmodule
    template="../CFdocs/PageNav.cfm"
    totalItems="#numRows#"
    numPerPage="#maxRows#"
    startRow="#startRow#"
    url="#cgi.script_name#?categoryID=#categoryID#&startRow=#startRow#">
    The main part that is not working properly is the select, and
    category name. How to I get those to work independantly from my
    where clause? (I need the where clause for the numbered nav and
    cycling through the projects tied to the category you called up
    from page 1.
    Can someone help me tweek my code from this point? I am
    stumped, I looked at the cf docs and I can't find a solution. I am
    using CF 8.
    Any help would be appreciated. Thank you!
    CFmonger

    I fixed a lot of this since I posted it this morning. Now all
    that isn't working properly is the select, it isn't passing the
    proper variable to make the query work.
    This is what I have now:
    Page 2:
    <CFQUERY name="getProjects"
    datasource="#APPLICATION.dataSource#">
    SELECT Projects.ProjectID, Projects.Name, Projects.Body,
    Projects.CategoryID,
    Categories.CategoryID AS catID, Categories.Name AS cat_name
    FROM Projects
    INNER JOIN Categories
    ON Categories.CategoryID = Projects.CategoryID
    WHERE Projects.CategoryID = #categoryID#
    ORDER BY ProjectID
    </CFQUERY>
    <!--- I will add the <cfqueryparam> in a bit --->
    <cfif getProjects.recordCount is 0>
    No projects in this category.
    <cfabort>
    </cfif>
    <!--- This query populates the select nav --->
    <CFQUERY name="cata"
    datasource="#APPLICATION.dataSource#">
    select Name, MYFile, Description, CategoryID
    FROM Categories
    </CFQUERY>
    <head>
    <script language="Javascript">
    function changeRecord(){
    document.category.submit();
    </script>
    </head>
    <body>
    <!--- this output works well now, gives me what I need and
    changes when you select a category from page 1 --->
    <cfoutput query="getProjects"
    maxrows="1">#cat_name#</cfoutput>
    <!-- the select isn't passing the CategoryID properly, it
    is now throwing an error --->
    <form Name="category" method="post"
    Action="portfolio-detail.cfm?CategoryID=#CategoryID#">
    <select name="CategoryID" size="1"
    onChange="category.submit();">
    <option value=""> --Select a Category--
    </option>
    <CFOUTPUT query= "cata">
    <option value="#CategoryID#">#Name#</option>
    </CFOUTPUT>
    </select>
    </form>
    <!-- the rest of the code goes after this, it ias all
    working --->
    The error I get when using the select is this:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error
    (missing operator) in query expression 'Projects.CategoryID ='.
    The error occurred in C:\Websites\folio\portfolio-detail.cfm:
    line 12
    10 : INNER JOIN Categories
    11 : ON Categories.CategoryID = Projects.CategoryID
    12 : WHERE Projects.CategoryID = #categoryID#
    13 : ORDER BY ProjectID
    14 : </CFQUERY>
    I also tried doing it this way:
    <form Name="category" method="post"
    Action="portfolio-detail.cfm?CategoryID=true"
    This way didn't work at all, it only made the numbered nav on
    the page cycle through all the projects in all the categories.
    What do I need to change to pass the proper variable from the
    select nav to the innerjoin query and my where statement?

  • I need help with a mapping issue.

    We have a number of websites setup so that they are all under the default website in IIS 7.  We use ISAPI/ReWrite/3 to process and take it to the correct page to view.  Unfortunately this does not work so well with CFAJAX or CFFILEUPLOAD.  Can anyone help?
    Example:
    Local Directory: D:\sites\website1\index.cfm  or D:\sites\website2\index.cfm
    URL: http://website1.preview.domain.com/ would show a different website than http://website2.preview.domain.com/
    ISAPI ReWrite code:
    RewriteCond %{HTTP:Host} ^(?:.*\.)?website1\.preview\.domain\.com|^(?:.*\.)?website1\.new\.preview\.domain\.com|^( ?:.*\.)?website1\.office\.preview\.domain\.com$
    RewriteRule (.*) /website1$1 [NC,L]
    and the same with website2, only it has website 2 instead of website1.
    However, when I use CFFileUpload it creates the parameter as: 'http://website1.preview.domain.com/website1/upload/process.cfm'
    I have tried to replace the code when processing the template and the page content, but it does not replace it.  It must happen last, even after I do a <cfsavecontent>
    I need it to show up as http://website1.preview.domain.com/upload/process.cfm
    Can anyone help me with either an idea to use in the ISAPI/ReWrite or some other change I can make?

    The issue comes down to the fact that in the Coldfusion Administrator I set the Settings > Default ScriptSrc Directory : http://10.4.3.80/CFIDE/scripts/, because http://website1.preview.domain.com/cfide/scripts does not exist.
    This works for cfchart, but when I look at the source for any flash stuff, it still puts just "/CFIDE/...", which is trying to pull from http://website1.preview.domain.com/CFIDE/..., which doesn't exist, and it shows http://website1.preview.domain.com/website1/upload/process.cfm (which does not exist) instead of http://website1.preview.domain.com/upload/process.cfm like it should.  Everything else works on the website, all coldfusion stuff (although, I do convert some of the links and things in my page so that they work properly).  However, I can't find a place to replace links when I use a cffileupload, it puts that in very last, so my links are messed up.
    The nicest thing would be a setting that I could set the cffileupload to know what the path is.  If that is not available, then I need to write a ISAPI/ReWrite line to redirect it.

  • Need help with simple file sharing application

    I have an assignment to build a Java File Sharing application. Since I'm relatively new to programming, this is not gonna be an easy task for me.
    Therefore I was wondering if there are people willing to help me in the next few days. I will ask questions in this thread, there will be loads of them.
    I already have something done but I'm not nearly halfway finished.
    Is there a code example of a simple file sharing application somewhere? I didn't manage to find it.
    More-less, this is what it needs to contain:
    -client/server communication (almost over)
    -file sending (upload, download)
    -file search function (almost over)
    -GUI of an application.
    GUI is something I will do at the end, hopefully.
    I hope someone will help me. Cheers
    One more thing, I'm not asking for anyone to do my homework. I will only be needing some help in the various steps of building an application.
    As I said code examples are most welcome.
    This is what I have done so far
    Server:
    package ToJeTo;
    import java.io.*;
    import java.net.*;
    public class MultiServer {
        public static ServerSocket serverskiSoket;
        public static int PORT = 1233;
        public static void main(String[] args) throws IOException {
            try {
                serverskiSoket = new ServerSocket(PORT);
            }catch (IOException e) {
                System.out.println("Connection impossible");
                System.exit(1);
            do {
                Socket client = serverskiSoket.accept();
                System.out.println("accepted");
                ClientHandler handler = new ClientHandler(client);
                handler.start();
            } while(true);
    }Client:
    package ToJeTo;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.net.*;
    import java.util.Scanner;
    public class MultiClient {
        public static InetAddress host;
        public static int PORT = 1233;
        public static void main(String[] args) {
            try {
                host = InetAddress.getLocalHost();
            }catch (UnknownHostException uhe) {
                System.out.println("Error!");
                System.exit(1);
            sendMessages();
        private static void sendMessages() {
            Socket soket = null;
            try {
                soket = new Socket(host, PORT);
                Scanner networkInput = new Scanner(soket.getInputStream());
                PrintWriter networkOutput = new PrintWriter(soket.getOutputStream(), true);
                Scanner unos = new Scanner(System.in);
                String message, response;
                do {
                    System.out.println("Enter message");
                    message = unos.nextLine();
                    networkOutput.println(message);
                    response = networkInput.nextLine();
                    System.out.println("Server: " + response);
                }while (!message.equals("QUIT"));
            } catch (IOException e) {
                e.printStackTrace();
            finally {
                try{
                    System.out.println("Closing..");
                    soket.close();
                } catch (IOException e) {
                    System.out.println("Impossible to disconnect!");
                    System.exit(1);
    }ClientHandler:
    package ToJeTo;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class ClientHandler extends Thread {
        private Socket client;
        private Scanner input;
        private PrintWriter output;
        public ClientHandler(Socket serverskiSoket) {
            client = serverskiSoket;
            try {
            input = new Scanner(client.getInputStream());
            output = new PrintWriter(client.getOutputStream(), true);
            } catch (IOException e) {
                e.printStackTrace();
            public void run() {
                String received;
                do {
                received = input.nextLine();
                output.println("Reply: " + received);
                } while (!received.equals("QUIT"));
                try {
                    if (client != null)
                        System.out.println("Closing the connection...");
                        client.close();
                }catch (IOException e) {
                    System.out.println("Error!");
    }Those three classes are simple client server multi-threaded connection.

    Now the other part that contains the search function looks like this:
    package ToJeTo;
    import java.io.*;
    import java.util.*;
    public class User {
        String nickname;
        String ipAddress;
        static ArrayList<String> listOfFiles = new ArrayList<String>();
        File sharedFolder;
        String fileLocation;
        public User(String nickname, String ipAddress, String fileLocation) {
            this.nickname = nickname.toLowerCase();
            this.ipAddress = ipAddress;
            sharedFolder = new File(fileLocation);
            File[] files = sharedFolder.listFiles();
            for (int i = 0; i < files.length; i++) {
                listOfFiles.add(i, files.toString().substring(fileLocation.length()+1));
    public static void showTheList() {
    for (int i = 0; i < listOfFiles.size(); i++) {
    System.out.println(listOfFiles.get(i).toString());
    @Override
    public String toString() {
    return nickname + " " + ipAddress;
    User Manager:
    package ToJeTo;
    import java.io.*;
    import java.util.*;
    class UserManager {
        static ArrayList<User> allTheUsers = new ArrayList<User>();;
        public static void addUser(User newUser) {
            allTheUsers.add(newUser);
        public static void showAndStoreTheListOfUsers() throws FileNotFoundException, IOException {
            BufferedWriter out = new BufferedWriter(new FileWriter("List Of Users.txt"));
            for (int i = 0; i < allTheUsers.size(); i++) {
                    System.out.println(allTheUsers.get(i));
                    out.write(allTheUsers.get(i).toString());
                    out.newLine();
            out.close();
    }Request For File
    package ToJeTo;
    import java.util.*;
    public class RequestForFile {
        static ArrayList<String> listOfUsersWithFile = new ArrayList<String>();
        Scanner input;
        String fileName;
        public RequestForFile() {
            System.out.println("Type the wanted filename here: ");
            input = new Scanner(System.in);
            fileName = input.nextLine();
            for (User u : UserManager.allTheUsers) {
                for (String str : User.listOfFiles) {
                    if (str.equalsIgnoreCase(fileName))
                        listOfUsersWithFile.add(u.nickname);
        public RequestForFile(String fileName) {
            for (User u : UserManager.allTheUsers) {
                for (String str : User.listOfFiles) {
                    if (str.equalsIgnoreCase(fileName))
                        listOfUsersWithFile.add(u.nickname);
        public static List<String> getAll() {
            for (int i = 0; i < listOfUsersWithFile.size(); i++) {
                //System.out.println("User that has the file: " + listOfUsersWithFile.get(i));
            return listOfUsersWithFile;
    }Now this is the general idea.
    The user logs in with his nickname and ip address. He defines his own shared folder and makes it available for other users that log on to server.
    Now each user has their own list of files from a shared folder. It's an ArrayList.
    User manager class is there to store another list, a list of users that are connected with server.
    When the user is searching for a particular file, he is searching through all the users and their respective files lists. Therefore for each loop inside a for each loop.
    Now the problem is how to connect all that with Client and Server class and put it into one piece.
    GUI should look somewhat like this:

  • Need Help with Simple Chat Program

    Hello Guys,
    I'm fairly new to Java and I have a quick question regarding a simple chat program in java. My problem is that I have a simple chat program that runs from its own JFrame etc. Most of you are probably familiar with the code below, i got it from one of my java books. In any case, what I'm attempting to do is integrate this chat pane into a gui that i have created. I attempted to call an instace of the Client class from my gui program so that I can use the textfield and textarea contained in my app, but it will not allow me to do it. Would I need to integrate this code into the code for my Gui class. I have a simple program that contains chat and a game. The code for the Client is listed below.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    public class Client
    extends JPanel {
    public static void main(String[] args) throws IOException {
    String name = args[0];
    String host = args[1];
    int port = Integer.parseInt(args[2]);
    final Socket s = new Socket(host, port);
    final Client c = new Client(name, s);
    JFrame f = new JFrame("Client : " + name);
    f.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent we) {
    c.shutDown();
    System.exit(0);
    f.setSize(300, 300);
    f.setLocation(100, 100);
    f.setContentPane(c);
    f.setVisible(true);
    private String mName;
    private JTextArea mOutputArea;
    private JTextField mInputField;
    private PrintWriter mOut;
    public Client(final String name, Socket s)
    throws IOException {
    mName = name;
    createUI();
    wireNetwork(s);
    wireEvents();
    public void shutDown() {
    mOut.println("");
    mOut.close();
    protected void createUI() {
    setLayout(new BorderLayout());
    mOutputArea = new JTextArea();
    mOutputArea.setLineWrap(true);
    mOutputArea.setEditable(false);
    add(new JScrollPane(mOutputArea), BorderLayout.CENTER);
    mInputField = new JTextField(20);
    JPanel controls = new JPanel();
    controls.add(mInputField);
    add(controls, BorderLayout.SOUTH);
    mInputField.requestFocus();
    protected void wireNetwork(Socket s) throws IOException {
    mOut = new PrintWriter(s.getOutputStream(), true);
    final String eol = System.getProperty("line.separator");
    new Listener(s.getInputStream()) {
    public void processLine(String line) {
    mOutputArea.append(line + eol);
    mOutputArea.setCaretPosition(
    mOutputArea.getDocument().getLength());
    protected void wireEvents() {
    mInputField.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    String line = mInputField.getText();
    if (line.length() == 0) return;
    mOut.println(mName + " : " + line);
    mInputField.setText("");

    Thanks for ur help!i have moved BufferedReader outside the loop. I dont think i am getting exception as i can c the output once.What i am trying to do is repeat the process which i m getting once.What my method does is first one sends the packet to multicasting group (UDP) and other method receives the packets and prints.

Maybe you are looking for

  • X1 Carbon Gen3 (2015) Chassis constantly clicks in and out of position

    It's been 1 week since I received my first Lenovo Laptop - X1 Carbon Gen3 and I'm very pleased with it so far. Since the beginning I noticed a 'clicking' sound produced when resting my palms on the keyboard to type, but couldn't figured out what it w

  • Matrix Report Row Group Totals

    dear experts, I want to create a matrix report for purchase bills in which each bill may have mutiple items with diffrent rate and vat i could create the matrix report but the grand total in each purchase master table having column billtotal, vattota

  • Using the Capture function with a Capture Card

    I was wondering why I can't get premiere to recognize my capture card when I try to use the capture function.

  • Excelsius SSRS Gateway not connecting

    Hi there, I am currently evaluating Excelsius 2008 Engage Server, and am trying to use the SSRS Gateway for retrieving data from a SQL Server 2008 Express (with Reporting Services installed as extra). That gateway is not working though. The Gateway c

  • How to publish only changed pages

    I am using Dreamweaver CS3...When I publish to my Apache/Linux server it appears to re-publish all pages that have already been published. I only want to publish CHANGED pages. Is there a setting in Dreamweaver CS3 that will cause only CHANGED pages