Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

How do get an EXE for my application

Posted on 2010-08-30
Last Modified: 2012-05-10
Hello Everyone,
    I have an application that runs some code from fortran libraries( mostly user subroutines and such). This application uses vb.net for the graphical interface. In VB6 I was able to take the exe of the interface( seperate from other libraries) and put it on other computers so that other people could help me debug (just the interface). I was wondering how I could do this in VS 2005. I am able to find the exe file in the bin folder but it won't run. Are there any settings I could change to make the exe in the bin folder run?

any help would be appreciated greatly.
Question by:sn1fflez
  • 4
  • 3
LVL 17

Expert Comment

by:Daniel Reynolds
ID: 33559909
We cant see the errors you are getting, but most likely it is the fact that the .Net libraries are not on the computers you are trying to install it on.

The most obvious thing to do is tocreate the the setup program to and use it for the install it on the other computers. This will provide the prerequisites needed to run the application.

After that initial install, you would probably be able to just copy the exe over the top of the first one as long as you didn't add some external librarie, which if you did, you would need to do an uninstall and reinstall of the program.

LVL 85

Expert Comment

by:Mike Tomlinson
ID: 33559912
Do the people attempting to run your EXE have .Net 2.0 (or above) installed on their machines?...

You may need to copy EVERYTHING in the \bin folder to the target computers as well.

Author Comment

ID: 33559959
The problem occurs even when I try to open the exe from within the bin folder of the computer which used to create the application. I don't want others to be able to run the full application until it is ready so I don't want to publish/ use an installer to get the exe (even though it would be a lot easier to get an exe that way). when I check the file properties of the exe within the bin folder it says that it is almost a year old... but I have been compiling almost everyday since then.
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

LVL 85

Accepted Solution

Mike Tomlinson earned 500 total points
ID: 33559986
Delete everything in the \bin folder and compile again.

Author Comment

ID: 33560041
thanks Idle_mind, I will try that and get back to you around 3pm today

Author Comment

ID: 33562658
the above worked like a charm but now I get the following message: "An error occurred creating the form. See Exception.InnerException for details.  The error is: Font 'MS Reference Sans Serif' does not support style 'Regular'." . I get this when I try to run application on a different computer. I will accept the above solution but could you let me know what this error might mean?
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 33562676
That other computer doesn't have the same font installed or it is corrupt somehow...

Author Comment

ID: 33562807
yeah that did it.. thanks so much for the help!

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used.

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question