[Solved] External calls

All topics about specific development with COM interface, LIP language, API in VB, ...

Moderators: remi77, Daniel, jacs

User avatar
olaio
Volunteer Cadet
Volunteer Cadet
Posts: 184
Joined: Thu Mar 01, 2007 11:42 am
Location: Leiria

[Solved] External calls

Unread post by olaio » Fri Jun 01, 2007 7:19 pm

Hi everyone,

Can we call an external aplication on a toplip macro?

Fabrice
Private
Private
Posts: 7
Joined: Thu Feb 22, 2007 10:33 am
Location: Toulouse

Unread post by Fabrice » Wed Jun 13, 2007 10:25 am

Hi,

There is presently no way to call directly an external executable from within a TopLIP macro... But you could do so if driving TopSolid with its COM API ...
.oOO[... Fabrice ...]OOo.

Mark Oostveen
Chief
Chief
Posts: 107
Joined: Mon Mar 26, 2007 9:40 am
TopSolid Module: TopSolid'Cam
TopSolid Version: 7.4
Location: The netherlands
Contact:

Unread post by Mark Oostveen » Tue Jun 26, 2007 4:39 pm

Well I did do it... With a macro....

So copy the text below in a lip file. Put the complete path of the executable between the brackets. Convert to lob and add to the menu of TopSolid... Now you can run a executable from the interface of TopSolid.

Don't forget the QuitMacro command :)

----------------------
(
FUNCTION launch Exe

WHEN WHO WHAT
23/04/06 MJO creation

STK IN :
STK OUT :
)

"[path and name of the exe file]" 0 CreateProcess

QuitMacro
----------------------

Mark

User avatar
olaio
Volunteer Cadet
Volunteer Cadet
Posts: 184
Joined: Thu Mar 01, 2007 11:42 am
Location: Leiria

Unread post by olaio » Tue Jun 26, 2007 5:44 pm

That´s it :D

Thanks a lot!!!

Fabrice
Private
Private
Posts: 7
Joined: Thu Feb 22, 2007 10:33 am
Location: Toulouse

Unread post by Fabrice » Thu Jun 28, 2007 3:15 pm

Oooouups ! :oops:

I missed that one !! :?

You are right, it can be done !

Thanx a lot Mark !
.oOO[... Fabrice ...]OOo.

Post Reply