Skip to main content

Visual Studio 2008 Not saving changes or project properties?

Alsalam alikom wa ra7mat Allah wa barakatoh (Peace upon you)

I’ve recently ran into problems with VS 2008. Summarized here:

  1. When you try to edit the project properties (specially C++ projects) you are faced with a little nice message saying “Exception from HRESULT: 0xF9F0F308”.
  2. Sometimes when you are editing a file (specially large ones), VS doesn’t recognize you’ve made changes (ie doesn’t display that ‘*’ in the files tabs) hence, when you save, nothing actually gets saved.

For those 2 problems, a friend explained the problem and a work around (till they officially release a fix)…

  1. Open up a Visual Studio 2008 Command Prompt
  2. Run cd "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE"
  3. Make a backup copy of devenv.exe in case something does not work right.
    ie. copy devenv.exe devenv.exe.bak
  4. Run editbin /largeaddressaware:no devenv.exe

Happy VSing… :)

Comments

  1. I guess this command will resolve the address in the devenv.exe, Call, JMP,.. etc or what.

    I think this problem is because u use 64 Bits OS.

    ReplyDelete
  2. I don't know "exactly" what will be changed in the binary code, it's definitely something related to the address resolution...
    I'm using 64bit OS yes, but I think this can still happen on an extended 32bit process on 32bit OS (one that can use 3GB of RAM instead of the default 2GB limit)...

    Welcome on my blog, Ahmed. It's an honour :)

    ReplyDelete
  3. Asalamoalikum, my vs is not saving any changes, im making in my form, it was working fine just now, but suddenly sumthing happened. Any suggestions :( ???

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. @Rabia.Mona,
    Wa3alaykom al salam,
    May I ask what are the symptoms? do you get the exception above? or some other HResult? or nothing at all?

    When you edit any file, do you see a "*" beside the file name in the tabs bar?

    ReplyDelete
  6. yes, there is a asterisk sign when i edit any form code. But there is no error or exception appear and it just run the previously saved code, new changes do not appear :(

    ReplyDelete

Post a Comment

Popular posts from this blog

Windows7 adds Math Input Panel

Alsalam alikom wa ra7mat Allah wa barakatoh… I was reading a windows team post about Input Panels improvements in Windows7 [ here ]. When at the end I saw a very interesting –intuitive if you wish- new thing… which is, as you guessed, the Math Input Panel… Yes, that crappy font is mine… I “drew” that by mouse as I don’t have a tablet pen/pc. You can then paste it directly into word and it’ll recognize it as an editable equation… During my tests, the output panel (the top part) hanged, but I liked that the drawing panel was still responsive and I could still write/erase… till the top one started to respond again… One other thing to know, after you click Insert (that button down there) it copies the equation in MathML [ Wikipedia link ] format.. which is a standard way of representing equations and hence any application that recognizes the format can insert it not as an image but as a nice editable equation… If you think it recognized something wrong, you can click “Sele

Microsoft Web Platform Installer… coming near you

The Microsoft Web Platform Installer 2.0 (Web PI) is a free tool that makes it simple to download, install and keep up-to-date with the latest components of the Microsoft Web Platform, including Internet Information Services (IIS), SQL Server Express, .NET Framework and Visual Web Developer. In addition, install popular open source ASP.NET and PHP web apps with the Web PI. Here is the code snippet if you want to spread the word :) < a href ="http://go.microsoft.com/fwlink/?LinkId=146503" title=" Get the Microsoft Web Platform " > < img src ="http://www.microsoft.com/web/media/badge/get_microsoft_web_platform.png" alt ="Get the Microsoft Web Platform" border ="0" /> </ a >