RobotStudio event

How to create an AddIn using VS 2005

Options
Hi,friends.
These two days,I am studing about RobotStudio API.But first step,I am in trouble.

              "How to create an add-in in visual studio 2005?"(with VB)

I have done following the prompts of the "help".However,I failed.This is my steps:

1 create a new project with class library (with VB)

2 add the reference to my project(using ABB.Robotics.Math and so on)

3 add the following lines to the top of my code:

   ?_??_?

4 add the following code to the class:

   public static void AddinMain()

  {

  }

till here,there are so many errors.

 

using ABB.Robotics.Math;
using ABB.Robotics.RobotStudio;
using ABB.Robotics.RobotStudio.Environment;
using ABB.Robotics.RobotStudio.Stations;
using ABB.Robotics.RobotStudio.Stations.Forms;

 

Public Class Class1

Public static  void AddinMain()
  {


  }

End Class

For the 5 "using",there is a tip"statement can not appear in the method in vitro."For the "static",the tip is "invalid variable declaration in the members".For the "AddinMain()
",the tip is "statement should end".For the two parentheses,the tip is "syntax error".

 

I am Cry.How do I do?Would somebody give some proposal?Some steps in detail?Thank you!

Comments