Call external program 
Author Message
 Call external program

I want to know is it possible and how to use VB codes to accomplish the
followig operations :

1.  Save the field value of Access table to a temporary file
2.  Call a DOS program to execute something
3.  Send the content of an ASCII file to screen

Thanks in advance.

Simon Cheng



Mon, 03 Jul 2000 03:00:00 GMT  
 Call external program

Quote:

> I want to know is it possible and how to use VB codes to accomplish the
> followig operations :

> 1.  Save the field value of Access table to a temporary file

Eh? not sure what you want here.

Quote:
> 2.  Call a DOS program to execute something

Z& = Shell("Myprog.EXE")

Quote:
> 3.  Send the content of an ASCII file to screen

Build a form containing a multiline textbox, txtDisplay

'code fragment:
Infile=Freefile
Open "My.txt" for input as #Infile

Form1.txtDisplay.Text=Input(LOF(Infile),#Infile)

Close #Infile

--
Pat O'Connell
Take nothing but pictures, Leave nothing but footprints,
Kill nothing but vandals...



Mon, 03 Jul 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. call external program from vb application

2. calling external program with extracted shape data

3. Call external program and get results?

4. How to call external programs

5. Calling External Program from ASP Page?

6. can VB call external programs?

7. Newbie Question. Calling External Programs.

8. Need a pause when calling an external program!

9. calling up a outlook contact from external program

10. Calling an external program (and waiting until it's finished)

11. Call an external program

12. Calling an external Program from VB6 with Parameters

 

 
Powered by phpBB® Forum Software