"Gene Vital" <nothankyou@msn ew.com> wrote in message
news:e5oTwN7WFH A.3760@TK2MSFTN GP15.phx.gbl...[color=blue]
> Can someone point me in the right direction on how to send files to the
> Recyle Bin using C#.[/color]
AFAIK, it's not in the framework up to 1.1. I'm not sure if this is
something that has been included in 2.0 (currently beta) or not.
--
Tim Wilson
..Net Compact Framework MVP
"Gene Vital" <nothankyou@msn ew.com> wrote in message
news:ukuMpb8WFH A.712@TK2MSFTNG P14.phx.gbl...[color=blue]
> Tim Wilson wrote:[color=green]
> > The way I've done this in the past is to p/invoke SHFileOperation .
> > http://www.pinvoke.net/default.aspx/...HFileOperation
> >[/color][/color] http://msdn.microsoft.com/library/de...eoperation.asp[color=blue][color=green]
> >[/color]
>
>
> Thanks for the links, that is the direction I was going.
>
>
> I thought it would be built into the frameworks and just wanted to check
> and makes sure I didn't miss something.[/color]
Tim Wilson wrote:[color=blue]
> AFAIK, it's not in the framework up to 1.1. I'm not sure if this is
> something that has been included in 2.0 (currently beta) or not.
>[/color]
ok, that works nicely. pointer to how to undelete from the recycle bin ?
I haven't had a need to go "the other way" and restore a file from the
recycle bin. So I can't give you a direct pointer but, after doing some
poking around, it seems that a few people recommend reading the article
linked below for information on dealing with the recycle bin. I'm not sure
if it will give you all the information you need but it should give you a
start.
"Gene Vital" <nothankyou@msn ew.com> wrote in message
news:OdrsSx8WFH A.1148@tk2msftn gp13.phx.gbl...[color=blue]
> Tim Wilson wrote:[color=green]
> > AFAIK, it's not in the framework up to 1.1. I'm not sure if this is
> > something that has been included in 2.0 (currently beta) or not.
> >[/color]
> ok, that works nicely. pointer to how to undelete from the recycle bin ?[/color]
Comment