[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 139
  • Last Modified:

Struggling to make an exe

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
little2do
Asked:
little2do
  • 3
  • 3
1 Solution
 
mark2150Commented:
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
 
little2doAuthor Commented:
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
 
mark2150Commented:
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
little2doAuthor Commented:
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
 
mark2150Commented:
Thankx.

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

M
0
 
little2doAuthor Commented:
Its not Project1 but thanks anyway.
0
 
mcriderCommented:
If you rename the file you get to file.exe does it run???


Cheers!®©
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now