|
-
Dec 11th, 1999, 11:33 PM
#1
Thread Starter
Hyperactive Member
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
-
Dec 12th, 1999, 12:03 PM
#2
Addicted Member
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/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|