Skip main navigation (Press Enter).
Log in
Toggle navigation
Log in
Community
Topic Groups
Champions
Directory
Program overview
Rising Champions
IBM Champions group
User Groups
Directory
Benefits
Events
Dev Days
Conference
Community events
User Groups events
All TechXchange events
Participate
TechXchange Group
Welcome Corner
Blogging
Member directory
Community leaders
Resources
IBM TechXchange
Community
Conference
Events
IBM Developer
IBM Training
IBM TechXchange
Community
Conference
Events
IBM Developer
IBM Training
Robotic Process Automation (RPA)
×
Robotic Process Automation (RPA)
Come for answers. Stay for best practices. All we’re missing is you.
Group Home
Threads
1.9K
Blogs
127
Events
2
Library
176
Members
1.8K
View Only
Share
Share on LinkedIn
Share on X
Share on Facebook
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Can IBM RPA execute .dll functions?
Fred Flint
Sun December 05, 2021 08:42 PM
As the title suggests, can IBM RPA execute .dll functions and return their results? ------------------------------ ...
NIGEL CROWTHER
Mon December 06, 2021 04:52 AM
Hi Fred, DLLS can be invoked indirectly using the run script command: https://www.ibm.com/docs/en/rpa/21.0?topic=scripting-run-windows-script ...
Fred Flint
Mon December 06, 2021 12:29 PM
Thanks Nigel. For running a .dll with a VBScript, wouldn't it need to be registered to COM? How would ...
NIGEL CROWTHER
Mon December 06, 2021 12:39 PM
Sorry, I stand corrected. Use the Powershell command to run PowerShell scripts. not the run windows ...
Fred Flint
Mon December 06, 2021 12:50 PM
Got it. However, the PowerShell command in IBM RPA does not seem to allow outputs. Many of the .dll ...
NIGEL CROWTHER
Mon December 06, 2021 01:24 PM
Fred, unless someone else can come up with a better suggestion, it looks like your PowerShell script ...
Martin Medina
Fri December 17, 2021 11:00 AM
The following idea has been proposed to add this functionality for the future: https://dba.ide ...
1.
Can IBM RPA execute .dll functions?
Like
Fred Flint
Posted Sun December 05, 2021 08:42 PM
Reply
Options Dropdown
As the title suggests, can IBM RPA execute .dll functions and return their results?
------------------------------
Fred Flint
------------------------------
2.
RE: Can IBM RPA execute .dll functions?
Like
NIGEL CROWTHER
Posted Mon December 06, 2021 04:52 AM
Reply
Options Dropdown
Hi Fred,
DLLS can be invoked indirectly using the run script command:
https://www.ibm.com/docs/en/rpa/21.0?topic=scripting-run-windows-script
Using this command, you can call a VB script or PowerShell to invoke the DLL.
------------------------------
NIGEL CROWTHER
------------------------------
Original Message
Original Message:
Sent: Fri December 03, 2021 11:40 PM
From: Fred Flint
Subject: Can IBM RPA execute .dll functions?
As the title suggests, can IBM RPA execute .dll functions and return their results?
------------------------------
Fred Flint
------------------------------
3.
RE: Can IBM RPA execute .dll functions?
Like
Fred Flint
Posted Mon December 06, 2021 12:29 PM
Reply
Options Dropdown
Thanks Nigel. For running a .dll with a VBScript, wouldn't it need to be registered to COM?
How would we run PowerShell from the run windows script? It is not one of the provided options.
------------------------------
Fred Flint
------------------------------
Original Message
Original Message:
Sent: Mon December 06, 2021 04:52 AM
From: NIGEL CROWTHER
Subject: Can IBM RPA execute .dll functions?
Hi Fred,
DLLS can be invoked indirectly using the run script command:
https://www.ibm.com/docs/en/rpa/21.0?topic=scripting-run-windows-script
Using this command, you can call a VB script or PowerShell to invoke the DLL.
------------------------------
NIGEL CROWTHER
Original Message:
Sent: Fri December 03, 2021 11:40 PM
From: Fred Flint
Subject: Can IBM RPA execute .dll functions?
As the title suggests, can IBM RPA execute .dll functions and return their results?
------------------------------
Fred Flint
------------------------------
4.
RE: Can IBM RPA execute .dll functions?
Like
NIGEL CROWTHER
Posted Mon December 06, 2021 12:39 PM
Reply
Options Dropdown
Sorry, I stand corrected. Use the Powershell command to run PowerShell scripts. not the run windows script. For an example, see this link:
https://stackoverflow.com/questions/3079346/how-to-reference-net-assemblies-using-powershell
------------------------------
NIGEL CROWTHER
------------------------------
Original Message
Original Message:
Sent: Mon December 06, 2021 12:29 PM
From: Fred Flint
Subject: Can IBM RPA execute .dll functions?
Thanks Nigel. For running a .dll with a VBScript, wouldn't it need to be registered to COM?
How would we run PowerShell from the run windows script? It is not one of the provided options.
------------------------------
Fred Flint
Original Message:
Sent: Mon December 06, 2021 04:52 AM
From: NIGEL CROWTHER
Subject: Can IBM RPA execute .dll functions?
Hi Fred,
DLLS can be invoked indirectly using the run script command:
https://www.ibm.com/docs/en/rpa/21.0?topic=scripting-run-windows-script
Using this command, you can call a VB script or PowerShell to invoke the DLL.
------------------------------
NIGEL CROWTHER
Original Message:
Sent: Fri December 03, 2021 11:40 PM
From: Fred Flint
Subject: Can IBM RPA execute .dll functions?
As the title suggests, can IBM RPA execute .dll functions and return their results?
------------------------------
Fred Flint
------------------------------
5.
RE: Can IBM RPA execute .dll functions?
Like
Fred Flint
Posted Mon December 06, 2021 12:50 PM
Reply
Options Dropdown
Got it. However, the PowerShell command in IBM RPA does not seem to allow outputs. Many of the .dll functions we are looking to execute do have outputs that we would need. Do you know of a way around this?
https://www.ibm.com/docs/en/rpa/21.0?topic=scripting-powershell-command
------------------------------
Fred Flint
------------------------------
Original Message
Original Message:
Sent: Mon December 06, 2021 12:38 PM
From: NIGEL CROWTHER
Subject: Can IBM RPA execute .dll functions?
Sorry, I stand corrected. Use the Powershell command to run PowerShell scripts. not the run windows script. For an example, see this link:
https://stackoverflow.com/questions/3079346/how-to-reference-net-assemblies-using-powershell
------------------------------
NIGEL CROWTHER
Original Message:
Sent: Mon December 06, 2021 12:29 PM
From: Fred Flint
Subject: Can IBM RPA execute .dll functions?
Thanks Nigel. For running a .dll with a VBScript, wouldn't it need to be registered to COM?
How would we run PowerShell from the run windows script? It is not one of the provided options.
------------------------------
Fred Flint
Original Message:
Sent: Mon December 06, 2021 04:52 AM
From: NIGEL CROWTHER
Subject: Can IBM RPA execute .dll functions?
Hi Fred,
DLLS can be invoked indirectly using the run script command:
https://www.ibm.com/docs/en/rpa/21.0?topic=scripting-run-windows-script
Using this command, you can call a VB script or PowerShell to invoke the DLL.
------------------------------
NIGEL CROWTHER
Original Message:
Sent: Fri December 03, 2021 11:40 PM
From: Fred Flint
Subject: Can IBM RPA execute .dll functions?
As the title suggests, can IBM RPA execute .dll functions and return their results?
------------------------------
Fred Flint
------------------------------
6.
RE: Can IBM RPA execute .dll functions?
Like
NIGEL CROWTHER
Posted Mon December 06, 2021 01:24 PM
Reply
Options Dropdown
Fred, unless someone else can come up with a better suggestion, it looks like your PowerShell script will need to write the results of the DLL invocation to a csv file. When the Powershell script returns success, your bot can read the CSV and process it.
------------------------------
NIGEL CROWTHER
------------------------------
Original Message
Original Message:
Sent: Mon December 06, 2021 12:49 PM
From: Fred Flint
Subject: Can IBM RPA execute .dll functions?
Got it. However, the PowerShell command in IBM RPA does not seem to allow outputs. Many of the .dll functions we are looking to execute do have outputs that we would need. Do you know of a way around this?
https://www.ibm.com/docs/en/rpa/21.0?topic=scripting-powershell-command
------------------------------
Fred Flint
Original Message:
Sent: Mon December 06, 2021 12:38 PM
From: NIGEL CROWTHER
Subject: Can IBM RPA execute .dll functions?
Sorry, I stand corrected. Use the Powershell command to run PowerShell scripts. not the run windows script. For an example, see this link:
https://stackoverflow.com/questions/3079346/how-to-reference-net-assemblies-using-powershell
------------------------------
NIGEL CROWTHER
Original Message:
Sent: Mon December 06, 2021 12:29 PM
From: Fred Flint
Subject: Can IBM RPA execute .dll functions?
Thanks Nigel. For running a .dll with a VBScript, wouldn't it need to be registered to COM?
How would we run PowerShell from the run windows script? It is not one of the provided options.
------------------------------
Fred Flint
Original Message:
Sent: Mon December 06, 2021 04:52 AM
From: NIGEL CROWTHER
Subject: Can IBM RPA execute .dll functions?
Hi Fred,
DLLS can be invoked indirectly using the run script command:
https://www.ibm.com/docs/en/rpa/21.0?topic=scripting-run-windows-script
Using this command, you can call a VB script or PowerShell to invoke the DLL.
------------------------------
NIGEL CROWTHER
Original Message:
Sent: Fri December 03, 2021 11:40 PM
From: Fred Flint
Subject: Can IBM RPA execute .dll functions?
As the title suggests, can IBM RPA execute .dll functions and return their results?
------------------------------
Fred Flint
------------------------------
7.
RE: Can IBM RPA execute .dll functions?
Like
Martin Medina
IBM Champion
Posted Fri December 17, 2021 11:00 AM
Reply
Options Dropdown
The following idea has been proposed to add this functionality for the future:
https://dba.ideas.ibm.com/ideas/WDGRPA-I-146
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Powered by Higher Logic