showing icon with file name

Here you can talk about C++ And C# And Other languages programming.

Postby nooob » Wed Feb 07, 2007 9:16 am


ok i am gonna stick to your way

but the last thing is how to display the icon of main gui with the file name....if you got time plz help me with that and hopefully i am done with this :lol: with your help

as you said...the icon of IE is displayed now :P with file name

thx alot


nooob
Water can make holes in rocks!
nooob
imFiles Junior
imFiles Junior
 
Posts: 52
Joined: Sun Jul 23, 2006 10:23 am

Postby BattleStar-Galactica » Wed Feb 07, 2007 9:42 am

check about extract icon from a file

many examples on google

example

myicon=extracticon(mypath)
maingui.icon=myicon
maingui.title=mypath
Big math problem
2 - 1 = 0 = without you I'm nothing
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby nooob » Wed Feb 07, 2007 9:51 am

ok i will try

i appreciate ur time and help
ty

noob
Water can make holes in rocks!
nooob
imFiles Junior
imFiles Junior
 
Posts: 52
Joined: Sun Jul 23, 2006 10:23 am

Postby nooob » Wed Feb 07, 2007 11:07 am

battlestar...one thing that u could explain is that you register file type every time the program is run!!!


is that how it should be?

i mean once you install such a program and run it, the file type will be registered and then whenever you run it again you will be registering file type again and again.....right?

nooob
Water can make holes in rocks!
nooob
imFiles Junior
imFiles Junior
 
Posts: 52
Joined: Sun Jul 23, 2006 10:23 am

Postby BattleStar-Galactica » Wed Feb 07, 2007 3:03 pm

nope, you have to register one time; the example I gave you is just an example to show how it can be done.

one time only becuz it writes to your registry and will exist until you remove it or reinstall new OS:D if you want to know if it has been registered, just try to read that key if that key existed in your registry that mean you dont have to register it again.
Big math problem
2 - 1 = 0 = without you I'm nothing
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby nooob » Wed Feb 07, 2007 3:50 pm

ok good..
ty :)

nooob
Water can make holes in rocks!
nooob
imFiles Junior
imFiles Junior
 
Posts: 52
Joined: Sun Jul 23, 2006 10:23 am

Previous

Return to C++, C# And Others Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests