Iranian Programming Support

Welcome To Csharp TeaM Forum.
For Use All Forum Posts And See Links
Please Register
Thanks
www.Programming.MrForum.net
Csharp TeaM Administrator
Iranian Programming Support

Csharp TeaM

Top posting users this month

Latest topics

» html to c# source code convert help
by launchar Tue Dec 06, 2016 7:22 am

» User input
by nesraz Sun Dec 20, 2015 8:39 am

» darkhaste source mediaplayer baraye b4a
by parham01 Tue Dec 15, 2015 10:31 am

» Tolide esme file gheire tekrari
by sajjad3011 Fri Jul 31, 2015 5:00 pm

» 368 library basic 4 android
by alimusavi71 Fri Jul 17, 2015 6:45 pm

» نرم افزار دریافت لایسنس آنتی ویروس نود 32
by programmer-x Wed Jul 15, 2015 3:19 pm

» help for java applications
by launchar Wed Jul 01, 2015 12:25 am

» Nimbuzz id Maker auto Captcha & Auto add FlooD & id BloCker
by briant Sat Jun 20, 2015 12:46 pm

» best mobile server v.1.0.0 persian edition
by programmer-x Fri Jun 19, 2015 12:41 am

» plz help me i neez xml code for spy bot
by alone Sun Mar 22, 2015 9:30 pm

» Dialogs Lib {Basic 4 Android}
by abdo0o Mon Mar 09, 2015 4:02 pm

» Room + PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:06 am

» PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:03 am

» سی شارپ سورس
by tr0 Wed Dec 24, 2014 12:15 pm

» help plz auto maker ids
by launchar Wed Dec 17, 2014 5:57 pm

» Join Multi Id To Room + Captcha [ Badbuzz Team ] In Seri Ba AgsXMPP !!
by abdo0o Fri Dec 12, 2014 4:47 am

» Amoozesh Ersale Sms Dar B4a
by abdo0o Fri Dec 12, 2014 4:43 am

» help me pls mehran brother
by launchar Wed Dec 03, 2014 6:36 pm

» plz help code Refresh captcha join Room
by ayad53 Wed Dec 03, 2014 12:24 pm

» please Help Me For AutoCaptchaa kardan IdMaker
by abdo0o Tue Dec 02, 2014 12:12 pm

» source C# bot addlist sender by ==> Alone_051@n.c
by walahazrat Mon Dec 01, 2014 2:34 am

» s2a sender tro help me pls
by walahazrat Mon Dec 01, 2014 2:28 am

» Help For {Data id } C# asixmpp.dll
by abdo0o Sun Nov 30, 2014 11:17 pm

» Help C# {Join & Left With Remoter}
by $iahi Tue Nov 25, 2014 10:31 am

