<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>Here is want I wrote in VB</DIV>
<DIV>(1) declare function</DIV>
<DIV>Public Declare Function ShellExecute Lib "shell32.dll" Alias _<BR>"ShellExecuteA" _<BR>(ByVal hWnd As Long, ByVal lpOperation As String, _<BR>ByVal lpFile As String, _<BR>ByVal lpParameters As String, _<BR>ByVal lpDirectory As String, _<BR>ByVal nShowCmd As Long) As Long</DIV>
<DIV>(2) call executive file</DIV>
<DIV>ShellExecute(NULL,"open","calc.exe",NULL,NULL,SW_SHOWNORMAL);</DIV>
<DIV> </DIV>
<DIV>Now I want to call an executive file in Eprime, How to do that?</DIV>
<DIV> </DIV>
<DIV>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?</DIV>
<DIV> </DIV>
<DIV>Thank you very much!</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR>--<BR>
<DIV>Chunhui Chen</DIV>
<DIV>______________</DIV>
<DIV> </DIV>
<DIV>Beijing Normal University</DIV>
<DIV>&</DIV>
<DIV>University of California, Irvine</DIV></DIV><br><!-- footer --><br><hr>
<a style="font-size:14px;line-height:15px; color:#000; text-decoration:none" href=" http://event.mail.163.com/chanel/click.htm?from=NO_16&domain=126" target="_blank"><span style="text-decoration:underline; color:blue">网 易 Yeah.net 免 费 邮 箱 全 新 改 版,珍 藏 帐 号 开 放,快 来 抢 注 >></span> </a<br>
--~--~---------~--~----~------------~-------~--~----~<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group. <br> To post to this group, send email to e-prime@googlegroups.com <br> To unsubscribe from this group, send email to e-prime-unsubscribe@googlegroups.com <br> For more options, visit this group at http://groups.google.com/group/e-prime?hl=en <br> -~----------~----~----~----~------~----~------~--~---<br>
<br>