could anyone help me
Hi everybod;
I'm beginner in RAB
I need someone to tell me where should I write the code in steps 7 & 8 in page 91
in RAB application manual ( revision D Robot Ware 5.0 )
pleaaaaaaase
I need it urgently
thanks in advance
mostafa mokadem2010-06-25 16:51:22
0
Comments
-
Hi,are you coding in VB.NET or C#?0
-
C#
0 -
the problem I faced is not at this example only
the problem is that the manual many times tell us to do some thing but not specified exactly how and where(in the code blocks)
I faced this problem many times and the results are "errors" when I do Build
mostafa mokadem2010-06-27 22:18:440 -
It's my Graduation project , please I need the help every short period as its due is on the next month
thanks for your reply and waiting the explanation
mostafa mokadem2010-06-27 22:22:410 -
Hi Mustafa,I'll try to help you with your urgent problem first, and then I can take a look at the examples with hard to understand descriptions.In the text/picture in step 6 it is described tht you should add a menu item. If you have done that you should have a member variable menuItem1. You can verify that by searching your entire solution.In order to get an event when the menu item is selected, you must add an event handler.Th most common place to do this is after the call to IntitializeComponent in the constructor of your form. But anywhere in a method that is called when your form is loaded will work.The easiest way to add an event handler is to simple use IntelliSense, write "menuItem1." and select "Click" from the drop down. Then write "+= " and a tooltip shall appear which asks you if you want to add the event handler.In the event handler you implement the action that shall happen when the menu is selected.0
-
ok, that's for the event handler
now what about these two statement , where should be written
this._launchService.LaunchView(FpStandardView.Jogging,null,fa
lse,out this._cookieJog)
private ABB.Robotics.Tps.Taf.ITpsViewLaunchServices
_launchService;private object _cookieJog;
realllllllly thanks for your help
mostafa mokadem2010-06-27 22:35:200 -
[QUOTE=mostafa mokadem] ok, that's for the event handler
now what about these two statement , where should be written
this._launchService.LaunchView(FpStandardView.Jogging,null,fa
lse,out this._cookieJog)The above line shall be in the event handler which was created when you subscribed to menuitem1.Click += ......
private ABB.Robotics.Tps.Taf.ITpsViewLaunchServices
_launchService;private object _cookieJog;The above line declares member variables and can be written anyware outside methods but inside your class.
realllllllly thanks for your help
[/QUOTE]0 -
thankssssssssssssssssss mostafa mokadem2010-06-27 23:48:150 -
in the first line there is a missing semi-colon ";"
Am I correct ?
thanks again for help
0 -
this error results
Error 1 Cannot implicitly convert type 'bool' to 'System.EventHandler' C:Documents and SettingsmostafaMy DocumentsVisual Studio 2005ProjectsTpsViewIRC5App4TpsViewIRC5App4view.cs 29 32 TpsViewIRC5App4
0 -
now I pressed TAB twice as mentioned & wrote this line inside the brackets
this error results :
Error 1 Method name expected C:Documents and SettingsmostafaMy DocumentsVisual Studio 2005ProjectsTpsViewIRC5App4TpsViewIRC5App4view.cs 29 49 TpsViewIRC5App4
0 -
ooooooohhhhhhhhh
now build succeeded with the two statements in this form
menuItem1.Click += new EventHandler(menuItem1_Click);
this._launchService.LaunchView(FpStandardView.Jogging, null, false, out this._cookieJog);
mostafa mokadem2010-06-28 20:37:400 -
Hi,since RobotStudio 5.13, RAB is included in RobotStudio.FlexPendant SDK and PC SDK are installed by RobtStudio.We have made some corrections in the application manual (Appliation Manual FlexPendant SDK). Please make sure you hae the latest version (5.13) before you continue.0
-
OK,
but before I switch to RAB 5.13
could you help me there please
http://forums.robotstudio.com/forum_posts.asp?TID=4220
there in inconsistencies in RAB 5.11 examples
0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings