Solved

Struggling to make an exe

Posted on 2000-05-04
7
135 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
[X]
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
  • 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
Independent Software Vendors: 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!

 

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

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!

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

749 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