How to create an AddIn using VS 2005
candy
✭
in RobotStudio
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;
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".
",the tip is "statement should end".For the two parentheses,the tip is "syntax error".
I am .How do I do?Would somebody give some proposal?Some steps in detail?Thank you!
0
Comments
-
Your code looks like C# to me and not VB. See http://forums.robotstudio.com/forum_posts.asp?TID=3339 for some information about creating an add-in in VB.Henrik Berlin
ABB0 -
Oh,my god!I have made a low-level error!Thank you!0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings