-
Hi,
I posted a question not too lng ago on opening an EXE file but know I know. What I want to know now is how to display it into a textbox? I use this code to open it:
Open "C:\Windows\Calc.exe" for Binary Access Write As #1
'What code do I use to display it in text1???
Close #1
Can somebody please help me???
Thanks
-
If you use Binary access you need use Get statement. For sample:
Dim s As String * 1
Open "C:\Windows\Calc.exe" For Binary Access Read As #1
While Not EOF(1)
Get #1, , s
Text1.Text = Text1.Text & s
Wend
Close #1
------------------
smalig
[email protected]
http://vbcode.webhostme.com/