Comments: 26
drsouvikkumar [2011-03-22 14:34:19 +0000 UTC]
i tried it for utorrent, but after successfully replaced icon, utorrent did not open,
👍: 0 ⏩: 1
SuprVillain In reply to drsouvikkumar [2011-03-22 15:53:32 +0000 UTC]
some, not many, apps are protected like that. Sorry. Your going to have to either re-download, or if you made a backup.exe, rename and use that.
👍: 0 ⏩: 0
zero1one0 [2011-01-28 03:09:37 +0000 UTC]
How do you actually revert to the original icon?
👍: 0 ⏩: 1
SuprVillain In reply to zero1one0 [2011-01-28 03:48:42 +0000 UTC]
If you left the "Backup before Replace" checkbox clicked, simply go to the folder, delete the file with the new icon, and find the file that has .bak at the end of the file name. Rename the file, just delete the ".bak" from the file name. Windows will ask you if you want to do this, click Yes / Ok / whatever it says. Now you have back the original file with the original icon.
👍: 0 ⏩: 0
SuprVillain In reply to samiwieciekto [2011-01-26 16:48:29 +0000 UTC]
vb.net has a LOT of new things, and it can do so much it just fries my mind. I just need to take my time with it and get used to the new syntax i guess.
Also, VB has a runtime dependancy of about 9MB, as where .Net needs it's framework, and that is about 20MB, and there is .Net 1, 2, 3, 3.5, and now 4. If some one does not have the framework for the app that i wrote it's filesize increases alot, due to them having to download the framework.
👍: 0 ⏩: 1
samiwieciekto In reply to SuprVillain [2011-01-26 17:14:47 +0000 UTC]
.NET 2.0 is standard now (since XP SP1 if I recall) - You can change targeted framework in project page to desired one.
On syntax - it is mostly the same - what gives You most struggle?
👍: 0 ⏩: 1
SuprVillain In reply to samiwieciekto [2011-01-26 17:20:52 +0000 UTC]
almost all of it. I have tried importing some of my vb6 source code, code only, mind you, like classes and modules, and they dont work. I knew that there would be compatability problems, but that is redicilous.
👍: 0 ⏩: 1
samiwieciekto In reply to SuprVillain [2011-01-26 17:32:06 +0000 UTC]
Example of module, class - its function - You tried to convert?
👍: 0 ⏩: 1
SuprVillain In reply to samiwieciekto [2011-01-26 17:36:00 +0000 UTC]
no, i have not found a FREE vb6 to vb.net converter yet. Visual Studio 2008 is what i have.
👍: 0 ⏩: 1
samiwieciekto In reply to SuprVillain [2011-01-26 17:39:28 +0000 UTC]
Meant what was function of what You tried to convert - did You use any API references, stream methods etc.
👍: 0 ⏩: 1
SuprVillain In reply to samiwieciekto [2011-01-26 18:03:05 +0000 UTC]
yes to api references, and stream methods really confuse me.
👍: 0 ⏩: 1
SuprVillain In reply to samiwieciekto [2011-01-26 18:39:54 +0000 UTC]
nope. i have not looked at it. thanks for the suggestions!
👍: 0 ⏩: 1
samiwieciekto In reply to SuprVillain [2011-01-26 22:32:15 +0000 UTC]
Black won't be returned 100% correctly (simplifying due to gethicon) - but yes.
👍: 0 ⏩: 1
SuprVillain In reply to samiwieciekto [2011-01-26 22:36:19 +0000 UTC]
black is not that big of a problem. I was thinking of doing a bitblt from the actual readout screen to a picturebox, then have the image load up the picturebox.image and set it as the icon, once a second.
👍: 0 ⏩: 1
samiwieciekto In reply to SuprVillain [2011-01-26 23:57:57 +0000 UTC]
WRONG Don't use picturebox, plus there is no need for bitblt, for what sake do You need creating dc's while You can keep it on basic level. On once a second I suggest setting - when icon changes enough to get change noticed. Also if You would decide to skip paint and use updatelayeredwindow instead it in theory could be considerably faster, plus easier to maintain like for example running in separate thread.
class soloimage
inherits control
sub new()
setstyle((...)doublebuffered or allpainting(...))
updatestyles()
end sub
protected overrides sub onpaint(...)
with e.graphics
using bufor=new bitmap(300,300)
using gr(...)
(...)
end using
using icon_image=new bitmap(16,16)
.drawimage(bufor,0,0,16,16)
end using
end using
.draw(...)
end with
end sub
end class
👍: 0 ⏩: 0
iDR3AM [2011-01-26 06:54:37 +0000 UTC]
Cool stuff!
👍: 0 ⏩: 0
sgtevmckay [2011-01-26 00:44:13 +0000 UTC]
\o/
👍: 0 ⏩: 0
tonosworld [2011-01-25 23:08:50 +0000 UTC]
Nice app!
👍: 0 ⏩: 1
SuprVillain In reply to tonosworld [2011-01-25 23:21:46 +0000 UTC]
Thanks! Glad that you like it!
👍: 0 ⏩: 0