- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, everyone,
Just wondering whether there is a way to integrate iLogic error message into VB.NET code.
For example, if use following sentence to read the data from spread sheet.
LengthFloat=GoExcel.CellValue("tank_data.xls", "Gauges", "llg_arm_lgth")
if there is no such cell of "llg_arm_lgth", the error message appears as in attached file.
Right now I want to use "try...catch... end try" in the iLogic code. I can duplicate the first line of the warning message using VB.NET code, but I can not reach the second line. Does the iLogic expose this error message through some function? or which VB.NET code does this job?
Thanks a lot.
Limin
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit
Solved! Go to Solution.