Solved

Struggling to make an exe

Posted on 2000-05-04
7
133 Views
Last Modified: 2010-05-02
When i try to create an exe file for a cirtain program, all VB allows me to create is a normal file? (not an application file)

Then if i try to create an exe file for a different program i don't have a problem!

The program in question is running without any errors.

Any thoughts?
0
Comment
Question by:little2do
  • 3
  • 3
7 Comments
 
LVL 12

Expert Comment

by:mark2150
ID: 2777088
How are you creating the .EXE? You should be just clicking File/Make ... What error are you getting? What do you mean by a "normal" file?

M
0
 

Author Comment

by:little2do
ID: 2777136
When i go File/make..., instead of it saying 'Make Project1.exe...' it
just says 'Make Project1...

And If i 'Make project1...' the file that is made, its 'Type' is = File
0
 
LVL 12

Accepted Solution

by:
mark2150 earned 50 total points
ID: 2777147
When you specified the file name for the .exe file did you happen to put a . at the end of the name?

You should have:

MyProg

and not

MyProg.

This would cause the IDE to assume *no* extension for this particular program. You can manually change the name to MyProg or MyProg.Exe and then when you save the project it it should remember.

M
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:little2do
ID: 2777225
Mark2150,
thanks for your quick responses,
No there is no . after project1

I have got it to make an exe file now.
What i did was go to the prject's properties and change project from a standard exe to an active x project. After this change then the option of making an exe was there again as it should be, i then changed the projects properties back to standard exe and in 'file' the option was make project1.exe...?????

Thanks for you help you can have the points anyway

0
 
LVL 12

Expert Comment

by:mark2150
ID: 2777253
Thankx.

You should rename your project something other than PROJECT1...

M
0
 

Author Comment

by:little2do
ID: 2777272
Its not Project1 but thanks anyway.
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2777290
If you rename the file you get to file.exe does it run???


Cheers!®©
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 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