By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,876 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,876 IT Pros & Developers. It's quick & easy.

Won't save as .EXE

P: 1
Hey folks, i've just started with VB, I made a fairly okay loading screen for my new program i'm making but I have a problem IT WON'T LET ME SAVE AS .EXE, when I go to file it comes up with the option but it is grey and does not let me click it, can anyone help please? it would be appreciated.
Jul 11 '07 #1
Share this Question
Share on Google+
8 Replies


Expert 5K+
P: 8,434
What version of VB is this?

If it's VB 2005 Express Edition, which is a free download, maybe (I don't know) this is one of the things which is disabled to make it the "express" edition.
Jul 12 '07 #2

P: 6
dont worry i have the same problem with my vb6 version..

i have a large programe and it freeze's...
i would like to know why myself...
the file is only 450 kb and i cant put it into *.exe file... * = file name.

Is there an update on this program or do i need to re-re-re-re-re-istall it??

lol...

Thanx for the help.
Jul 12 '07 #3

Expert 5K+
P: 8,434
dont worry i have the same problem with my vb6 version..

i have a large programe and it freeze's...
i would like to know why myself...
the file is only 450 kb and i cant put it into *.exe file... * = file name.

Is there an update on this program or do i need to re-re-re-re-re-istall it??
What file is 450KB? And at what point do things freeze?
Jul 12 '07 #4

Mague
100+
P: 137
If you are using Visual Studio 2005 you dont need to put it into an exe file. When it debugs it has to save the file somewhere so it can run. (Well i think it has to) So i found out where it saves it to.

If you open the project file.

You will now see a folder with the same name as your project and a .sln file the same name as you project. Open the folder.

You will find a folder called bin then another folder called debug

open debug.

You will then see yourproject.exe you can copy and paste it or watever.

This is the path location for my computer

C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\Yourproject\Yourproject\bin\Debug\Yo urProject.exe


Hope this helps

Mague

ps Killer i decided to start chiping in for all the help u gave me
Jul 13 '07 #5

P: 6
What file is 450KB? And at what point do things freeze?

My full project is about 420 k... ...

TExt document, Visual Basic Project, Visual Basic Form Binary file, Visual Basic Form fil and another Text document, they are equal to a total of 400 k..

but it's mostly the Binary file that is 398 kb...

It freeze's when at the Compiling section... Everything freeze's... Wont move and wont do a thing..

BTW it's Visual Basic 6 not Visual Studio 2005 just to reply at the same time to Mague, thanx anyways....


Thanx, Vad
Jul 13 '07 #6

P: 6
Just to add some information here, i'm trying to crop some lines from my program ... It might work to compress it...
At least i hope.
Jul 13 '07 #7

P: 38
In VB6, wow that brings back memories, you don't SAVE AS .EXE as long as you have the appropriate version (i.e. not Learning Edition) Click File -> Make EXE File. Then If I remeber correctly it promtps you for a Name and path for your new .EXE file

In Visual Studio versions that use .NET, It was correctly stated where the .EXE file is in the folder where your project is saved. However there is not just one, there are two!!! one in the debug folder, adn one in the release folder, both are in bin folder. I do believe you have to compile in borth DEBUG and RELEASE to get the both EXE's created. For those of us who are not familiar with changeing the compile type it is done click Build -> Configuration Manager then a dialog will appear and simply change the Active Solution Configuration.

Hope this information is helpful. Happy Coding!
Jul 13 '07 #8

P: 6
In VB6, wow that brings back memories, you don't SAVE AS .EXE as long as you have the appropriate version (i.e. not Learning Edition) Click File -> Make EXE File. Then If I remeber correctly it promtps you for a Name and path for your new .EXE file

In Visual Studio versions that use .NET, It was correctly stated where the .EXE file is in the folder where your project is saved. However there is not just one, there are two!!! one in the debug folder, adn one in the release folder, both are in bin folder. I do believe you have to compile in borth DEBUG and RELEASE to get the both EXE's created. For those of us who are not familiar with changeing the compile type it is done click Build -> Configuration Manager then a dialog will appear and simply change the Active Solution Configuration.

Hope this information is helpful. Happy Coding!
I know it's an old version of VB but the thing is i'm an old person... I started learning Basic with QBasic in Dos... If you know what DOS is..lol.. Just teasing you...

Thank you, i found out why i had problem compiling my file into an executable file... I had to many lines and i just removed about 500 lines from my program into 3 .... lol... Been a while since i used VB..... The first version of VB i used was VB4 when i started my Diploma in 1993.... So that should tell you how old i am right now...

Anyways, thank you, your information did help me at the same time...
I worked toooooooo hard for those 500 lines but with some other help files on this site, I croped 500 lines.. That was too cool to remember how to do it...

Now here is another problem i have.. Or should i create a new message??

Anyways..

---------------------------------------------------------
Randomize Timer

For i = 1 To 100 Step 1

a = Rnd() * 10 + 10
Me.Controls("text" & CStr(i)).Text = Me.Controls("text" & CStr(a)).Text

Next i

-----------------------------------------------------

I would like the random to be into a new form.. Exemple.. Form2...

I tried this

Randomize Timer

For i = 1 To 100 Step 1

a = Rnd() * 10 + 10
Me.Controls("text" & CStr(i)).Text = form2.Me.Controls("text" & CStr(a)).Text

But it didn't work, am i putting it at the right place or should i place it somewhere else??

Thank you for answering.

Vad!
Jul 13 '07 #9

Post your reply

Sign in to post your reply or Sign up for a free account.