Click here to Skip to main content
15,901,426 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Brothers.
I am working on a VB.Net Project. In a subroutine I put a Msgbox temporarily to get some value. After getting the value, I removed the msgbox. But after removing the msgbox I am having these problems.
1. after being removed the msgbox yet appears. The code of msgbox does not exist, but the msgbox appears yet.
2. When I change the start up form it does not take affect and the when I runs the application the start up form appears that was on the time of msgbox coding.
I have tried much to solve this problem by restarting the application and restarting the computer.
And this all happened when I puts the msgbox code and removed it.
This msgbox is also not getting rid of me.
I am very worried about these problems.

Plz Help Me.
Posted

It's a caching issue. Try cleaning the code. Remove bin & obj folders and re-build everything.
 
Share this answer
 
Comments
rashidfarooq 1-Aug-10 3:05am    
Thanks very much Brother.
You are great.
When I removed the bin & obj folder, My problem was solved.
Your are too great.
Thanks once again.
rashidfarooq 1-Aug-10 3:05am    
Reason for my vote of 5
That is a fantastic solution.
Sandeep Mewara 1-Aug-10 3:11am    
Nice to know it helped. :)
Well, just changing the code is not enough. You need to re-compile the code.
 
Share this answer
 
Comments
rashidfarooq 1-Aug-10 2:51am    
I think in VB.Net when we Press F5, it compiles and runs the program automatically. If it is not like that Then Plz Tell me that what is the way to recompile it.
Yusuf 1-Aug-10 3:07am    
select build from the menu (or use whatever shortcut key it uses, I think it is F6)
see error list and clear all then rebuild project.it will appear on incomplete syntax or incomplete statement.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900