There is a simpler way.
Just type "devenv <.sln filename>" or "devenv <.vcproj filename>"
You need to ensure that devenv is in the path.
For this you can take the Visual Studio 2005 Command Prompt.
You will find the link in All Programs -> Microsoft Visual Studio 2005 -> Visual Studio Tools.
«_Superman_» I love work. It gives me something to do between weekends.
I converted one window based application from vs2002 to vs2008.Whenever I open a dialog and when i move my mouse on that dialog then dialog beocmes invisible only if mouse goes on some controls like(button,checkboxes).
Please suggest me some solution.
but it seems that, you are doing some thing there.
first try to comment the whole code in on mouse move and see what happens?
and, do you observe the dialog hidden or killed?
if it is hidden, then is it again coming back in any other event?
-------------------------------------------- Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
I have created a program which can scan windows update, download updates, install updates.
But its scan results defer from that of MBSA, it always gets more results. After I checked it, I found that it involves "SupersededUpdateIDs". MBSA often removes update items that are superseded by others. However, this is not always true. After I improved the program according it, I indeed reduced the difference between MBSA and my program, but still some difference. Can anyone tell me how MBSA dealed with the scan results? I mean, what MBSA has done with the scan results according to "SupersededUpdateIDs" or anything else?
Also, When I use "download" and "install" function in my program, sometimes there are errors, like "0x80240024"(when download), "4"(when install) HRESULT value returned. I want to known if it concerns with my os setting or something else. So can anyone tell something about this?
In my code i have too much comparison of strings, is it not a better idea to associate an enum for each string and compare them ?
Will this be faster or will it be same as string comparison ?
Thanks in advance.
I don't think it's a good idea to associate an enum with every string.
If you use "string" or "CString" class type and two string objects will not have same contents(like string1 == "abc" and string2 == "abc"), you can only compare two string's addresses, like "&string1 == &string2" or "string1 != &string2".