Conversion of RichInputDate into specific format

Hi all
Greetings!

I use jdev 11.1.2.1.0
I have two components the date on my JSPX.
<af:inputDate label="From Date" id="fromDate" binding="#{DepositeLog.dtFrom}" autoSubmit="true" immediate="true">
        <af:convertDateTime pattern="#{resourceBundle['Common.shortDisplayDatePattern']}"/>
</af:inputDate>
<!--  shortDisplayDatePattern is dd-MMM-yyyy : from Resource Bundle -->
<af:inputDate label="To Date" id="toDate" binding="#{DepositeLog.dtTo}"  autoSubmit="true" immediate="true">
        <af:convertDateTime pattern="#{resourceBundle['Common.shortDisplayDatePattern']}"/>
</af:inputDate>
In managed bean I get those dates in the form,
        System.out.println(this.getDtFrom().getValue());
        System.out.println(this.getDtTo().getValue()); 
   //Output of these 2 SOP's is,        
        Fri May 09 10:18:03 IST 2008
        Tue May 01 10:18:03 IST 2012
      
Now, I want to convert these dates in the format: May 9, 2008 and may 1, 2012, i.e. in the dd MMM yyyy format
These new dates must be String data type.

I don't want to manually search for the required strings using split()

I tried to do this,
        this.getDtFrom().getMinValue();
        //which actually returns java.util.Date(), but in my case it returned null.
In addition,
I tried this,
        SimpleDateFormat sdf = new SimpleDateFormat("dd-mmm-yyyy");//line 1
        String toDate = this.getDtFrom().getValue().toString();//line 2
        System.out.println(sdf.format(toDate));//line 3
   //But it thrown exception: 
        "java.lang.IllegalArgumentException: Cannot format given Object as a Date" for line #3
Appreciate your help...

Thank you and best regards,
Madhav K.

Published by: Madhav on May 16, 2012 22:28
import oracle.adf.view.rich.component.rich.input.RichInputDate;

public class Test
{
  private RichInputDate fromDate;

  public Test()
  {
  }

  public void setFromDate(RichInputDate fromDate)
  {
    this.fromDate = fromDate;
  }

  public RichInputDate getFromDate()
  {
    return fromDate;
  }

  public String readDate()
  {
    // Add event code here...
     java.util.Date fromDate = (java.util.Date) this.getFromDate().getValue();
     System.out.println(fromDate);
     System.out.println(formatUtilDateAsSimpleDate(fromDate));
    return null;
  }

  public  String formatUtilDateAsSimpleDate(java.util.Date date)
  {
    java.text.SimpleDateFormat sdf =
      new java.text.SimpleDateFormat("dd-MMM-yyyy");
    return sdf.format(date);
  }
}

The result is

Tue May 01 00:00:00 GMT 2012
01-May-2012

Published by: Mohammad Jabr on May 17, 2012 08:30

Tags: Java

