?
Solved

Struggling to make an exe

Posted on 2000-05-04
7
Medium Priority
?
137 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 200 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
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!

 

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

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!

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

765 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