How to use .NET method
Hi, is anyone familiar with how to use the "Call .NET Method" option in the "Advanced" menu?
For example you can Create a C# library class returning a bool value.
Now .NET method should be visible in the project,
Inoder to acheive this,
Go to Properties ribbon tab of ScreenMaker , select Advanced tab and Add the dll created from the library as a reference.
Then the methods that have declared should be visible when Call .NET method is selected in the Advanced menu.
If you wish to no longer to use this library, remove the reference and the actions that have been created using for this library using 'Call .NET Method'Thanks0
Hi, thank you for your reply. Could you please pass me a sample program of the .NET method and the .dll file as well?0
i'm searching for a sample-program for such a .NET method, too.
Is it possible to send me the file as well??
I would be deeply grateful.
(sorry, i hope my English understandable ;-) )
Hi, can you give me your email so that I can send the sample to you directly?0
I sent you a pm
Hello Yuxi Wang,can you send me the example also? Thanks!granale0
Can I have an example too?Thanks in advance!RegardsWojciech Wlodarski
Anyone can send me an example file please?Thanks in advance!Regards
Hello,Here is a simple DotNetMethod implementation.Thanks0
Thanks a lot..
but I have a question: I have written a simple .net method, I want to save an image, it works when called by another form, but in Screen Maker, after having added dll-reference, it doesn't appear any method..why???
public class Graph
public static void Salvaimmagine(Point p)
Bitmap image = new Bitmap(500, 500);
Thanks in advance
Hello,SM only will provide access to the static methods which contains basic data types: string, int, double, boolean, object.Refer to this link:Thanks0
wow. Thanks for this sample. I am going to implement it ,
- 10.4K All Categories
- 5.3K RobotStudio
- 352 UpFeed
- 15 Tutorials
- 9 RobotApps
- 282 PowerPacs
- 404 RobotStudio S4
- 1.8K Developer Tools
- 239 ScreenMaker
- 2.6K Robot Controller
- 252 IRC5
- 36 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 703 RAPID Programming
- 14 Wizard Easy Programming
- 107 Collaborative Robots
- 3 Job listings