Geeks With Blogs
Scott Van Vliet Once a Developer, Always a Developer

Update 2010-03-23 – Sorry, but the images and downloads were hosted on a server that is no longer available.  I will try to find the sample code bits and images on a backup sometime!

After receiving numerous requests for the .NET Reference Bot source, I’ve finally taken the time to dig up the code and post it here:

 

http://www.scottvanvliet.com/downloads/NRB.zip

 

This package includes the DotMSN API (which provides the meat of MSN functionality) and a test application, NRBTest.  To get the test application up and running, you’ll need to modify the App.config file to include a valid MSN Messenger account (underwhich the bot will run.)

 

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

       <appSettings>

              <add key="account" value="youraccount@hotmail.com" />

              <add key="password" value="password" />

       </appSettings>

</configuration>

 

Once you’ve update the App.config file, run the NRBTest application and click the Connect button to start the bot.

 

 

The MS Access database provided with this sample only contains data for the System and System.Data namespaces.

Posted on Friday, March 17, 2006 4:23 AM C# | Back to top


Comments on this post: .NET Reference Messenger Bot - Source Code Posted

# re: .NET Reference Messenger Bot - Source Code Posted
Requesting Gravatar...
Thank you for posting this...
Left by Greg on Mar 17, 2006 3:59 PM

# re: .NET Reference Messenger Bot - Source Code Posted
Requesting Gravatar...
So I converted it to 2.0 using the default project conversion wizard. When I click on the Connect button I am presented with the following error:
<br>
<br>An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll
<br>
<br>Additional information: Cross-thread operation not valid: Control 'txtLog' accessed from a thread other than the thread it was created on.
Left by Jeff Gonzalez on Mar 17, 2006 4:02 PM

# re: .NET Reference Messenger Bot - Source Code Posted
Requesting Gravatar...
Thanks for making the source available.
Left by Nauman on Mar 17, 2006 6:04 PM

# re: .NET Reference Messenger Bot - Source Code Posted
Requesting Gravatar...
Jeff,
<br>
<br>Please see the following post for the solution to your problem.
<br>
<br>http://weblogs.asp.net/skillet/archive/2006/03/17/440502.aspx
<br>
<br>Thanks for pointing this out!
Left by Scott Van Vliet on Mar 17, 2006 7:37 PM

# re: .NET Reference Messenger Bot - Source Code Posted
Requesting Gravatar...
Where did you get the csv files containing the namespace/help? Cool sample. An update to cache the dataset makes the preformance is way faster.
Left by jswanson on Apr 07, 2006 5:43 PM

# re: .NET Reference Messenger Bot - Source Code Posted
Requesting Gravatar...
Links doesn´t works!! :( :(
Left by AW on Jun 23, 2009 8:03 PM

# re: .NET Reference Messenger Bot - Source Code Posted
Requesting Gravatar...
HELP PLEASE!
i cant download http://www.scottvanvliet.com/downloads/NRB.zip
Left by AW on Jun 23, 2009 8:15 PM

# re: .NET Reference Messenger Bot - Source Code Posted
Requesting Gravatar...
i cant download www.scottvanvliet.com/.../NRB.zip
Left by aw on Jul 06, 2009 6:16 PM

# re: .NET Reference Messenger Bot - Source Code Posted
Requesting Gravatar...
That link is broken........provide an alternative is possible......
Left by nintendo ds r4 on Oct 13, 2009 11:42 AM

Your comment:
 (will show your gravatar)


Copyright © svanvliet | Powered by: GeeksWithBlogs.net