473,289 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

Problem creating Release EXE

I am using VisualStudio 2005 (VB.Net).
A weird thing happens. I used to have a button and a textbox on my form, and
I deleted them. I do a Build on a Release mode. But, the EXE that it creates
is dated 8/23/07 4:20 pm. My computer clock says 8/22/07 4:50 pm. And, when
I run the exe, both the button and textbox are still on the form. The Debug
exe is fine. I even added msgbox at form_load, and the message box is shown
on the Debug exe, but not on the Release exe.
No matter what I do/change on the code, the release EXE created is dated
8/22/07 4:50 pm.
What can I do to create the correct Release EXE ?
Thank you.
Aug 22 '07 #1
4 1305
Check whether you have "On Run, when build or deployment errors occur" you
have "Launch old version" or some setting that is causing you to launch the
older version. This setting can be found at Tools->Options->Projects and
Solutions->Build and Run.

-Arun
I am using VisualStudio 2005 (VB.Net).
A weird thing happens. I used to have a button and a textbox on my
form, and
I deleted them. I do a Build on a Release mode. But, the EXE that it
creates
is dated 8/23/07 4:20 pm. My computer clock says 8/22/07 4:50 pm. And,
when
I run the exe, both the button and textbox are still on the form. The
Debug
exe is fine. I even added msgbox at form_load, and the message box is
shown
on the Debug exe, but not on the Release exe.
No matter what I do/change on the code, the release EXE created is
dated
8/22/07 4:50 pm.
What can I do to create the correct Release EXE ?
Thank you.

Aug 22 '07 #2
You have more than one weird thing happening. You've asked a question about
Windows Forms executables in the ASP.NET newsgroup, which has nothing to do
with Windows Forms. Try to post questions to the correct newsgroup for best
results.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"fniles" wrote:
I am using VisualStudio 2005 (VB.Net).
A weird thing happens. I used to have a button and a textbox on my form, and
I deleted them. I do a Build on a Release mode. But, the EXE that it creates
is dated 8/23/07 4:20 pm. My computer clock says 8/22/07 4:50 pm. And, when
I run the exe, both the button and textbox are still on the form. The Debug
exe is fine. I even added msgbox at form_load, and the message box is shown
on the Debug exe, but not on the Release exe.
No matter what I do/change on the code, the release EXE created is dated
8/22/07 4:50 pm.
What can I do to create the correct Release EXE ?
Thank you.
Aug 22 '07 #3
Thank you.
"On Run, when build or deployment errors occur" is set to "Prompt to launch"
"On Run, when projects are out of date" is set to "Prompt to build"
The weird thing is, no matter what I do the exe created is always dated
8/23/07 4:20 pm. I even rebooted my machine and still has the same problem.

"Arunkumar Keserla" <ak******@gmail.comwrote in message
news:d7*************************@msnews.microsoft. com...
Check whether you have "On Run, when build or deployment errors occur" you
have "Launch old version" or some setting that is causing you to launch
the older version. This setting can be found at Tools->Options->Projects
and Solutions->Build and Run.

-Arun
>I am using VisualStudio 2005 (VB.Net).
A weird thing happens. I used to have a button and a textbox on my
form, and
I deleted them. I do a Build on a Release mode. But, the EXE that it
creates
is dated 8/23/07 4:20 pm. My computer clock says 8/22/07 4:50 pm. And,
when
I run the exe, both the button and textbox are still on the form. The
Debug
exe is fine. I even added msgbox at form_load, and the message box is
shown
on the Debug exe, but not on the Release exe.
No matter what I do/change on the code, the release EXE created is
dated
8/22/07 4:50 pm.
What can I do to create the correct Release EXE ?
Thank you.


Aug 23 '07 #4
Try to nuke your bin directory both release and debug. Sometimes, you may
have a release setting when you were expecting a debug version (or vice versa)

-Arun
Thank you.
"On Run, when build or deployment errors occur" is set to "Prompt to
launch"
"On Run, when projects are out of date" is set to "Prompt to build"
The weird thing is, no matter what I do the exe created is always
dated
8/23/07 4:20 pm. I even rebooted my machine and still has the same
problem.
"Arunkumar Keserla" <ak******@gmail.comwrote in message
news:d7*************************@msnews.microsoft. com...
>Check whether you have "On Run, when build or deployment errors
occur" you have "Launch old version" or some setting that is causing
you to launch the older version. This setting can be found at
Tools->Options->Projects and Solutions->Build and Run.

-Arun
>>I am using VisualStudio 2005 (VB.Net).
A weird thing happens. I used to have a button and a textbox on my
form, and
I deleted them. I do a Build on a Release mode. But, the EXE that it
creates
is dated 8/23/07 4:20 pm. My computer clock says 8/22/07 4:50 pm.
And,
when
I run the exe, both the button and textbox are still on the form.
The
Debug
exe is fine. I even added msgbox at form_load, and the message box
is
shown
on the Debug exe, but not on the Release exe.
No matter what I do/change on the code, the release EXE created is
dated
8/22/07 4:50 pm.
What can I do to create the correct Release EXE ?
Thank you.

Aug 23 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Phil Schmidt | last post by:
I'm attempting to follow the instructions at http://sebsauvage.net/python/mingw.html, without luck. I have Python 2.3, MinGW 3.2.3, ans SWIG 1.3.19. I get an export error on "initexample" when...
0
by: Jose Vicente Nunez Z | last post by:
Greetings, I wrote a couple of custom dummy extensions in Python (one a pure Python and the other a C) and i managed to compile and install them without a problem: $ make python2 setup.py...
7
by: Carl Waldbieser | last post by:
I tried to adapt the instructions for building the M2Crypto module (http://sandbox.rulemaker.net/ngps/m2/INSTALL.html) to build a version compatible with Python2.3, but I've had some mixed results....
0
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in...
0
by: Adam Clauss | last post by:
I have a C++ COM Addin I wrote for Outlook (2002) using VS.Net 2002. Having completed it, I am now looking to create a setup project and install it on another machine. I created a setup project...
5
by: David++ | last post by:
Hi there, I have built a DLL in Visual C++ 6. When I build the DLL it builds fine for the debug version of the DLL (and this DLL works fine), however, I seem unable to build a Release version of...
4
by: Johny_W | last post by:
hi guys, I have encountered a problem with IE automation (.NET 2.0, C#, mshtml, SHDocVw). I am writing a class for manipulating specific html pages with frames. It is supposed to be used from...
4
by: fniles | last post by:
I am using VisualStudio 2005 (VB.Net). A weird thing happens. I used to have a button and a textbox on my form, and I deleted them. I do a Build on a Release mode. But, the EXE that it creates is...
1
by: avpkills2002 | last post by:
I seem to be getting this weird problem in Internet explorer. I have written a code for parsing a XML file and displaying the output. The code works perfectly fine with ffx(Firefox).However is not...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.