Image Path
51Magnum
✭
What is the path that I should use if I have a bmp that I want to load in a picture box?
pbScreenGraphic.Image = new Bitmap("/HOME/Idle.bmp");
thanks!
Shane
0
Comments
-
You can use the TpsResourceManager to load the image. This class has a method called GetImage, which will load the file from you,TpsResourceManager tpRM = TpsResourceManager();pbScreenGraphic.Image = tpRM.GetImage("Idle.bmp"); <- if possible, change this to JPGThe image file Idle.bmp should be in the system's home folder. After the FlexPendant restarts, all images located in this folder will be copied into the FlexPendant, from where the TpsResourceManager loads them.Hope this helpsCarlos Martinez
ABB0 -
Carlos,You are always there to help!Thanks0
-
Why can't I add the resource ABB.Robotics.TAF.Base? Am I missing something?
Shane0 -
what do you mean ... adding this assembly as a reference to your project?Carlos Martinez
ABB0 -
Yes...... Man I am feeling a little stupid here, sorry. How do I add the reference. I thought it wasusing ABB.Robotics.TAF.Base;But it says I need to use version 5.11.11 or something like that.Shane0
-
Never mind!!! I remember now.
Sorry it has been a few months.Shane0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings