Hi, I am trying to access the images rendered within frame or iframe in HTML web page using C#.Net. I got one reference in this artical http://support.microsoft.com/kb/196340 and tried the way that has been suggested ---------------------------------------------------------------------------------------------- Guid guidIOleContainer = typeof(IOleContainer).GUID; // Here oDoc is the mshtml.HTMLDocument object IntPtr punk = Marshal.GetIUnknownForObject(oDoc); object iOleContainer = new object(); IntPtr ppvContainerIntPtr = Marshal.GetIUnknownForObject(iOleContainer); //But this always fails int hr = Marshal.QueryInterface(punk, ref guidIOleContainer, out ppvContainerIntPtr); if (ppvContainerIntPtr != IntPtr.Zero) { IOleContainer pOleContainer = (IOleContainer)Marshal.PtrToStructure(ppvContainerIntPtr, typeIOleContainer); Marshal.Release(punk); object[] objs = new object[10]; pOleContainer.EnumObjects((int)tagOLECONTF.EMBEDDINGS, objs); IEnumUnknown pOleEnumObject = objs[0] as IEnumUnknown; MessageBox.Show(pOleEnumObject.ToString()); } ---------------------------------------------------------------------------------------------- But The problems are : Marshal.QueryInterface for IoleContainer always fails. How can I access the IOleContainer interface using doucment object in .net. I have tried frames collection of HTMLDocumentClass but it is also not working. Is there any other way to access document object of frames or Iframes. Thanks, Hetal