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


    Hilter msG vb.net & c#

    Share
    avatar
    lvlr-owner
    New Member
    New Member

    Posts : 3
    Points : 5
    Thanks : 0
    Join date : 2014-03-31

    Open Hilter msG vb.net & c#

    Post by lvlr-owner on Mon Mar 31, 2014 10:13 pm

    slm  man taze varedam soal dashtam man mikham ye id ke tooo rom boood vaqtiii fosh dad ban beshe / va to list box ban shode ha ro neshooonm bede

    hala chejooori mitonam ino benviiisam ba vb.net ham bood eshkal nadare ama c# ham khube :(va sorce bediiin behtar mifahmam mercii Sad

    merciiii javab bediin : ;(
    avatar
    jonewaram
    Csharp Admin
    Csharp Admin

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

    Open Re: Hilter msG vb.net & c#

    Post by jonewaram on Tue Apr 01, 2014 4:53 am

    slm
    wb to c# team
    aziz surc to forum hast y serch bezan age nabod ta farda vasat mizaram
    alan ba goshi onam








    JoNeWaRaM@N.c
    MohammadRez
    a
    avatar
    new-programmer
    New Member
    New Member

    Posts : 42
    Points : 80
    Thanks : 16
    Join date : 2014-03-16

    Open Re: Hilter msG vb.net & c#

    Post by new-programmer on Tue Apr 01, 2014 8:38 am

    Code:
    if(msg.Type==MessageType.chat && msg.From.Server.StartsWith("conference"))
    {
    string[] str = txtPm.Text.Split(new char[]{'#'});
    foreach (var a in str)
    {
    if(msg.Body.ToLower().Contains(a.ToLower()))
    {
    //xmle ban
    // bejaye id kasi ke mikhay ban she : msg.From.Resource+"@nimbuzz.com"
    }
    }
    }

    in vase pv hast ba kami taqir mitooni vase room konish
    avatar
    lvlr-owner
    New Member
    New Member

    Posts : 3
    Points : 5
    Thanks : 0
    Join date : 2014-03-31

    Open Re: Hilter msG vb.net & c#

    Post by lvlr-owner on Tue Apr 01, 2014 9:36 am

    NAfahmidam Sad Khande man hilter msg vb.net vase room mikham pv chera midin Khande
    avatar
    Mehdi Fa
    VB & VB.Net Admin
    VB & VB.Net Admin

    Posts : 87
    Points : 168
    Thanks : 47
    Join date : 2013-07-25

    Open Re: Hilter msG vb.net & c#

    Post by Mehdi Fa on Wed Apr 02, 2014 11:48 am

    inja man ye textbox daram ke ba # itemasho joda kardam
    Code:
     Dim m As String() = filtertxt.Text.Split("#")
    For i = LBound(m) To UBound(m)
    If msg.Body.ToLower().Contains(m(i)) Then
                        socket.Send("<iq to='" + room.Text + "@conference.nimbuzz.com' type='set' id='itemmuc'><query xmlns='http://jabber.org/protocol/muc#admin'><item affiliation='outcast' jid='" + msg.From.Resource + "@nimbuzz.com'/></query></iq>")
    End If
    Next





    /* LIFE RUNS ON CODE */
    avatar
    lvlr-owner
    New Member
    New Member

    Posts : 3
    Points : 5
    Thanks : 0
    Join date : 2014-03-31

    Open Re: Hilter msG vb.net & c#

    Post by lvlr-owner on Wed Apr 02, 2014 2:31 pm

    ooooooookaye merCiiii
    avatar
    jonewaram
    Csharp Admin
    Csharp Admin

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

    Open Re: Hilter msG vb.net & c#

    Post by jonewaram on Wed Apr 02, 2014 6:44 pm

    slm
    Aziz inam code filter msg room C#

    ino to btn login bezar
    Code:
     m.OnMessage += new agsXMPP.protocol.client.MessageHandler(cnt_OnMessage);

    inam k dge moshakhase


    Code:
      void cnt_OnMessage(object sender, agsXMPP.protocol.client.Message Msg)
            {
                if (InvokeRequired)
                    BeginInvoke(new agsXMPP.protocol.client.MessageHandler(cnt_OnMessage), new object[] { sender, Msg });
                else
                {
                    if (Msg.Body.ToLower() == textBox4.Text | Msg.Body.ToLower() == textBox5.Text | Msg.Body.ToLower() == textBox6.Text | Msg.Body.ToLower() == textBox7.Text | Msg.Body.ToLower() == textBox8.Text | Msg.Body.ToLower() == textBox9.Text | Msg.Body.ToLower() == textBox10.Text | Msg.Body.ToLower() == textBox11.Text | Msg.Body.ToLower() == textBox12.Text | Msg.Body.ToLower() == textBox13.Text | Msg.Body.ToLower() == textBox14.Text | Msg.Body.ToLower() == textBox15.Text | Msg.Body.ToLower() == textBox16.Text | Msg.Body.ToLower() == textBox17.Text  | Msg.Body.ToLower() == textBox18.Text | Msg.Body.ToLower() == textBox19.Text | Msg.Body.ToLower() == textBox20.Text | Msg.Body.ToLower() == textBox21.Text | Msg.Body.ToLower() == textBox22.Text | Msg.Body.ToLower() == textBox23.Text | Msg.Body.ToLower() == textBox24.Text | Msg.Body.ToLower() == textBox25.Text | Msg.Body.ToLower() == textBox26.Text | Msg.Body.ToLower() == textBox27.Text)//in text box ha vase foshaeeye k mikhay bezari filter shan mitoni bishatar ya kamtareshonam koni
                    {
                        m.Send("<message to='" + rom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + Msg.From.Resource.Trim() + " کسافت مرض نه تربیت داره نه خونواده:@</body></message>");
                        m.Send("<iq type='set' to='" + rom.Text + "@conference.nimbuzz.com' id='mir_437'><query xmlns='http://jabber.org/protocol/muc#admin'><item nick='" + Msg.From.Resource.Trim() + "' role='visitor' /></query></iq>");
                    }

                }


    b sorat split ham mitoni bezari k ba # joda beshe k dge niyazi b text box ziyadi nadashte bashi






    JoNeWaRaM@N.c
    MohammadReza

    Sponsored content

    Open Re: Hilter msG vb.net & c#

    Post by Sponsored content


      Current date/time is Mon Dec 11, 2017 5:46 pm