New bee:How do i make an .exe file in VS 2005?

L

Learner

Hi there,
Ours is an automotive inspection business. All our inspectors inspect
the vehicles and took picures as need and upload them to the webserver
from where every body will have access to these pictures on the web.

As pictures are bieng added on to the webserver onto the webserver
and its getting huge and hence a lot of burden on the webserver. So far
we are implementing a manual process of archiving those images and
cleaning the production images folder on the webserver.

Now, we want to develop some .exe file in place thats developed using
Visual Basic.net using Visual studio 2005. So i need help on how do i
start it right from what kind of project type i need to pick in order
to create an .exe (say FileMover.exe). I see different kinds of project
types in the New Project wizard. And it has the below project types
under Visual Basic/ Windows

Windows Application Class Library
Console Application Windows Control Library
Webcontrol Library Windows Service
Empty Project Crystal Reports Application

of all these i am not sure if i am correct i think Windows Service type
is a suitable project type and it creates an .exe when i compile it?

Please help me with this.

Thanks
-L
 
C

Chris Dunaway

Windows Application will create an .exe that you would execute normally
by double clicking on its icon.

A Console Application is like a command prompt program. It does not
have a standard "windows" look but rather a DOS type program look.

A Windows Service application also creates an .exe but is executed when
Windows starts and not by clicking on its icon in explorer.

Depending on how the app will be executed will determine which one you
choose. This is an over-simplified explanation of each type, but
hopefully it will help.
 
L

Learner

Hi Chris,
Thanks for replying me. All i am looking here is to create an .exe
file instead of using a .bat or .cmd or a .vb script file to manage the
image folders on the production server. Becauase it takes atleast 5
hours to complete the move at any given time. So i am not sure if a .vb
script file or .bat file or .cmd will be able to handles these much
long process so i am just finding ways to pick the right project type
and go from there.

Do have any clue on which project type either Windows Application or
Windows Service is more suitable in my case? I have read Windows
Service project type is more complex to deal with. As you mentioned
that an .exe can be generated using Windows Application project type
can also generate an .exe so i am leaning more towards it. Once i get
the .exe i can schedule it in the windows scheduler and automate it.

please suggest.
thanks
-L
 
9

97T

A batch file (.bat) can easily be made to automate the file move operation,
and you don't have to learn an entire new language or install a huge
software framework to do it. An 'exe' file will not move the files any
faster, but it may take you a month or so to figure out how to make it work!

Complete primer on batch files, how to automate them, and how to use them
for file backup operations is here:

http://www.informationweek.com/stor...IF32QHKQSNDBOCKHSCJUMEKJVN?articleID=13000138

Follow the link in the article to the next article, there are over 80
examples available to download and learn from.

These you can learn in a day. You can automate it to make new folders and
copy the files at night. You can make it run hidden if you need to, also.

--NinerSevenTango--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top