• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

looking for skills

hi, all
 i am a new beginer of VB, can anyone tell me how to make a program as follow:

 i want to create a program (exe file), when i send this file to another pc thru network, when another pc click the .exe file, the program will search all the same format files (for example, .avi, .mp3, .mpeg, etc) and list all the format files available in that pc and send back to my pc thru network, so that i know what movie, or music files the pc available.
 
 is it possible?
0
justice_ong
Asked:
justice_ong
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
It's possible, but it's not a quick and easy thing as far as I know.  I'd just write a DOS script to do this.  Let me know if you want to look into that option or if the app must be done in VB.
0
 
justice_ongAuthor Commented:
i wish i can use VB to program this .exe file. can u help me?
thanks
0
 
anvCommented:
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
JackOfPHCommented:
it is possible to send the file through other computer in the network. try to use winsock control the easiest way i know in tranferring files over network. if you wantsimple codeof tranfering files let me now.

0
 
justice_ongAuthor Commented:
sorry jackofph,
 i am a beginner of vb. i don't understand what do you mean. can you send the code for me? my email : ong_chik_heng@hotmail.com

thanks!!
0
 
justice_ongAuthor Commented:
maybe i try to specify my question.
 i want to make a application file (.exe) and send it to my frenz thru msn messenger. but i don't know their pc name or ip address. after they open the file, the program will search musics/ movies/ pictures inside their pc and then send the list of musics/movies/pictures (paste on the notepad) to my pc folder (specified by me)

wish you understand that what i mean..thanks!
0
 
gecko_au2003Commented:
You can make a program in Visual Basic using the File System Object and make a function in a module to search for any files that meet your requirements, ie mp3, mpeg, jpg, gif, etc and output them to a text file on your friends desktop. Then get them to send you that text file.

I can send you an EE PAQ that I asked which might help  !
0
 
gecko_au2003Commented:
Here is the URL :

http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21101842.html

It explains in there how to do it except you would want it to search for any media type file so you would have to alter that in the coding to search for the file types you want. You would also have to alter the piece of code that tells it where to save the txt file to the desktop location.
0
 
justice_ongAuthor Commented:
hi gecko_au2003,
 but i don't want the text file save in my frenz desktop, i wish the text file can save in my pc desktop thru network. can it work?
0
 
gecko_au2003Commented:
yes it can but for the save path you would have to not only have a shared drive that both of you can access you would also have to get the correct code that would be able to access that shared drive so as to allow it to save the text file there on that shared drive. Unless you made a shared folder on your computer but you would have to do research to find that out. Maybe you can find examples on www.planetsourcecode.com
0
 
justice_ongAuthor Commented:
ok. i will try to look at it. no matter whether can find the answer, i must say thanks to you.
0
 
gecko_au2003Commented:
Not a problem, some people in the past helped me on EE and you asked for something simmiliar so I just passed the knowledge on.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now