how to call other exe file in Eprime?

chen chunhuichen at 126.com
Sun Nov 4 03:28:22 UTC 2007


 
Hi, I used to write Visual Basic scripts and now I want to use Eprime. But i don't know how to call executive function in Eprime.
 
Here is want I wrote in VB
(1) declare function
Public Declare Function ShellExecute Lib "shell32.dll" Alias _
"ShellExecuteA" _
(ByVal hWnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
(2) call executive file
ShellExecute(NULL,"open","calc.exe",NULL,NULL,SW_SHOWNORMAL);
 
Now I want to call an executive file in Eprime, How to do that?
 
Besides, I have a USB device which can not only send a response signal but also generate a special number. It can be used as serial port device in VB, i can not only get the response but also get the number, How can i use it in Eprime? How can I control a serial port in Eprime?
 
Thank you very much!
 
 

--

Chunhui Chen
______________
 
Beijing Normal University
&
University of California, Irvine
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime-unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20071104/1cbcff7b/attachment.htm>


More information about the Eprime mailing list