Link to home
Start Free TrialLog in
Avatar of justice_ong
justice_ong

asked on

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?
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

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.
Avatar of justice_ong
justice_ong

ASKER

i wish i can use VB to program this .exe file. can u help me?
thanks
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.

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!!
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!
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  !
Here is the URL :

https://www.experts-exchange.com/questions/21101842/Write-all-song-titles-to-a-text-file.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.
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?
ASKER CERTIFIED SOLUTION
Avatar of Shane Russell
Shane Russell
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok. i will try to look at it. no matter whether can find the answer, i must say thanks to you.
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.