Visual Studio 2008 shows a lot of erroneous errors when building a website (not a web project) in the errors list. These errors are usually corrected (removed) when I rebuild the site a couple times but they cost me wasted time.
Is there anyway to hide the erroneous errors?
Does anybody have an example of working with database using Visual C++ and OLEDB? What should I include on top of my code?
I have searched the internet and most examples are using C# or VB. Examples written by C++ are usually not complete.
I really appreciate your help.
Best,
Shadi.
Sorry for the vague title, but I'm not sure what this is called.
Say I add IDisposable to my class, VisualStudio can create the method stub for me. But it creates the stub like:
void IDisposable.Dispose()
I don't follow what this syntax is doing. Why do it like this instead of public void Dispose()?
And with the first syntax, I couldn't work out how to call Dispose() from within my class (in my destructor).
Hi,
I just created a new project configuration.
I named it 'Blah' So no 'debug' in it.
Now how does VisualStudio know when to compile a debug file or a release file.
is this merely defined by the DEBUG constant?
Or am I wrong? :)
Thanks
Ive used visualstudio for years, but the answer this eludes me:
When intellisense pops up, for a method call that takes more than one parameter, the summary for the first parameter is shown. The only way i've found to show the summary for the following parameter(s) is to either supply each parameter or just hit comma until i get the one im looking for.
Ive tried ctrl+right arrow, shift + right arrow etc etc, without success.
Just curious is all.
I am using Visual C++. How to copy the content of this file to another file?
UINT32 writeToLog(wstring log)
{
wfstream file1 (LOG_FILE_NAME, ios_base::out);
file1 << log;
file1.close();
// want to copy file1 to file2
return 0;
}
Is there a way in VisualStudio 2008 to go from a closing brace to it's opening brace? I've found a fair amount of stuff about highlighting the brace, but nothing about moving the cursor to it.
This is somewhat related to a similar post, but that post was VisualStudio 6 in general and a lot of the suggestions didn't apply to VB6.
Suggest or vote for tools/tips. Please one tool/tip per post so that everyone can vote on them individually. Include a brief description of what the tools do.
It doesn't seem like SQL Management Studio Express 2005 considers Internet Options proxy settings defined for the LAN when trying to connect to SQL Server 2005.
Is there a way to make it use the proxy settings?
Hi there I have build a project with visualstudio 2010 but I now need to open it using an older version vs2008. Is this possible by just changing the target framework to .net 3.5?
Is there any truth to the rumor that VisualStudio 2010 will natively support PHP coding?
(http://www.codeplex.com/php4vs)
If not,what are the options?(except VS.php)
I have an ASP.net MVC 1.0 VS2008 application that I just opened in VisualStudio 2010. When I did this Studio upgraded the app from VS2008 to the VS2010 project. It also upgraded the MVC references from 1.0 to 2.0.
In my app I have a class for a form post, I then use the class for the model binding in the Action method so it will auto populate the values. This worked fine in mvc 1.0 but now it does not work in 2.0 after the upgrade.
Does does anyone know why? Or where I should look to resolve this?
Here is my class,
public class Add_Postal_Form_Input
{
public string ACTION_RDO { get; set; }
public string POSTALSELECT { get; set; }
public string CNY_CD { get; set; }
public string S_PST_LOW { get; set; }
public string R_PST_LOW { get; set; }
public string R_PST_HI { get; set; }
public string G_PST_LOW { get; set; }
public string G_GRP_CD { get; set; }
public string CAT_CD { get; set; }
public string SUB_CD { get; set; }
public string ATTR_VAL { get; set; }
public string NBG_HR { get; set; }
public string NBG_MN { get; set; }
public string REC_STT_DT { get; set; }
public string REC_END_DT { get; set; }
public string DEFAULT_DATE { get; set; }
}
Here is the method,
[AcceptVerbs("POST")]
public PartialViewResult AddData(Add_Postal_Form_Input FORM_IN)
{
Thanks
I'm using VisualStudio 2008 on Windows 7. When I'm editing .aspx file VS stalls and thinks for about 3 sec every time I add a tag. Very frustrating. I'm guessing its doing some kind of compilation or checking. What can I do to make VS more responsive?
Hi, I'm running Appverifier in an application. When it detects a memory leaks the logs saids
"Address of the leaked allocation. Run !heap -p -a to get additional information about the allocation."
I guess that's when you are running in Windbg, is there any way to access the allocation stack trace from inside VisualStudio ?
Is there any way to remove certain assemblies or namespaces from the index of (or entirely from) the VisualStudio 2005 Documentation? System.Web.UI and System.Windows.Forms contain many identical class names and I'd like to eliminate those in System.Web.UI that are irrelevant to me.
Hi!
How do you create a desktop application using C# that would look like VisualStudio 2010?
Here's an example
What development environments can you use?
Can you recommend any samples, tutorials or blogposts?
Hi All,
Every time I paste code from an Adobe reader eBook into VisualStudio it ends up looking like the image below. The only way I know to fix it is to go on each and every line and manually tab/backspace it all back in order. Source formatting does nothing (EditAdvancedFormat Document)
Anyone know how to fix the indention in this scenario?
Thanks
I guess I cant post images yet.. image below
https://dl.dropbox.com/u/416645/ugly.jpg
Looking for a variety of Windows Form (winforms) tutorials for visualstudio.NET C++
I found a few basic ones:
How to: Create a Windows Forms Application
Walkthrough: Retrieving Dialog Box Information Collectively Using Objects
Any others?
Thank You.
Hi,
I am doing some image sampling. What my question is, is there a 'crosshair' tool in visual studio? I want to have several instances on a single form, be able to move them around and then sample those points, obviously returning the color of the pixel at the center of the crosshair, is there already a tool that will do this, before I go and write one?
Thanks, R.
I want to count how many times i built on VS.NET .
I have a plan. If i run svn commit when i build to project, i would have build count on revision number :)
I didn't write any macro which can execute a command. And i don't know visualstudio is allowing to prebuild event for this kind of request.
Is it possible to add visualstudio macro's to a solution, so they would be checked in by svn ?
If not, how do you deploy your utilities/scripts with your developer team ?