Seite 2 von 2 Erste 12

Thema: Suche ICQLib

  1. #11
    Avatar von Sploxfreak
    Registriert seit
    25.01.2012
    Beiträge
    511
    Thanked 128 Times in 117 Posts

    Standard AW: Suche ICQLib

    Also ich such halt sowas wie die KNLib die man als verweis hinzufügt und dann mit imports ICQLib alle befehle der Lib benutzen kann wie bei der KNLib.


    Also halt was einfaches
    Vom Noob zum Übergott

  2. #12

    Registriert seit
    19.11.2011
    Beiträge
    229
    Thanked 102 Times in 64 Posts

    Standard AW: Suche ICQLib

    AcrossCommunications C# Sample

    Eventuell hilft dir das - was ich bezweifle. Im Internet gibt es genug C# -> Vb.net converter.

    Du wirst es eh nicht auf die Reihe bekommen, wenn du nicht mal die Grundlagen verstehst. Wenn du nicht weiß was ich meine, lies dir mal aufmerksam und konzentriert die erste Seite durch.


  3. #13
    Avatar von Sploxfreak
    Registriert seit
    25.01.2012
    Beiträge
    511
    Thanked 128 Times in 117 Posts

    Standard AW: Suche ICQLib

    page down
    Vom Noob zum Übergott

  4. #14
    Avatar von Ta1lor
    Registriert seit
    15.11.2011
    Beiträge
    767
    Thanked 833 Times in 435 Posts

    Standard AW: Suche ICQLib

    Nein, funktioniert einwandfrei.

  5. #15
    Avatar von Sploxfreak
    Registriert seit
    25.01.2012
    Beiträge
    511
    Thanked 128 Times in 117 Posts

    Standard AW: Suche ICQLib

    O.o bei mir klapt sie nicht FAIL!
    Vom Noob zum Übergott

  6. #16

    Registriert seit
    19.11.2011
    Beiträge
    229
    Thanked 102 Times in 64 Posts

    Standard AW: Suche ICQLib

    Hier mal der Inhalt der Seite:
    C# ICQ Sample
    1. Create Project

    Open Visual Studio .NET IDE
    Open "File->New->Project...
    Find on the left panel icon "Console Application" and click it
    Enter the name of poject, for ex. ACApp in "Name" field
    Enter proper location of the new project
    Click <OK> button


    2. Add Web Service References

    Open menu Project->Add Web Reference...
    Enter Across Communications' web server in Address field, for ex.:
    Personalizer Web Service

    If it's OK click Add Reference button at the bottom of form
    Open menu View->Solution Exporer
    Open ACApp project and Web References folder
    Click on AcrossCommunication Web reference and press F2 key.
    Rename it to "PersonalizerRef"

    Add other web references as "Session" and "ICQ" to your project in such manner.

    3. Add functional Code

    Open source code of "Class1.cs" and add folowing code lines into the Main function:

    //Create personalizer object and Session object
    PersonalizerRef.Personalizer pers = new PersonalizerRef.Personalizer() ;
    SessionRef.Session sess = new SessionRef.Session() ;
    string SessionID = "";
    try{
    SessionID = pers.CreateSession("LogonName", "Password");
    //Create ICQ notification
    ICQRef.ICQ objICQ = new ICQRef.ICQ() ;
    //Create server notification object
    string ICQNotifID;
    ICQNotifID = sess.CreateICQNotification(SessionID);
    objICQ.Logon(ICQNotifID, "012345", "Password");
    objICQ.Send(ICQNotifID, "543210", "This is ICQ Notification Message");
    objICQ.SendURL(ICQNotifID, "543210", "www.acrosscommunications.com", "Take a look at my site");
    objICQ.Disconnect(ICQNotifID);
    objICQ.Release(ICQNotifID);
    sess.Release(SessionID);
    }
    catch(Exception e){
    //Print exception message e.Message
    sess.Release(SessionID);
    }

    Enter correct values instead of LogonName and Password.

    4. Run application

    Run menu Build->Build ACApp
    Press F5 to run application.
    Quelle: AcrossCommunications C# Sample


  7. The Following User Says Thank You to DANP For This Useful Post:

    Sploxfreak (15.03.2012)

Seite 2 von 2 Erste 12
Diese Seite nutzt Cookies, um das Nutzererlebnis zu verbessern. Klicken Sie hier, um das Cookie-Tracking zu deaktivieren.