» Source Nimbuzz User Searcher By Mehr,an [ Badbuzz TeaM ]
by waseemmalik Wed Nov 19, 2014 11:35 am


    Help c#. Ban and member list remover with remoter

    Share
    avatar
    javad1
    Full Member
    Full Member

    Posts : 145
    Points : 254
    Thanks : -1
    Join date : 2013-08-31

    Open Help c#. Ban and member list remover with remoter

    Post by javad1 on Sat Jan 25, 2014 7:11 am

    سلام
    خب من میخوام ی بان وممبرلیست ریمور بنویسم با استفاده از ریموتر؛ یعنی وقتی ایدی بیاد روم بگم
    Start/mem
    Ya
    Start/ban
    شروع ب خالی کردن کنه و وقتی تمام شد بگه مثلا خالی شدن؛ پلیزکمک کنید؛مرسی
    avatar
    Mehran Mahmoudi
    Administrator
    Administrator

    Posts : 485
    Points : 780
    Thanks : 194
    Join date : 2013-09-06
    Age : 19
    Location : Iran , Qazvin , Qazvin

    Open Re: Help c#. Ban and member list remover with remoter

    Post by Mehran Mahmoudi on Sat Jan 25, 2014 12:42 pm

    Hi
    Khob Man Alan Nemidunam Daqiqan Behet Chi Begam Khande
    To Age Remote Ro Balad Bashi , Neveshtane Ban & Member List Remover Ro Ham Balad Bashi Ina Ro Kenar Ham Bezar Ro Softeto Dorost Kon.
    --------------
    Code:
    if(msg != null && msg.Type==MessageType.groupchat)
    {
    if(msg.Body.ToLower().Substring(0,6)=="start/")
    {
    if(msg.From.Resource.ToLower()==txtRemoter.Text.ToLower())
    {
    string strMehr = null;
    strMehr = msg.Body.ToLower().Remove(0,6);
    switch (strMehr)
    {
    case "ban":
    //inja codeHat baraye remove kardane ban list
    break;
    case "mem":
    //inja ham baraye remove kardane member list
    break;
    default:
    x.Send(new agsXMPP.protocol.client.Message(new Jid(msg.From.Bare),MessageType.groupchat,"Error"));
    break;
    }
    }
    }
    }
    ------
    Komake Bishtar Khasti Bego.
    Movafagh Bashi.






    Anjomane Barname Nevisane Basic4Android
    __

    [You must be registered and logged in to see this link.]

    avatar
    Nima
    Csharp Admin
    Csharp Admin

    Posts : 210
    Points : 326
    Thanks : 56
    Join date : 2013-07-08
    Age : 23
    Location : Iran-AmoL

    Open Re: Help c#. Ban and member list remover with remoter

    Post by Nima on Sat Jan 25, 2014 12:47 pm

    salam . doste aziz shoro kon be neveshtan ta harjasho ke baladi .
    harja moshkel dashti matrah kon ! Good Luck





    avatar
    javad1
    Full Member
    Full Member

    Posts : 145
    Points : 254
    Thanks : -1
    Join date : 2013-08-31

    Open Re: Help c#. Ban and member list remover with remoter

    Post by javad1 on Sat Jan 25, 2014 3:53 pm

    دوستان من ی راه حل دارم اونم برا بن وممبرلیست ی void بنویسم؛مثال

    Private void banremove()
    {
    Code banlist remover
    }

    وبراممبرهم همینطور؛ بنظرتون این درسته؟
    avatar
    Mehdi izadi
    Administrator
    Administrator

    Posts : 793
    Points : 1182
    Thanks : 288
    Join date : 2013-06-06
    Age : 25
    Location : Iran,Hormozgan,Bandare Lengeh

    Open Re: Help c#. Ban and member list remover with remoter

    Post by Mehdi izadi on Sat Jan 25, 2014 5:23 pm

    are . badesh tooye buttonet ya remotet in void ro bayad bekhuni injoori:
    Code:
    banremove();
    avatar
    javad1
    Full Member
    Full Member

    Posts : 145
    Points : 254
    Thanks : -1
    Join date : 2013-08-31

    Open Re: Help c#. Ban and member list remover with remoter

    Post by javad1 on Sat Jan 25, 2014 11:08 pm

    مرسی؛دمتون گرم
    avatar
    javad1
    Full Member
    Full Member

    Posts : 145
    Points : 254
    Thanks : -1
    Join date : 2013-08-31

    Open Re: Help c#. Ban and member list remover with remoter

    Post by javad1 on Tue Feb 04, 2014 1:02 am

    Salami 2bare. Man ino anjam dadm nashud. Plz yeki bege eshkal az kojay in cod hast.
    Code:
            private void member()
            {
                progressBar1.Value = 0;
                progressBar1.Maximum = listBox1.Items.Count;
                for (int i = 0; i < listBox1.Items.Count; i++)
                {
                    cht.Send("<iq type='set' to='" + textBox5.Text + "@conference.nimbuzz.com'><query xmlns='http://jabber.org/protocol/muc#admin'><item jid='" + listBox1.Items[0].ToString() + "' affiliation='none'/></query></iq>");
                    listBox1.Items.RemoveAt(0);
                    progressBar1.Value += 1;
                    label7.Text = listBox1.Items.Count.ToString();
                    Thread.Sleep(1);
                }
                label7.Text = "";
                cht.Send("<message type='chat' to='" + textBox6.Text + "@nimbuzz.com' id='qip_256'><body>All List Member Get Clear ;)</body></message>");
                progressBar1.Value = 0;
            }
    avatar
    Mehdi izadi
    Administrator
    Administrator

    Posts : 793
    Points : 1182
    Thanks : 288
    Join date : 2013-06-06
    Age : 25
    Location : Iran,Hormozgan,Bandare Lengeh

    Open Re: Help c#. Ban and member list remover with remoter

    Post by Mehdi izadi on Tue Feb 04, 2014 3:06 am

    Code:
    listBox1.Items.RemoveAt(0);

    Code:
    listBox1.Items[0].ToString()

    Ino Daqiqan Be Che Manzoor Gozashti Tooye Code Hat ?
    Mikhay Chikar Kone ???
    To Halqat Ro i Tarif Kardi , Un 0 Chikar Mikone Unja?
    Be Jaye 0 Az i Estefade Kon Ke Khodet Tarifesh Kardi .
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Sharte Stop Shodanet Kojast ?
    Code Hat Eshtebahe.
    Bayad Khate Aval Bad Az

    Code:
            private void member()
            {

    Benevisi Ke Masalan Age Value ProgressBare1 == Shod Ba ListBox1.Items.Count
    Un Moqe Dobare Biad Value ProgressBare 1 Ro Mosavie 0 Gharar Bede
    Va In Xmlet Ro Send Kone:

    Code:
    cht.Send("<message type='chat' to='" + textBox6.Text + "@nimbuzz.com' id='qip_256'><body>All List Member Get Clear ;)</body></message>");
    Va Dar Khatte Akharet Ham Biad Thread Ya Timer Ro Stop Kone.
    Dar Edame Tooye Else Et Halqe Ro Mizari.:
    Code:
                for (int i = 0; i < listBox1.Items.Count; i++)
                  {
                    cht.Send("<iq type='set' to='" + textBox5.Text + "@conference.nimbuzz.com'><query xmlns='http://jabber.org/protocol/muc#admin'><item jid='" + listBox1.Items[i].ToString() + "' affiliation='none'/></query></iq>");
                    progressBar1.Value += 1;
                    label7.Text = listBox1.Items.Count.ToString();
                  }

    Ye Hamchin Chizi.
    Test Nakardam Codi Ro Ke Goftam Vali Javab Mide  Ghahr 
    avatar
    javad1
    Full Member
    Full Member

    Posts : 145
    Points : 254
    Thanks : -1
    Join date : 2013-08-31

    Open Re: Help c#. Ban and member list remover with remoter

    Post by javad1 on Tue Feb 04, 2014 4:05 am

    متی جان؛ بخداگیج شدم_چی نوشتی ؟
    اگه کودم اشتباست خوبی زحمت صحیحشوبده؛ اینا ک دادی با توضیحاتش آدموگیج کرد؛
    avatar
    virus9010
    Administrator
    Administrator

    Posts : 275
    Points : 455
    Thanks : 142
    Join date : 2013-06-06
    Age : 22
    Location : Iran , Gilan , Astara

    Open Re: Help c#. Ban and member list remover with remoter

    Post by virus9010 on Tue Feb 04, 2014 5:28 am

    agha lvleti Neveshte dige , Kojash gij konande Hast

    Eslah Code :

    Code:
            private void member()
            {
                progressBar1.Value = 0;//Meghdar progressBar1 0
                progressBar1.Maximum = listBox1.Items.Count;// Maximum progressBar1 = ba tedade Item haye listbox1
                for (int i = 0; i < listBox1.Items.Count; i++)//halghe For
                {
                    cht.Send("<iq type='set' to='" + textBox5.Text + "@conference.nimbuzz.com'><query xmlns='http://jabber.org/protocol/muc#admin'><item jid='" + listBox1.Items[i].ToString() + "' affiliation='none'/></query></iq>");
                    listBox1.Items.RemoveAt(i);
                    progressBar1.Value += 1;
                    label7.Text = listBox1.Items.Count.ToString();
                    Thread.Sleep(1);
                }
                label7.Text = "";
                cht.Send("<message type='chat' to='" + textBox6.Text + "@nimbuzz.com' id='qip_256'><body>All List Member Get Clear ;)</body></message>");
            }





    /* life runs on code */
    #life runs on code
    avatar
    javad1
    Full Member
    Full Member

    Posts : 145
    Points : 254
    Thanks : -1
    Join date : 2013-08-31

    Open Re: Help c#. Ban and member list remover with remoter

    Post by javad1 on Thu Feb 06, 2014 2:31 am

    سلام
    انجام دادم؛حالا وقتی ک تو روم نوشتم
    Start/mem
    ایدی آف شد؛ بنظرتون چرا ؟
    یعنی اشکال ازکجای کد ممبر ریموورهست
    avatar
    jonewaram
    Csharp Admin
    Csharp Admin

    Posts : 231
    Points : 407
    Thanks : 120
    Join date : 2013-08-18
    Age : 25
    Location : Iran♥khozestan♥ahwaz

    Open Re: Help c#. Ban and member list remover with remoter

    Post by jonewaram on Thu Feb 06, 2014 6:42 am

    slm Oh 
    khob yekam bishtar tozih bede y codi chizi bezar
    elme qeyb k nadaram Oh 
    nemidonam chi neveshti cod nevisit chiye
    yekam bishtar tozih bede codetam bezar
     lal 




    JoNeWaRaM@N.c
    MohammadReza
    avatar
    javad1
    Full Member
    Full Member

    Posts : 145
    Points : 254
    Thanks : -1
    Join date : 2013-08-31

    Open Re: Help c#. Ban and member list remover with remoter

    Post by javad1 on Thu Feb 06, 2014 7:22 am

    سلام؛عزیز کد بالا گذاشتم نگاکن
    avatar
    javad1
    Full Member
    Full Member

    Posts : 145
    Points : 254
    Thanks : -1
    Join date : 2013-08-31

    Open Re: Help c#. Ban and member list remover with remoter

    Post by javad1 on Fri Feb 07, 2014 5:48 am

    Plz help me

    Sponsored content

    Open Re: Help c#. Ban and member list remover with remoter

    Post by Sponsored content


      Current date/time is Thu Jun 22, 2017 11:10 am