Message 1 of 2
referencing vb.net external rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have typed up code in vb.net that contains several subs, functions, and classes. I would like to run those subs and functions from an ilogic rule. I have tried two different ways with failed results. Early warning, I tried posting some code, but it exceeded the 100,000 character limit; anyway... I have tried:
- dll file
- I converted my code into class and saved as a dll file.
- in ilogic in the header I tried "AddResources" to the file and imported the class.
- In the body of the ilogic code I have access to the imported class, so I know it connects.
- This fails because the only options I can access in the dll are the classes, not the subs or functions.
- .vb file
- I saved my code as a module in a ".vb" file.
- in ilogic in the header I tried "AddVbFile" to the file.
- In the body of the ilogic code I have access to the ".vb" module, so I know it connects.
- This fails because of errors:
- Declaration expected
- Imports statements must precede any declarations
iLogic rule:
vb file