Click here to Skip to main content
15,908,264 members
Home / Discussions / C#
   

C#

 
QuestionUsing IShellFolder.BindToObject Pin
daouner25-Sep-05 4:17
daouner25-Sep-05 4:17 
Hello!

Can someone please explain me how to get the IShellFolder interface of a subfolder after calling IShellFolder.EnumObjects() and then IEnumIDList.Next() (an example will be helpful). The interface I have implemented is:

<br />
[ComImport]<br />
	[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]<br />
	[Guid("000214F2-0000-0000-C000-000000000046")]<br />
	public interface IEnumIDList<br />
	{<br />
		[PreserveSig]<br />
		Int32 Next(UInt32 celt,<br />
			[MarshalAs(UnmanagedType.LPArray)]<br />
			IntPtr[] rgelt,<br />
			out UInt32 pceltFetched<br />
			);<br />
<br />
		[PreserveSig]<br />
		Int32 Skip(UInt32 celt);<br />
<br />
		[PreserveSig]<br />
		Int32 Reset();<br />
<br />
		[PreserveSig]<br />
		Int32 Clone(out IEnumIDList ppenum);<br />
	}<br />


Thank you!
QuestionSerialize an Object with a Hashtable of Objects Pin
Gilad Kapelushnik25-Sep-05 3:35
Gilad Kapelushnik25-Sep-05 3:35 
AnswerRe: Serialize an Object with a Hashtable of Objects Pin
S. Senthil Kumar25-Sep-05 4:26
S. Senthil Kumar25-Sep-05 4:26 
QuestionSerialize an Object with a Hashtable of Objects Pin
Gilad Kapelushnik25-Sep-05 3:35
Gilad Kapelushnik25-Sep-05 3:35 
QuestionHow can I know if a Class has an instance object in Computer's memory ? Pin
Anonymous25-Sep-05 1:46
Anonymous25-Sep-05 1:46 
AnswerRe: How can I know if a Class has an instance object in Computer's memory ? Pin
S. Senthil Kumar25-Sep-05 4:28
S. Senthil Kumar25-Sep-05 4:28 
GeneralRe: How can I know if a Class has an instance object in Computer's memory ? Pin
mav.northwind25-Sep-05 20:09
mav.northwind25-Sep-05 20:09 
QuestionWord doc in Web Browser Control Pin
mirano25-Sep-05 0:28
mirano25-Sep-05 0:28 
AnswerRe: Word doc in Web Browser Control Pin
Anonymous25-Sep-05 23:52
Anonymous25-Sep-05 23:52 
Questioncache question Pin
snouto24-Sep-05 16:58
snouto24-Sep-05 16:58 
AnswerRe: cache question Pin
Dave Kreskowiak24-Sep-05 18:34
mveDave Kreskowiak24-Sep-05 18:34 
AnswerRe: cache question Pin
Daniel Grunwald24-Sep-05 21:52
Daniel Grunwald24-Sep-05 21:52 
Questionchecking LAN connectivity Pin
g00fyman24-Sep-05 16:19
g00fyman24-Sep-05 16:19 
AnswerRe: checking LAN connectivity Pin
mav.northwind24-Sep-05 20:38
mav.northwind24-Sep-05 20:38 
GeneralRe: checking LAN connectivity Pin
g00fyman24-Sep-05 20:48
g00fyman24-Sep-05 20:48 
GeneralRe: checking LAN connectivity Pin
g00fyman24-Sep-05 21:33
g00fyman24-Sep-05 21:33 
GeneralRe: checking LAN connectivity Pin
mav.northwind25-Sep-05 19:58
mav.northwind25-Sep-05 19:58 
GeneralRe: checking LAN connectivity Pin
g00fyman25-Sep-05 21:17
g00fyman25-Sep-05 21:17 
QuestionCheck Box Pin
Anonymous24-Sep-05 16:17
Anonymous24-Sep-05 16:17 
AnswerRe: Check Box Pin
miah alom25-Sep-05 7:11
miah alom25-Sep-05 7:11 
QuestionProblem in Code : SEE COMMENT** Pin
Anonymous24-Sep-05 16:13
Anonymous24-Sep-05 16:13 
AnswerRe: Problem in Code : SEE COMMENT** Pin
Guffa24-Sep-05 22:00
Guffa24-Sep-05 22:00 
QuestionControl Array Pin
StephenMcAllister24-Sep-05 10:49
StephenMcAllister24-Sep-05 10:49 
AnswerRe: Control Array Pin
Daniel Grunwald24-Sep-05 21:34
Daniel Grunwald24-Sep-05 21:34 
GeneralRe: Control Array Pin
StephenMcAllister24-Sep-05 21:57
StephenMcAllister24-Sep-05 21:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.