View Single Post
  #1 (permalink)  
Old 09-16-2007, 04:35 PM
Rioven Rioven is offline
Senior Member
 
Join Date: May 2007
Posts: 130
Awards Showcase
Beta Tester 
Total Awards: 1
Default Getting value from other other application in runtime

Hi,
I've made the following event that launch 'section.exe' to generate a value, but before I get the value, it process right away the 'fileOpen' after the shell command. With this, I could not get the right value.

Code:
Sub Button1_click

Shell("section.exe")

            FileOpen (c1,AppPath&"\SectionSelected.text",cRead)
           lbsection.Text= FileRead (c1)
	FileClose(c1)
						
End Sub

What is the right way?... or effective solutions?


Thanks,
Rioven
__________________
Rioven

Sony Ericsson XPERIA X1i WM6.1
480x800 Display Resolution
with QWERTY keyboard
Reply With Quote