Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   question (http://www.programmingforums.org/showthread.php?t=3760)

amin1982 May 5th, 2005 3:30 PM

question
 
hi
how can i open a file from a visual basic interface if the file is in anywhere in the computer
and then send the file name to an EXE file to do operation on the opened file?
Private Sub Command1_Click()
CommonDialog1.ShowOPen
A = Shell(CommonDialog1.FileName)
End Sub
after opening the file , can i send its name to EXE file????????
how????///

Rory May 6th, 2005 6:23 AM

Sorry, but what is it you want to do? By "sending it's name to EXE file" do you mean as a command line parameter such as 'command.com /c "copy one.txt two.txt"' or a Standard I/O transaction e.g. CGI or a DDE transaction such as with MsWord?
If you can tell us exactly what you want to do we might be able to help ;)

Ooble May 6th, 2005 6:30 AM

Shouldn't you be in Maths?

Rory May 6th, 2005 1:14 PM

Quote:

Originally Posted by Ooble
Shouldn't you be in Maths?

No, just got back from a French oral (at the time).


All times are GMT -5. The time now is 5:33 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC