Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.sdk
File Associations
trinitypete
10/9/2003 12:41:00 PM
Hi all,
Hopefully someone may be able to help with this little
problem.
Is there a way in c# of obtaining the registered icon for
a file type via the .Net Framework.
Thanks in advance. Pete.
3 Answers
Siva M
10/9/2003 1:06:00 PM
0
Hi,
See if this article can be of any help:
http://www.codeproject.com/csharp/fileicon.asp?target=file%7Cextens...
"trinitypete" <support@trinity.com> wrote in message
news:2c8e01c38e62$9415ed30$3501280a@phx.gbl...
> Hi all,
>
> Hopefully someone may be able to help with this little
> problem.
>
> Is there a way in c# of obtaining the registered icon for
> a file type via the .Net Framework.
>
> Thanks in advance. Pete.
trinitypete
10/9/2003 2:23:00 PM
0
Thanks for the post, the article does do almost exactly
what I want but I didn't want to get down and dirty with
windows API, I thought there may be a way of doing it with
the framework.
Thanks, Pete.
>-----Original Message-----
>Hi,
>
>See if this article can be of any help:
>
http://www.codeproject.com/csharp/fil...
target=file%7Cextension%7Cicon
>
>
>"trinitypete" <support@trinity.com> wrote in message
>news:2c8e01c38e62$9415ed30$3501280a@phx.gbl...
>> Hi all,
>>
>> Hopefully someone may be able to help with this little
>> problem.
>>
>> Is there a way in c# of obtaining the registered icon
for
>> a file type via the .Net Framework.
>>
>> Thanks in advance. Pete.
>
>
>.
>
v-yiy
10/10/2003 2:37:00 AM
0
Hi Pete,
Are you intending to extract icons from other files?
As far as I know, it's not supported in current .NET Framework.
You need do it via PInvoke.
This is a great idea for a future product enhancement. I'd recommend that
you forward the recommendation to the Microsoft Wish Program, you may try
submitting a request on this site:
http://register.microsoft.com/mswish/sugg...
Please be free to let me know, if you still have questions on this issue.
Thanks for using MSDN Newsgroup!
Best regards,
Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties and confers no rights.
You should not reply this mail directly, "Online" should be removed before
sending, Thanks!
--------------------
| Content-Class: urn:content-classes:message
| From: "trinitypete" <support@trinity.com>
| Sender: "trinitypete" <support@trinity.com>
| References: <2c8e01c38e62$9415ed30$3501280a@phx.gbl>
<eDwloXmjDHA.1808@TK2MSFTNGP09.phx.gbl>
| Subject: Re: File Associations
| Date: Thu, 9 Oct 2003 07:22:36 -0700
| Lines: 30
| Message-ID: <2648c01c38e70$c9a15260$a601280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcOOcMmhjLspxGqAROeqkhbsI6ab3w==
| Newsgroups: microsoft.public.dotnet.framework.sdk
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.sdk:7723
| NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
|
| Thanks for the post, the article does do almost exactly
| what I want but I didn't want to get down and dirty with
| windows API, I thought there may be a way of doing it with
| the framework.
|
| Thanks, Pete.
| >-----Original Message-----
| >Hi,
| >
| >See if this article can be of any help:
| >
http://www.codeproject.com/csharp/fil...
| target=file%7Cextension%7Cicon
| >
| >
| >"trinitypete" <support@trinity.com> wrote in message
| >news:2c8e01c38e62$9415ed30$3501280a@phx.gbl...
| >> Hi all,
| >>
| >> Hopefully someone may be able to help with this little
| >> problem.
| >>
| >> Is there a way in c# of obtaining the registered icon
| for
| >> a file type via the .Net Framework.
| >>
| >> Thanks in advance. Pete.
| >
| >
| >.
| >
|
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
File Associations
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password