![]() |
|
[C#] [VB - C#] How to add flags (For RATS or whatever) [TUT] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] [VB - C#] How to add flags (For RATS or whatever) [TUT] (/showthread.php?tid=773243) Pages: Pages
1
2
|
[VB - C#] How to add flags (For RATS or whatever) [TUT] - xSilent - Oct 27, 2010 This is a tut on how to add flags to your RAT. First things first, you need flags: Link Here Now add a new image list and name it flags and add the flags. Spoiler (Click to View) Now you should already have a function to get the country, if not. Spoiler (Click to View) Before you add the client to the listview, start a loop such as: Spoiler (Click to View) Test Result Spoiler (Click to View) That's it. Have fun. * - no1me - Oct 27, 2010 been post before but nice tut (shorter) * - 321olos - Oct 28, 2010 I couldnt add it to my lisview which is in details view in C#. * - Ghostenigma - Oct 28, 2010 I knew it but yeah nice work and usefull for the new members * - xSilent - Oct 28, 2010 (Oct 28, 2010 01:47 AM)321olos Wrote: I couldnt add it to my lisview which is in details view in C#. You need to add the flags to the small image list on the listview. * - MadGod - Oct 28, 2010 Why do I get errors?..maybe I am doing something wrong or donot know.. :/ :( need some help plZ . * - xSilent - Oct 28, 2010 (Oct 28, 2010 09:16 AM)MadGod Wrote: Why do I get errors?..maybe I am doing something wrong or donot know.. :/ :( need some help plZ . Import System.Text and System.Runtime.InteropServices * - MadGod - Oct 28, 2010 (Oct 28, 2010 09:19 AM)xSilent Wrote: Import System.Text and System.Runtime.InteropServicesThank you!I had put the System.Runtime.InteropServices but the other..Nop :) !! * - Deceptive - Oct 28, 2010 Thank you for this release xSilent. * - xSilent - Oct 28, 2010 Wow, even with flags, really? 12 downloads and 5 comments. * - 321olos - Oct 28, 2010 I have all the flags but i want to add it to my listview so like on cybergate it shows the flag in listview. * - mundi_86 - Oct 29, 2010 hi, thx 4 the Flag tut 🤗 * - Speed13 - Nov 4, 2010 Please make a Tut on how can we add the flags to the listview which is in details! I have tried to add the imagelist to the SmallImageList of listview but I cound make it! I think that many people will want/need this! * - xSilent - Nov 4, 2010 (Nov 4, 2010 12:27 PM)Speed13 Wrote: Please make a Tut on how can we add the flags to the listview which is in details! I already did show how to do it. I'm guessing you didn't pay attention to the source. * - nathan72389 - Nov 5, 2010 i dont see the point in loading 240+ images into an image list when chances are you will only actually use 10~20 of them. i mean... if you want to eat up resources then ok, but imo it would be much easier and less resource intensive to just leave them on the HD and get the flag when a new user connect, add it to your image list and use it from there. if another user from the some country connects you already have the flag and can recycle the image. also... if im not mistaking, the way that microsoft has some of the country names, and the flag names ARE different. if you get a connection from these countries then you get no flag, and its the programmers problem. but if you leave them on the HD and there is a slight difference in the flag name Vs. the country name, its simple enough for the end user to go and change a filename. |