problem executing second 'external' program link

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

problem executing second 'external' program link

Postby brett hallett » Sat Dec 09, 2006 5:34 pm

I'm trying to run a couple of MS Windows tasks (programs) from VAST buttons

I set up the appropriate widget(s), connect my buttons , but find that only ONE of the calls will actually function. Teh first one I setup. The second setup simply 'flashes;' the DOS window and exits, without doing the requested job. Its so fast that I cant actually see what its showing.

I there a limit to the number of 'external call' widgets you can use ?


Cheers,
Brett
brett hallett
 
Posts: 2
Joined: Tue Oct 17, 2006 2:34 pm

Postby tc » Sat Dec 09, 2006 9:10 pm

Hello,

Put the programs in a '.bat' file, one batch file per program and add a 'pause' to the end of the batch file. The 'pause' will prevent the dos window from closing until you hit a key and you can read any messages or errors displayed.

--tc
tc
Moderator
 
Posts: 304
Joined: Tue Oct 17, 2006 7:40 am
Location: Raleigh, NC

Postby brett hallett » Sun Dec 10, 2006 2:30 pm

thanks I'll try that.
brett hallett
 
Posts: 2
Joined: Tue Oct 17, 2006 2:34 pm


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: No registered users and 1 guest