infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Calling a VB app from a tcl proc - and passing it the messag
System
Originally posted by Bevan Richards
Has anyone ever tried to call a Visual Basic app/script from a tcl proc in the engine? Also passing it the hl7 message?
I need to automate a process that takes an ORM and generates a printed form from it.
Find more posts tagged with
Clovertech
Comments
System
Originally posted by garry r fisher
Hi,
You should be able to do this. I've called external programs before from Tcl -Not sure of format but will along the lines of:
"exec script.vb message"
Quotes will be important but I may have them in the wrong place. Bit of trial and error for you.
Regards
Garry
System
Originally posted by Bevan Richards
Thanks, that at least get me to a starting point to start experimenting.
Charlie Bursell
I haven't tried it but I don't think you will be able to do that.
In Windows Tcl can only exec .bat, .exe and .com files.
You will have to exec VB and pass it your script as an argument.
This is the same way we have to exec Tcl and Perl scripts in Windows
System
Originally posted by Bevan Richards
What I was thinking on was using the free VB 2010 and making a compiled exe for what I need to do and call the exe from tcl.
Charlie Bursell
That should work
System
Originally posted by garry r fisher
Hi,
Interesting to know that. I've only ever called .exe and .bat files so haven't come across that issue before.
Regards
Garry