GetCustomAttributes FlagAttribute working only on some Enums

I have a bit of code that checks an enum to see if it has [Flags]. however, It only works for one of the enums that has a flag. the other ones are ignored for some reason.
var currentEnum = new EnumInfo() { Name = t.Name, IsFlagsEnum = t.GetCustomAttributes<FlagsAttribute>().Any() };
It loads the enums from an assembly and iterates through them. Nothing seems to be completely different between the enums other than the name and the values inside.
the t is the element in the foreach loop
foreach (Type t in query)
What would cause the get custom attributes to fail to find the [flags] attribute. 

The OrderBy seems to work, since all of the Enums are in order once it returns. 
here's a couple of the enums, with scrubbed names. 
This one returns false for flags.
[Flags]
public enum Method
Undefined = 0,
Site = 1,
Manual = 2,
API = 4
and this one gets the boolean IsFlagsEnum = true;
[Flags]
public enum Type
New = 0,
Existing = 1
Hi
Fullmetal99012,
Thanks for posting more useful information, Now i have tried reproed your issue. As
CoolDadTx said, you code works fine on my side. Here is my screenshot
>>the only difference on the two enumerations I posted above is that the one that isn't getting picked up by the code is reporting that the "members" of the enum have a CustomAttribute, while the one that is shows 0 for the custom attribute
count. 
I doubt you put the Method enum as members of a class.
Best wishes,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • IMessage works only with some contacts

    Why is iMessage working (blue) with some contacts and not with others? Obviously all with iPhones and iMessage activated

    Hi there Bretsinclair,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    -Griff W. 

  • Valuechange listener works only for some components in page

    This is a portion of XHTML, which is that included into the page. It hash 2 <h:selectOneRadio> which have the same listener, but only in the first case the method is called right after user changes value of radio. In the second case its triggered only when submiting the form.
    *<h:selectOneRadio id="workType"*
    *valueChangeListener="#{orderingPage.valueChanged}"*
    *value="#{orderingPage.ordering.orderedObject.workType}"*
    *layout="pageDirection">*
    *<f:selectItem itemLabel="#{enums['WorkType.scan']}" itemValue="SCAN" />*
    *<f:selectItem itemLabel="#{enums['WorkType.filmcopy']}"*
    *itemValue="FILMCOPY" />*
    *<f:selectItem itemLabel="#{enums['WorkType.papercopy']}"*
    *itemValue="PAPERCOPY" />*
    *<f:selectItem itemLabel="#{enums['WorkType.print']}" itemValue="PRINT" />*
    *<f:selectItem itemLabel="#{enums['WorkType.readerPrinter']}"*
    *itemValue="READER_PRINTER" />*
    *<f:selectItem itemLabel="#{enums['WorkType.photo']}" itemValue="PHOTO" />*
    *<f:ajax*
    *render="scanTypesGrid copyFormatGrid copyColorGrid deliveryTypeGrid" />*
    *</h:selectOneRadio>*
    *<h:panelGroup id="copyFormatGrid">*
    *<h:selectOneRadio layout="pageDirection"*
    *value="#{orderingPage.ordering.orderedObject.copyFormat}"*
    *valueChangeListener="#{orderingPage.valueChanged}"*
    *rendered="#{(orderingPage.ordering.orderedObject.workType == 'PAPERCOPY') or (orderingPage.ordering.orderedObject.workType == 'PRINT')}">*
    *<f:selectItem itemLabel="#{enums['PaperCopyFormat.a0']}" itemValue="A0" />*
    *<f:selectItem itemLabel="#{enums['PaperCopyFormat.a1']}" itemValue="A1" />*
    *<f:selectItem itemLabel="#{enums['PaperCopyFormat.a2']}" itemValue="A2" />*
    *<f:selectItem itemLabel="#{enums['PaperCopyFormat.a3']}" itemValue="A3" />*
    *<f:selectItem itemLabel="#{enums['PaperCopyFormat.a4']}" itemValue="A4" />*
    *</h:selectOneRadio>*
    Can't see anything, why also the 2nd should not be working fine. Generally in this page i have some listeners working, some not, don't know why.
    thanks for help!
    PS: I use primefaces 2.2.1 and jsf-api 2.1.2
    Edited by: 851668 on 17.11.2011 08:06
    Edited by: 851668 on 17.11.2011 08:08

    Note that the first has an f:ajax attached to it and the second does not.

  • Flash Player works only on some sites

    Hey, ever since I've installed the new Flash 10.1 Flash has only worked on some sites. Good example is Youtube where it
    works and then again on Zero Punctuation site it doesn't work. This only happens if my user account is standard user. If I switch it to Admin account (the rights, I don't switch to a different account totally) then Flash works on all sites. Why does Flash require Admin account on this computer to work properly with 10.1?
    EDIT: Forgot to mention that Flash 10.1 works fine with Standard account on my laptop.'
    2nd EDIT: Windows 7 with Internet Explorer 8 btw. Forgot to mention that too

    Hey.
    I'm basing this on currently loaded IE addons. My desktop has more running atm. I can list them: Java Plugin 2 SSV helper, Windows Media Player, XML DOM Document 6.0, Free Threaded XML DOM Document, XSL Template 6.0 and Windows Live Sign-In Helper alongside with Flash. Laptop has only Windows Live Sign-in Helper on with Flash. The java is disabled and rest are from Microsoft and are well, needed to display XML sites I guess
    I have Microsoft Security Essentials with just Windows Firewall on both computers. And I just meant that probably some weird security setting in flash or IE since something, like I said, seems to be partially blocking flash from different domain. For example, I know that a site "istartedsomething" has a video that is linked from Youtube. It doesn't work in that site but everything works just fine in Youtube.
    I thought of that too first, that the websites haven't managed to update, but for some reason they do work on my laptop which has same flash installed.
    On sidenote, for example http://kb2.adobe.com/cps/155/tn_15507.html does work on my laptop but doesn't work on this desktop while http://www.adobe.com/software/flash/about/ works on both.
    Whew, wall of text done

  • I'm working with directx and it does working only on some of the Bitmaps. Why it's not working on the others ?

    The question is not so clear i will try to explain here.
    I have a trackBar scroll event:
    private void trackBar1_Scroll(object sender, EventArgs e)
    LoadPictureAt(trackBar1.Value, sender);
    ConvertedBmp = ConvertTo24(trackBar1FileInfo[trackBar1.Value].FullName);
    ConvertedBmp.Save(ConvertedBmpDir + "\\ConvertedBmp.bmp");
    mymem = ToStream(ConvertedBmp, ImageFormat.Bmp);
    backTexture = TextureLoader.FromStream(D3Ddev, mymem);
    scannedCloudsTexture = new Texture(D3Ddev, 512, 512, 1, Usage.Dynamic, Format.A8R8G8B8, Pool.Default);
    timer1.Stop();
    Button1Code();
    timer1.Start();
    b1 = ConvertedBmp;
    b1.Save(ConvertedBmpDir + "\\b1.bmp");
    trackBar2.Enabled = false;
    if (!this.backgroundWorker1.IsBusy)
    label2.Text = "מעבד נתונים";
    this.backgroundWorker1.RunWorkerAsync();
    else
    this.backgroundWorker1.CancelAsync();
    First LoadPictureAt method:
    private bool LoadPictureAt(int nIndex, object c)
    bool bRet = false;
    if (nIndex >= 0 && nIndex < trackBar1FileInfo.Length)
    if (c.Equals(trackBar1))
    pictureBox1.Load(trackBar1FileInfo[nIndex].FullName);
    bRet = true;
    if (bitmaps != null)
    if (nIndex >= 0 && nIndex < bitmaps.Length)
    if (c.Equals(trackBar2))
    pictureBox1.Image = bitmaps[nIndex];
    bRet = true;
    return bRet;
    Then the ConvertTo24 method:
    private Bitmap ConvertTo24(string inputFileName)
    sw = Stopwatch.StartNew();
    Bitmap bmpIn = (Bitmap)Bitmap.FromFile(inputFileName);
    Bitmap converted = new Bitmap(bmpIn.Width, bmpIn.Height, PixelFormat.Format24bppRgb);
    using (Graphics g = Graphics.FromImage(converted))
    // Prevent DPI conversion
    g.PageUnit = GraphicsUnit.Pixel;
    // Draw the image
    g.DrawImageUnscaled(bmpIn, 0, 0);
    //converted.Save(outputFileName, ImageFormat.Bmp);
    sw.Stop();
    return converted;
    Then ToStream method:
    public static Stream ToStream(Image image, ImageFormat formaw)
    var stream = new System.IO.MemoryStream();
    image.Save(stream, formaw);
    stream.Position = 0;
    return stream;
    What it does is taking a Bitmap image and make a doppler radar effect on it and detect color only places that there are pixels(clouds) in it.
    Here is a screenshot:
    You can see the doppler shape and it's moving around and highlight the places with clouds.
    So when i move the trackBar1 to the left each time on another Bitmap image it's showing the doppler effect and the clouds.
    The problem is with the trackBar2 scroll event:
    First when i'm running my program and enteric to this new form that scan the clouds and show the doppler radar effect a backgroundworker1 is working:
    private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
    BackgroundWorker bgw = (BackgroundWorker)sender;
    if (bgw.CancellationPending == true)
    return;
    else
    while (true)
    bitmaps = ImagesComparison.get_images_with_clouds(b1);
    for (int i = 0; i < bitmaps.Length; i++)
    bitmaps[i] = ConvertTo1or8Bit.ColorToGrayscale(bitmaps[i]);
    break;
    What it does is getting into bitmaps(Bitmap[])  15 new bitmaps from one given bitmap. The given bitmap is b1.
    b1 i'm using it in trackBar1 scroll event.
    All the new Bitmaps in bitmaps variable array are Format32bppArgb.
    While i checked on my hard disk the images(GIF type) i'm using with trackBar1 are all Bit Depth 8.
    The images i'm using with trackBar1 scroll event are GIF types and Bit Depth 8 on the properties.
    The images i'm using in trackBar2 are Bitmaps and they are Format32bppArgb.
    So first thing i thought to convert all the 15 Bitmaps in bitmaps to 8bit:
    for (int i = 0; i < bitmaps.Length; i++)
    bitmaps[i] = ConvertTo1or8Bit.ColorToGrayscale(bitmaps[i]);
    But it didn't work it's just turning them to black gray scale colors not what i was thinking about.
    In the backgroundworker completed event i'm converting the bitmaps to 24 like i'm doing with the Gifs in trackBar1 scroll event:
    private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
    trackBar2.Enabled = true;
    trackBar2.Maximum = bitmaps.Length -1;
    bitmaps[0].Save(ConvertedBmpDir + "\\bitmapsfirstimage.bmp");
    for (int i = 0; i < bitmaps.Length; i++)
    ConvertedBitmaps.Add(ConvertTo24(bitmaps[i]));
    ConvertedBitmaps[0].Save(ConvertedBmpDir + "\\ConvertedBitmapsFirstImage.bmp");
    label2.Text = "עיבוד הנתונים הסתיים";
    b1.Dispose();
    Then in the trackBar2 scroll event:
    private void trackBar2_Scroll(object sender, EventArgs e)
    LoadPictureAt(trackBar2.Value, sender);
    ConvertedBmp = ConvertedBitmaps[trackBar2.Value - 1];
    ConvertedBmp.Save(ConvertedBmpDir + "\\ConvertedBmp.bmp");
    mymem = ToStream(ConvertedBmp, ImageFormat.Bmp);
    backTexture = TextureLoader.FromStream(D3Ddev, mymem);
    scannedCloudsTexture = new Texture(D3Ddev, 512, 512, 1, Usage.Dynamic, Format.A8R8G8B8, Pool.Default);
    timer1.Stop();
    Button1Code();
    timer1.Start();
    The same i did with the trackBar1 scroll event.
    But the result in trackBar2 i'm getting without using the grayscale convertion is this:
    You can see that the color that make the scan now is more yellow or green/yellow and not the same like it is when i'm using the trackBar1.
    I can't figure out where the problem is:
    1. Maybe since the Bitmaps in the variable array bitmaps are all Format32bppArgb ?
    2. Maybe they are Bitmaps and not Gif types like the images in trackBar1 ?
    If it does working good with the gifs in trackBar1 scroll event then the whole code in the new form ScanningClouds is working fine so i will not add to here the whole ScanningClouds form code since it's long.
    The problem is somewhere with the Bitmaps formas or bits in the variable bitmaps.
    Maybe they are not the same or the right Bit Depth or maybe they are Bitmaps and should be Gifs.
    bitmaps = ImagesComparison.get_images_with_clouds(b1);
    This is the get_images_with_clouds method where i'm getting the new 15 Bitmaps.
    public static Bitmap[] get_images_with_clouds(Bitmap radar_image)
    int e = 0;
    int f = 0;
    int image_clock_area_x = 0;
    int image_clock_area_y = 0;
    int image_clock_area_x1 = 140;
    int image_clock_area_y1 = 21;
    Bitmap[] localImages;
    localImages = new Bitmap[15];
    Bitmap image;
    image = new Bitmap(Properties.Resources.radar_without_clouds);
    BitmapData bmD = null;
    BitmapData bmD2 = null;
    try
    bmD = image.LockBits(new Rectangle(0, 0, image.Width, image.Height), ImageLockMode.ReadWrite,
    PixelFormat.Format32bppArgb);
    bmD2 = radar_image.LockBits(new Rectangle(0, 0, radar_image.Width, radar_image.Height), ImageLockMode.ReadOnly,
    PixelFormat.Format32bppArgb);
    IntPtr sc0 = bmD.Scan0;
    unsafe
    int* p = (int*)sc0.ToPointer();
    int* p2 = (int*)bmD2.Scan0.ToPointer();
    for (e = image_clock_area_x; e < image_clock_area_x + image_clock_area_x1; e++)
    for (f = image_clock_area_y; f < image_clock_area_y + image_clock_area_y1; f++)
    Color clock_color = Color.FromArgb(p2[e + f * bmD2.Width]);
    p[e + f * bmD.Width] = clock_color.ToArgb();
    image.UnlockBits(bmD);
    radar_image.UnlockBits(bmD2);
    catch
    try
    image.UnlockBits(bmD);
    catch
    try
    radar_image.UnlockBits(bmD2);
    catch
    int c;
    for (c = 0; c < localImages.Length; c++)
    localImages[c] = new Bitmap(image);
    Bitmap new_image = new Bitmap(Properties.Resources.radar_without_clouds);
    Bitmap new_image1 = new Bitmap(Properties.Resources.radar_without_clouds);
    Bitmap localbmptest = black_and_white(new_image, radar_image);
    Image image1 = black_and_white(new_image, radar_image);
    image1.Save(@"c:\temp\testclouds666.jpg");
    Bitmap clouds = new Bitmap(image1);
    int x;
    int y;
    int a;
    int b;
    int d = 0;
    Bitmap redImage;
    redImage = new Bitmap(512, 512);
    using (Graphics g = Graphics.FromImage(redImage))
    g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
    g.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.Half;
    g.Clear(Color.Red);
    BitmapData bmData = null;
    BitmapData bmData2 = null;
    BitmapData bmDataArray = null;
    try
    bmData = clouds.LockBits(new Rectangle(0, 0, clouds.Width, clouds.Height), ImageLockMode.ReadOnly,
    PixelFormat.Format32bppArgb);
    bmData2 = radar_image.LockBits(new Rectangle(0, 0, radar_image.Width, radar_image.Height), ImageLockMode.ReadOnly,
    PixelFormat.Format32bppArgb);
    IntPtr scan0 = bmData.Scan0;
    IntPtr scan02 = bmData2.Scan0;
    unsafe
    int* p = (int*)scan0.ToPointer();
    int* p2 = (int*)scan02.ToPointer();
    double h, mm;
    for (d = 0; d < localImages.Length; d++)
    bmDataArray = localImages[d].LockBits(new Rectangle(0, 0, localImages[d].Width, localImages[d].Height), ImageLockMode.ReadWrite,
    PixelFormat.Format32bppArgb);
    IntPtr scan0Array = bmDataArray.Scan0;
    int* pArray = (int*)scan0Array.ToPointer();
    for (a = 0; a < new_image.Width; a++)
    for (b = 0; b < new_image.Height; b++)
    Color color1 = Color.FromArgb(p[a + b * bmData.Width]);
    Color color2 = Color.FromArgb(p2[a + b * bmData2.Width]);
    if (color1.R != 0 || color1.G != 0 || color1.B != 0)
    h = color2.GetHue();
    mm = RadarAnalysis.Hue2MMPerHour(h);
    if (mm >= treshhold_array[14 - d])
    pArray[a + b * bmDataArray.Width] = color2.ToArgb();
    localImages[d].UnlockBits(bmDataArray);
    clouds.UnlockBits(bmData);
    radar_image.UnlockBits(bmData2);
    catch (Exception error)
    try
    clouds.UnlockBits(bmData);
    catch
    try
    radar_image.UnlockBits(bmData2);
    catch
    try
    localImages[d].UnlockBits(bmDataArray);
    catch
    Logger.Write("Error Exception ==> " + error);
    MessageBox.Show("Error Exception ==> " + error);
    return localImages;
    I think not sure but i think the problem is that the images on my hard disk i'm using with the trackBar1 scroll event are Gif type and the images i'm using with the trackBar2 scroll event are 15 Bitmaps.

    Hi,
    "But it didn't work it's just turning them to black gray scale colors not what i was thinking about."
    If you want it to be colored, you'll need to create a color-palette for the 8bppIndexed bitmaps. The keyword for this process is "Color-Quantization".
    The whole yellow-green pie you get is from the wrong format. If you convert the 32bpp bitmaps to 24 bpp bitmaps, you loose the alpha channel ("transparency"). You can manually set one color to "transparent" with the mMakeTransparent-method
    of the Bitmap class, or simply use gif-images (they are 8bpp with a transparent "key"-color)
    Regards,
      Thorsten

  • Record Mic using SampleDataEvent works only on some computers.

    I made a swf that records your mic and allows you to play it back.  I load the soundBytes into a float and play the float back.  It works fine on the computer I developed it on (in IE, Chrome and Firefox) .  It does not work on my second laptop.  And a few people in some forums have said it is not working either.
    Here is the file.  http://www.buttonbeats.com/images/MicCapture.html
    Here is the code.  Do I need certain plugins besides the flash player?
    micRec.addEventListener(MouseEvent.CLICK,recordMic);
    function recordMic(event:MouseEvent){
    micRec.x = -250;
    stopRecord.x = 0;
    const DELAY_LENGTH:int = 4000;
    var mic:Microphone = Microphone.getMicrophone();
    mic.setSilenceLevel(0, DELAY_LENGTH);
    mic.gain = 80;
    mic.rate = 40;
    mic.addEventListener(SampleDataEvent.SAMPLE_DATA, micSampleDataHandler);
    stopRecord.addEventListener(MouseEvent.CLICK,SREC);
    var soundBytes:ByteArray = new ByteArray();
    function micSampleDataHandler(event:SampleDataEvent):void
        while(event.data.bytesAvailable)
            var sample:Number = event.data.readFloat();
            soundBytes.writeFloat(sample);
    function SREC(event:MouseEvent):void
    stopRecord.x = -250;
        mic.removeEventListener(SampleDataEvent.SAMPLE_DATA, micSampleDataHandler);
        soundBytes.position = 0;
        var sound:Sound = new Sound();
        sound.addEventListener(SampleDataEvent.SAMPLE_DATA, playbackSampleHandler);
    soundPlay.addEventListener(MouseEvent.CLICK,SP1);
    function SP1(event:MouseEvent){
      soundBytes.position = 0;
        sound.play();
    function playbackSampleHandler(event:SampleDataEvent):void
        for (var i:int = 0; i < 8192 && soundBytes.bytesAvailable > 0; i++)
            var sample:Number = soundBytes.readFloat();
            event.data.writeFloat(sample);
            event.data.writeFloat(sample);

    you need fp 10.  what's the problematic player version?

  • On-demand process query works only on some columns

    I've run into what seems a strange problem. I have an on-demand process that queries the DB and returns a populated select list, which I've successfully used in several places. The query used returns values as it should when I query the DB directly. Within my process however, it returns no rows. I know the process works because if I replace the query that i need, with one on another column in same table, my select list populates. There are several other columns that also don't work, though there is no pattern in terms of data type, size, etc, that I can see, except that the non-working columns are rather far down a list of over 30 columns for that table.
    Here is the process text:
    begin
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    htp.prn('<select>');
    for rec in (select distinct op_comm d, op_comm r from CPUJAN2006
    where upper(stream) = upper(:P100_TEMP_STREAM))
    loop
    htp.prn('<option value="' || rec.r || '">' || rec.d || '</option>');
    end loop;
    htp.prn('</select>');
    end;
    As mentioned, I can use this select statement directly on the DB and I can replace it in the process, with something like "select db_version from CPUJAN2006" and that works. Any ideas why this would not work on certain columns - could it have anything to do with number of columns in the table or column size?
    Any advice appreciated. Thanks,
    Michelle

    I can and will if this doensn't clarify. I've narrowed down problem to specific records returned from the process query.
    The text entries populating the select list sometimes contain the char '&'. When I get rid of these, my select lists look fine. The select list is populated with following bit:
    htp.prn('<option value="' || rec.d || '">' || rec.r || '</option>');
    I am thinking the & in some rec.d entries is interpreted as something other than text. I cannot change these text values in the DB, because they are fed from another DB. Can I somehow tell the process to view speacial characters as text?

  • Webcam works only in some applications

    Hi,
    I'm having an issue with a friend's PC (Dell XPS 12).  His integrated webcam is not working with neither Cheese nor WebRTC via Firefox.  In Cheese, the rendered video is broken (black and green) and in Firefox no video is displayed.  However, when testing the "video pipe" via gstreamer-properties the video is displayed as it should be: no errors.  I believe both Firefox and Cheese use gstreamer so this is puzzling. . .  I've tried Arch, Ubuntu and Fedora images.  The problem persists across all of them and it's preventing my friend from ditching Windows.
    Any ideas what could cause this error or how to change the configuration of gstreamer/webcam to try to resolve this issue?
    Thanks in advance,
    Rasmus
    PS: Unfortunately, I don't have logs or outputs here.
    PPS: I tried the LD_PREPATH suggestions from the wiki, but this did not work...
    Edit: Notes
    ID of webcam 0bda:5716
    openSuse report, Fedora report, launchpad report.
    Last edited by Pank (2015-01-27 17:31:27)

    Cf https://bbs.archlinux.org/viewtopic.php … 9#p1503299 for a workaround.

  • My photo stream is not working correctly.  only importing some..help?

    my photo stream is only importing some of my photos...settings all seem to be correct..any advise?

    I'd advise you to provide details so we do not have to make wild guesses
    What version of iPhoto? Of the OS? what exactly is happening? What have you tried to resolve this? How long have you waited for them to downad? have you looked at http://www.apple.com/support/icloud/photo-stream/ and verified tha tyour set up is correct and looked through the FAQs and troubleshooting tips? Has it ever worked? What has changed since it worked?
    LN

  • My Iphone 4, to which all my outlook email is forwarded to. is only receivng some of the emails but not all. It has worked beautifully in the past but no longer. What can I do to get all emails?

    My Iphone 4, to which all my outlook email is forwarded to. is only receivng some of the emails but not all. It has worked beautifully in the past but no longer. What can I do to get all emails?

    I would just explain that this just started happening, that nothing has changed on the phone, that it is an original iPhone and I wondered if they are implementing a change in coverage with their Edge network in my area.
    If you restore your phone, you will be given an option to back up your phone at the beginning of the process (see step 6 here: http://support.apple.com/kb/HT1414).  You will be given the option to restore to that backup at the end of the restore process.  Your messages are stored in the backup so restoring to the backup will return the messages to your phone.  Be sure to import your photos and videos to your computer (see http://support.apple.com/kb/HT4083) and back up your contacts somewhere before restoring your phone as these sometimesget lost in the restore process.

  • Some colors in the HP tri-color cartridges dry up and stop working only a few weeks after purchase

    HP Deskjet 4180
    Genuine HP Tri-Color #22 ink cartridge and Black #21 ink cartridge
    Windows 7
    Test printing from Photoshop, Windows Picture Viewer and GIMP.
    Some colors in the HP tri-color cartridges dry up and stop working only a few weeks after purchase.
    The experience that I'm having currently contradicts very good, accurate color from HP cartridges in the past from RGB images that I've printed successfully with this printer.  I've previously got excellent color from the true HP ink cartridges on this Deskjet 4180 printer.
    But today it is obvious that the yellow is not flowing from this cartridge that was installed only a few weeks ago.  And my ink levels are at 50 percent, and they were even higher when I started today... see the screenshots below.
    I'm printing from Photoshop, but for some tests I tried printing from two other applications today but I'm always getting these results that indicate that there is no yellow printing... this is much worse than just a bad color profile.  I'm an experienced photo retoucher and I have a long history of dealing with inkjet printing in the work place with all kinds of printers.
    I know that inks can dry up in their cartridges if they don't get printed with every few weeks and if the printer isn't maintained.  I purchased these new cartridges only about three weeks ago and the first test prints and some prints two weeks ago came out perfect.
    But today this is the result I'm getting... screenshots below show the original RGB image and an actual scan of the bad print results I'm getting, indicating that no yellow is flowing from the HP tri-color cartridge.  And a screenshot of the ink level indicator panel is at the bottom.
    Why is the yellow ink drying up and not flowing so quickly?  How can I prevent this besides doing semi-weekly prints to keep the inks from drying up?  I'm in a fairly humid climat, so dry air is not the problem.  The contact points on the cartridge are clean.
    Does HP guarantee their cartridges for this kind of thing?
    Good color - original RGB image...
    Bad color - actual scan of bad print with no yellow, below...
    Ink levels after test printing...
    Thanks for any help.
    digi

    Well, here is the answer I was looking for, only arrived at by way of my own further investigation and experimentation.
    It seems that no matter who I asked about this problem, I always got the same questions and answers.
    For example, the people at the HP 800 number for consumer help, where it seemed I was not talking to someone who was actually familiar with the product, because they came to the conclusion that I need to buy a new HP printer... wow, isn't that a big surprise for an HP employee to say, "Just buy a new one!".
    No one, and I mean no one, would seem to be able to listen to or understand what I wrote in my original question on this thread about how this printer prints fine when I first put in a new ink cartridge, and then just a few weeks later one or two of the colors seem to be dried up and they won't print.
    And it seems that somewhere I read that you need to print a test maintenance print every month or so to keep the inks from drying up... but the inks seem to be drying up in less than three weeks now, even though I used to be able to go for months without doing a print and the inks would still be fine.
    So when I was talking to someone in India, Malaysia or the Philippines at the HP 800 customer phone support number, after going through so much crap about whether this printer was still in warranty just to have a simple question answered you'd think I was trying to launch nuclear missiles and my launch codes weren't current.
    And it was much the same situation to get on HP's "Live Chat" customer service on the net, and then they'd go through the same line of questions and answers as the support people on the HP 800 phone line...
    Q: "Do you have dirty nozzles on your ink cartridges?"
    A: "No, like I said in my original statement, I cleaned those and they weren't dirty to begin with."
    Response: "Because you need to clean those every so often, you know."
    Q: "Did you try cleaning the contacts on the cartridges?"
    A: "Yes, like I said in my original statement, I already did that."
    Response: "Because you need to clean those contacts every so often, you know."
    Q: "Did you try putting in a new cartridge?"
    A: "Yes, like I said in my original statement, this cartridge is nearly new and it shows a 90% ink level."
    Response: "Because you need to put in new cartridges when the ink runs out, you know."
    Q: "Did you do a test print?"
    A: "Yes, like I said in my original statement, I did a test print and that's what is telling me that the yellow and magenta are not printing any longer."
    Response: "Because that's how you can tell if any colors aren't printing, you know."
    So is anyone else seeing a pattern here?  It's not like I'm talking or live chatting with a real human being, but maybe an automated voice prompt system that only has an A, B, C   or   1, 2, 3   type of response system that it's working from. 
    The people hear a answer, and regardless of what that question was in the troubleshooting category that they are in, they just have a stock response that seems to bypass what the customer's answer was, so it's like I'm talking or live chatting with a machine that is uttering its responses in a fixed pattern, regardless of what I'm saying.
    HP customer service is like talking to someone who isn't listening, so often they ask their next question, but I just answered that question with my previous answer.
    Like I said, the way it used to be, HP or even after market ink cartridges could sit for months without doing a maintenance print and I would still get a perfect print every time.  And that's pretty typical for maybe an older person who isn't printing prints that often, but they just want to print one every few months or so, like my mom, with her HP printer, who I've been troubleshooting this problem for.
    Or even with my own large format Epson printer or any of the pro level inkjet printers and even IRIS printers that I've used in the workplace over the course of the last 20 years... you could do a print every two months and there was no problem with dried up inks.
    And I know somewhere in the past  I read that the maintenance print that the instructions was recommending be printed only needed to be done every 4 to 6 weeks to keep the inks from drying up, although when I go through the entire full blown PDF instruction manual now I can't find ANYTHING about how often a maintenance print needs to be done... that's right, nothing!
    But on Christmas eve I once again exchanged my last, dried up HP tri-color ink cartridge at a Walgreens store where my mom had purchased it months prior (and the guy was nice enough to exchange it even after 5 months)  which was yet another HP tri-color ink cartridge that had at least two of it's colors dry up after only a few weeks.  At that Walgreens they had been nice enough to replace three prior HP tri-color ink cartridges with the same problem in the last year, and before that three different after market, off brand tri-color ink cartridges from another store had dried up after only a few weeks.
    So the guy at Walgreens told me that now  with HP cartridges you need to do a maintenance test print EVERY WEEK in order to keep the inks from drying up... THAT'S EVERY WEEK YOU ARE NOW SUPPOSED TO DO A TEST PRINT FOR MAINTENANCE.
    Now, you DO NOT need to do one of the test prints where it prints a photo of a pear, which uses quite a bit of ink, but you can just do one of the self test prints where you hold down on the CANCEL button and then press the COLOR COPY button and it prints a quick test page with just a little color and a lot of B&W text, and that's apparently enough.
    And that seems to be enough to keep the ink cartridges from drying up, the way they seem to be otherwise doing so quickly now, as opposed to how HP and other brand ink cartridges used to.
    And in fact, now after about a month, after doing weekly self test prints, the ink cartridges are still flowing well and they just did some full color prints quite nicely... ALERT THE MEDIA AND ANYONE WHO CONSIDERS THEMSELVES HP PRINTING EXPERTS!
    So the questions I would ask myself are these...
    First, why is it that NO ONE at HP customer service knew this, whether it be on the HP 800 phone support or on the HP "Live Chat" with people in India, Malaysia and the Philippines, or even here on the HP Help Forum with so-called EXPERTS from HP?
    Second, how have the inks changed so that in the past, you didn't need to do maintenance prints every week, but maybe every two months at the most, in order to keep the inks from drying up, but now the inks dry up in a matter of less than two weeks unless a maintenance print is done once a week?
    Have HP and other ink makers changed the formula of their inks so they dry up much faster, forcing people to buy new cartridges when the last ink cartridge is still at a 90% level with dried up ink?
    And as a result, are people on the HP 800 customer phone support line and on HP "Live Chat" telling people that they need to buy a new printer, when in actuallity their ink cartridges are just drying up within a new record short period of time?
    You tell me, HP experts.

  • When I try to work with some photos Imovie gets stuck and then it stops to work at all. It happens only with some specific photos,is there a way to repair them?I can't go on this way,help me please

    When I try to work with some photos Imovie gets stuck and then it stops to work at all. It happens only with some specific photos,is there a way to repair them?I can't go on this way,help me please

    Hi,
    The movie is probably MPEG format.
    QuickTime Pro and iMovie cannot transcode audio contained in MPEG movies.
    Try to convert with SimpleMovieX or MPEG Streamclip instead.
    http://www.aeroquartet.com/SimpleMovieX/
    http://www.squared5.com
    Regards, BJ

  • How do I keep a page as my home page when dragging icon to left of URL to house image & confirming that I want it as home page works only for current session, so when Firefox next opened, I end up with some stupid search page which McAfee doesn't like?

    A couple of days ago, I connected to the Internet as usual & opened Firefox, only to be greeted by an almost blank screen with a Google-type search box in the middle & this message from McAfee:
    "Your default search settings have changed. This may pose a security risk. Would you like to restore them to McAfee Secure Search to provide a safer searching experience?"
    instead of my usual home page (BT Yahoo). I naturally clicked on the "Yes" option in the message, but rather than restoring my BT Yahoo home page, all that did was to insert the McAfee logo to the left of the search box in the top right-hand corner of the screen. The first time it happened, I had to search for the BT Yahoo page & then followed the standard procedure for setting it again as my home page. It worked only for that session: each time I shut down Firefox or restarted my computer after that, all I got was the blank "search page" & restoring the previous session was the only way to get back to BY Yahoo. How on earth do I make the home page setting permanent?
    As far as I'm aware, I have done nothing to alter my search settings. However, I am anything but computer-literate, so I may have done/pressed something without realising it, but trying to understand what is now happening is far beyond my limited IT skills.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • Audigy 2 ZS+Sounds works only if mediaplayer has played some video and you leave mediaplayer

    sounds work only in movies with mediaplayer..i have installed ffdshow what pops up when i start videos..if i try to play winamp only, music plays only -2 second and stops but with mediaplayer on backround it will play mp3..
    in mediaplayer sounddevice is audigy 2 but winamp directsound output is working only with primary sound device, if i change it to audigy 2 then the music stops
    also tryed dxdiag and there sound page..it plays directsound test only if mediaplayer is on..without mediaplayer nothing but at music page it plays that test without mediaplayer on in backround
    Even reinstalling WIN XP didn't help..same thing with audigy 2 cd full installion
    Can anyone HELP me..And sorry about my bad english
    Motherboard is DFI Ultra-D

    My guess is that your PowerDVD and WinDVD versions don't have ES support and you're using the programs to decode. This might be the case if you are configuring the programs for multiple speakers. If you are, try configuring them for SPDIF output, then make sure the soundcard is configured to decode AC3/DTS (it probably is). Does that help?
    -Dave
    [email protected]

  • I can only see some of the info (e.g. the email Facebook gives you) for some friends in Contacts. I can see everything for others. Their b-days aren't listed in my Contacts (but these friends have their B-days on their profile on FB). Can anyone help?

    Hello,
    I can only see some of the information of my Facebook friends in my Contacts. For example, a friend has a birthday today. I received an email that she and another friend have birthdays this week. I received a notification on my iPhone and iPad that her birthday was today. It was never displayed in my Notification Center or Calendar beforhand, like it's displayed for other friend's (for other friends, it's displayed in the Notification Center, with the Calendar icon, 1 day before). I looked at every setting I could think of and the Help pages on Facebook. Nothing is working. My friend with the birthday today has her birthday openly listed on her Profile information on her Facebook page. In my contacts, her Facebook email (the one Facebook assigns you when you join) is listed. However her picture and birthday are not listed. I displayed my Facebook Contacts only, and roughly 20 showed up and not the rest. It's like the devices are not recognizing those people and putting their information in the respective places. I have an iPad 3rd Gen, iPhone 5, and MacBook Pro (purchased in January 2013. I hope that helps) and ALL the software updates are current. Can anyone help? Also, my MacBook cannot access my Contacts from Yahoo. Despite my typing in the correct password repeatedly as well as deleting and adding the Yahoo account again. I'd be grateful for any and all help. Thank you. 

    Step by step, how did you arrive at seeing this agreement?

Maybe you are looking for