Member Avatar for dmmckelv

I have created a few projects in VB.NET using Visual Studio 2005. I am wondering how to package the applications for deployment. I would like to be able to upload applications to a server or e-mail the apps. An .exe file with an icon would be great. How do I do it?

I have the same question for java and C++ applications.


In Visual Studio go to New Project -> Project types: Other Project Types -> Setup and Deployment.

While in java you can create it to a JAR file which is more like a zip. If you want to create an exe out of java files then you have to use a third party tool to create an exe.

For creating a JAR:

first create a manifest file

Manifest-Version: 1.0
Created-By: 1.5.0 (Sun Microsystems Inc.)
Main-Class: mainclass name

then to create the JAR file.

jar cmf anyname.jar *.*
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.