Board index » Visual Studio » VB6 Make Exe no longer enabled on File menu

VB6 Make Exe no longer enabled on File menu

Visual Studio336
I can no longer make exe's in VB6. The Make exe item on the File menu is

grayed out. I have been creating exe files for at least a year on this

machine, but suddenly no go. I did have a few VB crashes when I was working

on creating an OCX. I'm guessing that one of these crashes caused the

problem. The only way to make an executable now is to have my project in a

project group. I can then Make Project Group and select the project that I

want. It's a pain for project groups with lots of projects, however.



Does anyone know how to get the Make exe item enabled again?





Thanks,



Dave


-
 

Re:VB6 Make Exe no longer enabled on File menu



"Dave" <Dave@discussions.microsoft.com>wrote in message

Quote
I can no longer make exe's in VB6. The Make exe item on the File menu is

grayed out. I have been creating exe files for at least a year on this

machine, but suddenly no go. I did have a few VB crashes when I was

working

on creating an OCX. I'm guessing that one of these crashes caused the

problem. The only way to make an executable now is to have my project in

a

project group. I can then Make Project Group and select the project that

I

want. It's a pain for project groups with lots of projects, however.



Does anyone know how to get the Make exe item enabled again?





Thanks,



Dave



First:

support.microsoft.com/kb/266747/en-us">support.microsoft.com/kb/266747/en-us



Second:

There is a more exotic situation that can occur if to VB's mind there isn't

anything to compile. But this is usually limited to specific projects. A

chintzy way to fix this is a good project cleanup. Removing any .oca files,

and then creating a dummy Sub Main or Form1, Then make the dummy the new

'startup object'. This usually repairs the problem or helps point out the

problem. You can go back and remove the dummy after it is working.



As you can still compile from [Group] then this is likely not the case. More

likely it is just a corrupted menu.



hth

-ralph





-

Re:VB6 Make Exe no longer enabled on File menu

Thanks, Ralph, support.microsoft.com/kb/266747/en-us">support.microsoft.com/kb/266747/en-us provided the

answer.



Dave





"Ralph" wrote:



Quote


"Dave" <Dave@discussions.microsoft.com>wrote in message

news:04FFAE19-96B1-4EC1-BC23-BD94D0B2283D@microsoft.com...

>I can no longer make exe's in VB6. The Make exe item on the File menu is

>grayed out. I have been creating exe files for at least a year on this

>machine, but suddenly no go. I did have a few VB crashes when I was

working

>on creating an OCX. I'm guessing that one of these crashes caused the

>problem. The only way to make an executable now is to have my project in

a

>project group. I can then Make Project Group and select the project that

I

>want. It's a pain for project groups with lots of projects, however.

>

>Does anyone know how to get the Make exe item enabled again?

>

>

>Thanks,

>

>Dave



First:

support.microsoft.com/kb/266747/en-us">support.microsoft.com/kb/266747/en-us



Second:

There is a more exotic situation that can occur if to VB's mind there isn't

anything to compile. But this is usually limited to specific projects. A

chintzy way to fix this is a good project cleanup. Removing any .oca files,

and then creating a dummy Sub Main or Form1, Then make the dummy the new

'startup object'. This usually repairs the problem or helps point out the

problem. You can go back and remove the dummy after it is working.



As you can still compile from [Group] then this is likely not the case. More

likely it is just a corrupted menu.



hth

-ralph







-