Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

[VB - C#] How to add flags (For RATS or whatever) [TUT]

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.
been post before but nice tut (shorter)
I couldnt add it to my lisview which is in details view in C#.
I knew it but yeah nice work and usefull for the new members
(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.
Why do I get errors?..maybe I am doing something wrong or donot know.. :/ :( need some help plZ .
(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
(Oct 28, 2010 09:19 AM)xSilent Wrote:  Import System.Text and System.Runtime.InteropServices
Thank you!I had put the System.Runtime.InteropServices but the other..Nop :) !!
Thank you for this release xSilent.
Wow, even with flags, really?

12 downloads and 5 comments.
I have all the flags but i want to add it to my listview so like on cybergate it shows the flag in listview.
hi, thx 4 the Flag tut

🤗
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!
(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 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!

I already did show how to do it. I'm guessing you didn't pay attention to the source.
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.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by 6577657534735Jun 20, 2019 09:48 PM 5 176 Jun 20, 2019 09:48 PM
Last Post: doxerhacker
[C#] by AurianaJul 5, 2018 06:29 PM 0 195 Jul 5, 2018 06:29 PM
Last Post: Auriana
[C#] by FireNiceJun 29, 2016 01:47 AM 11 837 Jun 29, 2016 01:47 AM
Last Post: ubbelol