visual-studio-2008

Deploying Web service to : Mono 500 - Internal Server Error

I developed a webservices using Visual Studio 2008 with C# and C++. I deploy it to mod_mono, the services is loaded, but when I try to run a method using Invoke button I get the error below, I have tested with MoMA without any error: 500 - Internal Server Error System.TypeInitializationException: An exception was thrown by the type in...

visual studio watch window shows XML_Diffgram rather dataset

Hi, I am using VS 2008 with SP1. I'm working on Asp.Net with VB. From since last few day, I noticed that my VS doesn't display dataset (while debugging) in watch window anymore, rather dataset visualization it shows following thing 0x320330 {Key_XMLSchema = "XmlSchema", Key_XMLDiffgram = "XMLDiffgram"... I don't know what wrong happne...

how do i change the fonts in the BIDS package designer?

i went to: menu > tools >options > fonts and colors > business intelligence designers...but nothing happened when i changed the font size. i'm using visual studio 2008 what am i missing here? ...

Excluding Nested Items from Source Control

I'm using T4 templating to generate some .config files in a project I'm working on. I've set up a pre-build task to look for all .tt files in the solution directory, and then execute the TextTransform command-line tool, so that the code is freshly generated on each build. However, I'm now having "Access Denied" errors because (for exam...

How can i use js files in master pages?

i have a master page. i try to add js files. vs editor is not draw green color. But no affect my pages with js. i can not use below js. How can i write src? (i can use pickurl) but i don't see effects of js on page <script src="Engineering/EngDynamicsCreationExcel/EngJs/jquery-1.3.2.min.js" type="text/javascript"></script> <script src=...

PC Lint error linting VS 2008 project files

I'm trying to lint the source files from a VS 2008 project of mine, but although headers files are processed correctly, cpp files are not. Lint process is stopped and this error is shown: #error _WIN32_WINNT settings conflicts with _WIN32_IE setting C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\sdkddkver.h(217) : Error 309:...

RichText Debugger Visualizer Gone wrong

Since I do a lot of debugging with Rich Text manipulations, I decided to write a simple "RTF Debugger Visualizer" which looks like this #region Namespaces using System; using System.Diagnostics; using System.Drawing; using System.Windows.Forms; using Microsoft.VisualStudio.DebuggerVisualizers; using RtfVisualizer; #endregion [assembly...

Gallio Icarus never shows a file tree

Well I'm trying to run some tests in VS using MbUnit and Gallio. I'm trying to run them through Icarus. I'm simply going through the basic tutorial on the site, and were it says to add "SimpleLibrary.Test.dll", it shows an entire tree. However, mine WONT show a tree. It just shows the one file. Any suggestions? ...

Visual Studio 2010: It is worth for C++ programming ?

It is worth to upgrade from VS2008 to 2010 for C/C++ programming? I'm interested in IDE, compiler speed and code generation (i don't care about new C++0x features for now). I tested early beta releases and the WPF interface worked sluggish in comparison to the 2008 IDE. Thank you. ...

Visual Studio 2008: How to view “Advanced” properties in the Properties window?

Whenever I click on an object in the Solution Explorer, in the Properties Dialog, all I can see are the "Misc" properties, usually File Name and File Path, but I need to see the "Advanced" section. Under Tools -> Options -> Text Editor -> C#, there is a checkbox labeled "Hide advanced members". This was unchecked by default, and I've tri...

imagelist with label, why does it keep shrinking images

I am using an imagelist with a label control, basically doing custom rolleover affect. However, if I use an imagelist and try and write the image to the label it keeps shrinking the image to 16x16, even when the image in the list is actually 21 high by 65 wide, why is this and how can I stop it, basically display image at its default si...

FileNotFoundException on file that exists - C#

Hi I am trying to read a plain text file named "test.txt" from my system but all the attempts File.Exists(), StreamReder are not getting the file, that is not a new task for me but i am irritated due to this strange behavior. I have given full permissions to the file but in vain. I am doing the test in a C# console application. The syst...

This is strange in dbml designer Column name and Enttiy Name is different.

You know we are writing codes. on the other hand; we are changing DBML files if add or change database table. i droped my tables and added new tables. My DBML does not include new columns names. in My Database ENG_MAINWP_SELECTED_X is not the same as DBML this column ,n my dbml : ENG_MAINWP_SELECTED_X_ Why this strange behavior occur...

How to hide Web Reference from another project

I have two Visual Studio 2008 projects which are in the same solution. How can I add a Web Reference to project A so that project B doesn't see it? Project A needs web reference to WebService1 Project B shouldn't be able to see A.WebService1.* but needs reference to project A I don't want to manually modify the generated classes for ...

C++: strange behaviour with templates and #defines

I have the following definitions: template<typename T1, typename T2> class Test2 { public: static int hello() { return 0; } }; template<typename T> class Test1 { public: static int hello() { return 0; } }; #define VERIFY_R(call) { if (call == 0) printf("yea");} With these, I try to compile the following: VERIFY_R( Test1<int...

Tfsbuild MakDir to the output directory

I have a TFSBuild.proj which I want to edit slightly at the end - I want to make a bunch of directories and dump a few things in them. The problem I'm having is that the straightforward method dumps the new folder into the specified drop folder for all builds rather than the folder created for the current build. For example I had someth...

Is there any way to make newly generated threads automatically suspend in Visual Studio?

Hi, Debugging a multithreaded app. I'm freezing threads as I see them created, but I wonder if there is a setting so that newly generated threads are suspended by default? I keep glancing up and seeing new threads running which I don't want! Thanks ...

Visual Studio 2008, asks about encoding everytime I open a page.

Everytime I open a file in vs2008, it asks me about fixing the encoding. it also, if the file is open, asks me if I want to close the file before showing it. I'm pretty sure I fixed this issue once before, but I can't remember how. Does anyone remember how to fix it? Thanks, Cal- ...

Can I see source code of built-in controls?

how do i view source code of text box that developed by microsoft in visual studio 2008 while i am programming with c# language in visual studio 2008? ...

What is the reason of "An item with the same key has already been added." message in vs?

I am using Devexpress' DevExpress.XtraReports.UI.XtraReport component. And in vs2008 pro sp1, when i try to add a dataset to the report, it waits a while and then says:"Error message: An item with the same key has already been added". What might be the possible reasons with this problem and how to fix this? ...