Similar Questions

  • I want to cancel and get my $$$ back, because the conversion using Adobe export in format PDF to Word does NOT, too many errors and inaccuracies in the Word DOC to use. Please cancel my order AD017941759 as soon as POSSIBLE!  Thank you...

    I want to cancel and get my $$$ back, because the conversion using Adobe export in format PDF to Word does NOT, too many errors and inaccuracies in the Word DOC to use. Please cancel my order AD017941759 as soon as POSSIBLE!  Thank you...

    You will be eager to start here:

    Cancel your subscription or membership. Acrobat, services Cloud of Document PDF

    Be well...

  • After restoring my computer and iTunes download, iTunes can not find my my music files.  They have to be in the specific format or a folder iTunes for a recognized?

    I had to restore my computer from the ground upward.  I save my music files and then reloaded after the system restore.  Then, I downloaded the latest version of iTunes.  But apparently iTunes can't find my music restored files.  I use a 10 newly installed Windows.  Y at - it a particular format to place the music files should be put in order for iTunes to see.  Or maybe a procedure that I did not follow properly.  Please notify.  Thank you.

    If you have registered to the iTunes library database files, launch iTunes with the SHIFT key is pressed and choose this library. If this isn't the case, slide the song files into the application window open iTunes or add it automatically in the iTunes folder.

    (144153)

  • My IPhone 5 is glitching like crazy, it is up to date in the software, but is terribly slow. When I go to type or press an app he refuses entery, instead he types something I never wanted to or goes into a format or a different application. It freezes con

    My IPhone 5 is glitching like crazy, he refuses to penetrate me app I press and does not allow me to type. Instead, it goes into another framework or format or type something I never wanted, otherwise keep it delete or reset. It freezes constantly and is terribly slow and driving me crazy. The software is up to date and I tried resetting the phone, turning point market and removing unnecessary applications... what should I do?

    Make an appointment on the Apple store nearest to have rated iPhone.

    Once the diagnosis is made, staff will explain your options.

    Make a Genius Bar reservation

    http://www.Apple.com/retail/Geniusbar/

  • Conversion table, EDD, manage multiple formats table

    Hello! I'm quite new to structured framemaker and I plan to migrate legacy documentation not structured in XML format. In documentation existing as well as ordinary tables I Note and warning messages in a table:

    sample.PNG

    The icon is a paragraph with a frame higher TFP. format and table shading

    When I generate a conversion table, framemaker creates that one set of items for the table cells, rows, etc. I'm a little confused about how to deal with these tables in the table of conversion and ESD file so that I can save the converted to XML file, then load it and get the same table format? I would appreciate any advice. Thank you!

    Elektroneg,

    It is always tempting to start a new project structured FM by converting existing documents. I recommend, however, that, until you are familiar with the structure, you start by building a structured model and ESD and take a good start on them debugging with the test data. Once you have created a catalog of the element, it will give you a target for a table of conversion and implementation of an XML application.

    A table structured FM must have the elements on each side of the table: the entire table, any title of table, any position table, the body of the table, a table leg, all ranks, and each cell. Each of these item types can be used for one purpose. You cannot, for example, have a general element called TableSection which is used for the header, body and foot or an element called title, which is used for the section headings, but also the titles table. However, you can have several elements of each of these types.

    A DSP defines all the elements for the tables and the various components of the table, including the command of no subitem. It can also define an initial table format the format applied when the table is created and the initial models that specify the names of the line items in a topic of table, foot or body, and those of the cells of each type of line. Note that these are the original formats and models of structure only.

    In your case, for example, you can set a table format called Message with the shaded background desired. If the note and Attention messages have different icons, you can define two elements of the array, called Note, and called Attention.  The body of a Note might be called NoteBody, and the only line of a NoteBody might be NoteRow. The two cells in a NoteRow could be called NoteIcon and MessageText and may contain paragraphs which forms have the same name as these elements. Tables of attention would be defined by analogy.

    To generate a table of conversion that structure this content, remember that any table generated by FM conversion is only a starting point. The project creates the FM does not define several the table header, body, foot, line or cell elements. You can change the conversion table to do this. For example, the part of your grade conversion table will be something like:

    Wrap this object or objects

    This element of

    With this qualifier

    TC: P:NoteIcon

    NoteIcon TC: P:MessageText MessageText TR:NoteIcon, MessageText NoteRow TB:NoteRow NoteBody T:NoteBody NoteTable

    This conversion table fragment defines a table cell that contains a NoteIcon paragraph labeled as a part of NoteIcon, a cell with a paragraph containing the MessageText tag to be a MessageText, a line containing an element tag NoteIcon followed a MessageText marked to be a NoteRow, a table containing a single element tag NoteRow to be a NoteBody , and a table composed only a NoteBody be labeled NoteTable.

    -Lynne

  • Get the list of virtual machines on an ESX host specific and dumping of .csv in a specific format

    I have problems to find a way to get a list of virtual machines on an ESX host specific and then he dumped to a .csv in the following format

    I use the get-vmhost esxhostname | Get - vm

    but everyhting else after, it is where I am lost...  I think the closest I had been posting the output with a goofy header and format 'vm1, vm2, vm3 "...

    name

    computer 1 name

    computer 2 name

    name of the machine 3

    to use for later use.  Any help would be appreciated.

    You must use the Select-Object cmdlet to specify more precisely the properties you want.

    The Export-Csv doesn't know how to manage the virtual computer object.

    Something like that

    Get-vmhost esxhostname | Get - vm | Select name. Export Csv.\report.csv - NoTypeInformation - UseCulture

  • Transform a string in a specific format

    Morning everyone.

    Got a flat file that I intend when loading into a table. These numbers are student ID and are supposed to be 7 characters long. However, the flat file has a few different formats I need to transform once it is in the table.

    Here are some of the formats:
    68
    054
    0133422
    0239993A
    765D234
    This should be the following:
    0000068
    0000054
    0133422
    0239993
    0765234
    Thus, there should be no (strip out the alphabets) alphabets and numbers should have zeros.

    Any help is appreciated.

    Thank you!

    You could do this by using the translation...

    SQL> ed
    Wrote file afiedt.buf
    
      1  WITH t AS (select '68' as str from dual union all
      2             select '054' from dual union all
      3             select '0133422' from dual union all
      4             select '0239993A' from dual union all
      5             select '765D234' from dual)
      6  --
      7  -- end of test data
      8  --
      9  select lpad(translate(str,'0ABCDEFGHIJKLMNOPQRSTUVWXYZ','0'),7,'0')
     10* from t
    SQL> /
    
    LPAD(TR
    -------
    0000068
    0000054
    0133422
    0239993
    0765234
    

    I think I have the syntax for it right. Never use myself as there are has better features available from 10 g.

  • How can we force to use for locale-specific formatting of data?

    Hi all

    I use the Date/Time Format string to format the current date to a formatted string, I'm precise %b to show the short month, but this parameter is dependent on the local host. What is a way to force the format on a local data instead of using the regional settings of the OS? Thank you.

    I don't believe it. The simplest solution would be to call the DateTime in seconds function, extract the resulting month value of the cluster then use a lookup table to determine the name of the month.

    The table of correspondence could be as simple as a multiline string is indexed with the Line Pick function using months as the row index.

  • How to recover the date in a specific format on button clicked?

    I'm trying to update the date in a data template on a user clicks the button, but unfortunately the Date() function gives just a format long unncesseray.  I want just the day/month/year (i.e. 10/09/2013).  How to change the Date() function to achieve this?

     Button {
                                        leftPadding: 30
                                        rightPadding: 30
                                        preferredWidth: 150
                                        horizontalAlignment: HorizontalAlignment.Center
                                        imageSource: "asset:///images/ic_add.png"
                                        onClicked: {
    
                                            rootItem.ListItem.view.getApp().updateObject(ListItemData.customerID, ListItemData.name, ListItemData.description, Date(), parseInt(ListItemData.lat) + 1, ListItemData.lon, ListItemData.categorySelect, ListItemData.mapurl)
                                        }
                                    }
    

    Thanks in advance.  Solutions and love will see for those who help.

    Kind regards

    Brandon

    I was actually able to find a workaround simpler.  I just used objects attached within the key and attached to a date function:

    Button {
    
                                        imageSource: "asset:///images/ic_add.png"
                                        onClicked: {
    
                                            rootItem.ListItem.view.getApp().updateObject(ListItemData.customerID, ListItemData.name, ListItemData.description, datefield3.text, parseInt(ListItemData.lat) + 1, ListItemData.lon, ListItemData.categorySelect, ListItemData.mapurl)
    
                                        }
                                        attachedObjects: [
                                            Label {
                                                id: datefield3
                                                text: {
                                                    var today = new Date();
                                                    (today.getMonth() + 1) + "/" + today.getDate() + "/" + (today.getFullYear() - 2000);
                                                }
    
                                            }
                                        ]
                                    }
    
  • Problem with the conversion of getDate() to Date format?

    Hi guys,.

    I need to convert the date selected for DateField string format (for example: yyyy-mm-dd).

    I put the date format DateField as "mm-dd-yyyy '.»

    I tried to get the date of this DateField and tried to convert the format 'yyyy-mm-dd ".

    When I tried, I had a bad outing.

    For example, when I selected 12 months he returned as "00" the following coding.

    SimpleDateFormat dtFormat = new SimpleDateFormat("yyyy-mm-dd");
    Date dtToConvert = new Date(mydatefield.getDate());
    strRequired = dtFormat.formatLocal(dtToConvert); 
    

    Can someone explain what that is the bug with this code or any other way to get the output as my requirement?

    Thanks in advance,

    Stéphane

    Oops, sorry, code should have been...

    DateFormat df = new SimpleDateFormat("yyyy/MM/dd");
    long dateLong = field.getDate();
    Date date = new Date(dateLong);
    String dateString =df.format(date);
    
  • The ADF table: filter on columns of stamp with a specific format in the indications of the user interface

    Hi all

    I have problem when filtering on af timestamp column: table.

    I have a table containing historical information (created_on and modified_on), it is mapped to an entity:

    Type = "Oracle.jbo.domain.date"

    ColumnType = "DATE".

    I've seen object mapped from this entity.

    I want to display created_on and modified_on with timestamp (hour and minute), so I add the tips of the user interface for these 2 columns:

    -Type format: Date Simple

    -Size: MM/DD/YYYY HH: mm

    I create a table based on this point of view. The table is filterable.

    The column like this:

    < af:column sortProperty = "#{bindings." View.hints.CreatedOn.name}"blockable = 'true '.

    sortable = "true" headerText = "#{bindings." View.hints.CreatedOn.label}"id ="c6">

    < f: facet = name 'filter' >

    < af:inputDate value = "#{bindings." ViewQuery.queryDescriptor.filterConjunctionCriterion.criterionMap.CreatedOn.value}.

    ID = "id2" >

    < af:convertDateTime pattern = "#{bindings." View.hints.CreatedOn.format}"/ >

    < / af:inputDate >

    < / f: facet >

    < af:outputText value = "#{rank." CreatedOn}.

    shortDesc = "#{bindings." VIew.hints.CreatedOn.tooltip}"id ="ot6">

    < af:convertDateTime pattern = "#{bindings." View.hints.CreatedOn.format} ">"

    < / af:outputText >

    < / af:column >

    When I filter on 2 columns (created_on, modified_on) I got an error: " java.lang.IllegalArgumentException: ADFv: could not convert the instance: 30/07/2014 09:51 type: class java.lang.String in class of type null oracle.jbo.domain.Date."

    Do you have an idea for me?

    Thanks in advance.

    Here is the stacktrace:

    Caused by: java.lang.IllegalArgumentException: ADFv: could not convert the instance: 30/07/2014 09:51 type: class java.lang.String in oracle.jbo.domain.Date of type null class.

    at oracle.adfinternal.view.faces.convert.DomainConverter._throw(DomainConverter.java:155)

    at oracle.adfinternal.view.faces.convert.DomainConverter.convert(DomainConverter.java:120)

    to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$ AdfFilterAttributeCriterion.getValue (FacesCtrlSearchBinding.java:5127)

    at sun.reflect.GeneratedMethodAccessor448.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:601)

    at javax.el.BeanELResolver.getValue(BeanELResolver.java:305)

    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:138)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:183)

    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:224)

    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)

    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:195)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderContentStyleAttributes(SimpleInputBaseRenderer.java:524)

    at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.renderAllContentAttributes(FormInputRenderer.java:480)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderAllContentAttributes(SimpleInputBaseRenderer.java:230)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.renderAllContentAttributes(SimpleInputDateRenderer.java:712)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.renderElementContent(SimpleInputDateRenderer.java:592)

    at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:169)

    at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:165)

    at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1828)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:244)

    at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:254)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:231)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$ UIXColumnFilterWrapper._encodeChild (BaseColumnRenderer.java:2486)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$ UIXColumnFilterWrapper.encodeChildren (BaseColumnRenderer.java:2454)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)

    at oracle.adf.view.rich.render.RichRenderer.encodeChildInContext(RichRenderer.java:3251)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer._renderOrVisitFilterFacet(BaseColumnRenderer.java:1938)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderColumnFilterCell(BaseColumnRenderer.java:1324)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:168)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.access$ 2900 (BaseTableRenderer.java:78)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer$ FlattenedColumnEncoder.processComponent (BaseTableRenderer.java:3155)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer$ FlattenedColumnEncoder.processComponent (BaseTableRenderer.java:3129)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:195)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:326)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:291)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.encodeFlattenedColumn(BaseTableRenderer.java:2928)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderFilterRow(TableRenderer.java:2508)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderColumnHeaderTable(TableRenderer.java:2113)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderColumnHeader(TableRenderer.java:1899)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:727)

    Hello

    This is a bug in the ADF (Bug 17380741 not public) and it resolved in JDev 12.1.3.

    Kind regards

    Sébastien

  • I need to import a word document into the format of the movie script

    I have a script that is saved in a Word doc and I want to change it on the story of adobe. HO would I do that?

    Hello

    for the history of the project, you can click on the "Import" button and choose the word document, and then choose the movie/TV model as appropriate to import. If your word document has been properly formatted (e.. g, heading stage corresponds to the format INT. SET NAME etc.), Adobe Story would be able to properly analyze the elements and import them without problem.

    Thank you

    Rondall

  • Conversion of the registry in format txt files correct reg

    Is there a tool to convert txt (during the capture) into an equivalent reg file registry files?

    Joakim

    In fact, you can use vregtool for this, but it is a two-step process. First convert the .txt into a file of registry ThinApp:

    vregtool temp.tvr ImportDir.

    Then convert the file of registry ThinApp a Regedit:

    vregtool temp.tvr ExportReg Output.reg

  • How to format the specific format string

    Hi all

    I have the column in the table and the column will be the varchar2 data type. I need the value of the specific model column.

    by ex. If the value is ABCDEFGHIJKLMN then output should be ABC-DEFG-HIJ-KLMN.

    the model can be changed in the future.

    Thank you
    Nagarajan.V

    Published by: Nancy Venu on 24 July 2012 14:56

    >

    Nana Hi and welcome to the forums.

    by ex. If the value is ABCDEFGHIJKLMN then output should be ABC-DEFG-HIJ-KLMN.

    Something almost identical has been done [url https://forums.oracle.com/forums/thread.jspa?messageID=10458534] here - take a look at the responses of Frank Kulash.

    the model can be changed in the future.

    Then change the regular expression.

    You neglected to give your version of Oracle - you must always do, because the answer can vary widely depending on the version.
    If you do not have 10 or more, you cannot use regular Expressions.

    Please take the time to read the forum FAQ and also the thread "sticky" by BluShadow at the top of the list of positions
    on the forum homepage. Help us help you - these forums are a great resource and you will get the maximum of
    If you follow the guidelines.

    HTH,

    Paul...

    Nagarajan.V

    Published by: Paulie July 24, 2012 10:29

  • Custom conversion Google map in PDF format

    Is it possible to take a personalized Google map (showing points of interest, we have created) and turn it into a pdf file which would be zoomable, and in which each of these points would be clickable (or via mouseover) to display information on these points? If the answer is Yes, is their feature that allows it to be read on a mobile device?  Thank you! If it is not an Adobe solution that would achieve this, you know another solution?  Here's an example of the type of card I want to be able to convert to PDF and each identifiable icon in a certain way:

    +city map sample.jpg

    I have a feeling that Google would make it as difficult as possible.

    If I had been asked to do, I would be worrying a lot about the registration of the map data and to know if do a "copy offline" violated the license from Google. http://www.google.com/permissions/geoguidelines.html. How is your copyright?

    Google offers a maps API that can be used to provide maps on mobile devices. This could be the safest option.

Maybe you are looking for

  • iCloud cards

    Hello Help find my phone I have some successful how to divide the map into segments, one in each corner of the screen - with the icon of my iphone in the middle of the screen! Anyone have ideas on how get it all to recombine into a useful card? Thank

  • Spectrum XT 13: Spectrum HP XT 13 2215TU SSD Drive upgrade

    Is it possible to upgrade SSD drive en 128 GB to 256/512 GB? Would update the warranty?

  • WLM file associations associations of system

    I am running Win XP and Office WLM. I have Office 2003 is installed and all file associations are defined to use Office 2003. If I open a .doc from a folder, it opens in Word 2003 without problem. I installed a trial of Office 2010, to try it. This h

  • HP6500A Fax problems

    Fax line rings when the telephone line is disconnected for the HP6500A - when I connect to the phone line and someone is trying to send me a fax all that they get is a busy signal?

  • I can't uninstall a program from my control panel

    I can't uninstall a program from my control panel Original title: I can't uninstall at add on my control panel