visual-studio

Compiling OpenAL 1.1 SDK\samples\capture sample on Win32 under \clr problem.

So original SLN compiled. I tried it, it worked. But when I am triing to compile it under \clr (which is critical for me). So what I tried was to try playing with compiler options but after fixing general visiable errors I ended with this 3 Error 10 error LNK2028: unresolved token (0A0003BF) "extern "C" int __cdecl _CrtDbgReportW(in...

how does one consume wealthengine webservice with visual studio via https?

Their wsdl is here https://www.wealthengine.com/ws2/search?wsdl I can connect via http, and work with this WS, however when I change the link to https, It can't connect to this service. Here is the error I get. There was an error downloading 'https://www.wealthengine.com/ws2/search?wsdl'. The underlying connection was closed: ...

visual studio copy paste bug

when i hit ctrl + c without selecting anything (it should copy that line) and make some changes in the code then paste to another section, however the copied code is no longer there. im using visual studio 2010 and 2008, they both have this bug. anyone else noticed this bug? ...

Can anyone tell me (or send a link) step-by-step instructions of creating a vector image in expression design and importing it into Visual Studio?

Can anyone tell me (or send a link) step-by-step instructions of creating a vector image in expression design and importing it into Visual Studio and using it as the content of a control? ...

How do I change the path that Visual Studio is using to find metadata files?

I moved my VS project on my local machine. Now when I try to build it breaks because it is looking for metadata file in the old location. How can I change these paths? Error 1 Metadata file 'C:\somelocation\somelocation\kb.dll' could not be found Where can I tell visual studio where to look for these files? Thanks! ...

How to find file associated with resource (C#)

I need to edit a toolbar image, but the Image Collection Editor doesn't give a clue WHERE it resides. No file name or resource ID. How can I find this image? ...

Visual Basic - Command for new my.settings

which the command to add a new My.Settings in visual basic without going into properties? ...

Why is my Dictionary adding extra escape characters to a string?

App.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="1" value="An error occured.\r\nPlease try again later." /> </appSettings> </configuration> Code: Dictionary<string, string> keyValuePairs = new Dictionary<string, string>(); string key = "1"; keyValuePairs.Add(key, ConfigurationManage...

Compile both x86 and x64 in one configuration?

Greetings all, I'm working with a C# solution in VS 2010. Right now, since I'm targeting AnyCPU, when I want to build my installer, I can just select Release mode and hit build and everything is done for me. However, pretty soon I'm going to have to add a C++ DLL project to the solution to accomplish some low-level stuff. To avoid ha...

How can i select some id with xx-xxx-xx-x format?

I need to change below data A320-ZL-522-01-1(2) A320-ZL-531-01-1(1) A320-ZL-531-01-1(2) A320-ZL-531-01-1(1) A320-ZL-531-01-1(2) to ZL-522-01-1 ZL-531-01-1 ZL-531-01-1 ZL-531-01-1 ZL-531-01-1 Can I do it with LINQ using RegEx? public class MatchCTallyToCross { public List<string> Get(string CustomerNumber) { IEngMan...

Visual Studio output window- what goes there and why?

Hi all, Can someone please explain to me what goes to the Output window in VS? Where do the messages there come from and do they have other use other than for debbuging? Thanks. ...

In Visual Studio, how can I see if an assembly is refenced from the GAC?

Simple question: In Visual Studio, how can I see whether an assembly is referenced from the GAC or whether the reference is simply referenced through the ('normal') file system? I thought I'd be able to deduct this by looking at the .csproj file but maybe not. Here's an outtake from my .csproj-file: <Reference Include="MoreLinq, Versio...

What is the function of the DBMDL File in VS database project

What is the function of the DBMDL file in a visual studio database project? ...

Help required to analyse load test results

I'm running some load tests from Visual Studio on a WCF service and I would like some help in trying to interpret / analyze the results. After enabling counters in web.config the host has provided us data for the following counters: "Calls Duration" and "Calls Per Second". I've assumed that "Calls Duration" is the figure I need to anal...

IIS and VS, How do they work together?

I'm a bit confused. When I type in my browser a "local" address (of a web site I'm editing on VS), IIS can handle it. How is that so? How can IIS know what's my latest web site version? What's the difference between typing the address in the browser and compiling the web site, and what does localhost has to do with all of that? And last ...

what is the correct build action for windows phone 7 image files?

I've been working on a Windows Phone 7 app, and after a bit of Googling it seems that for images that I have added to the Visual Studio project, I need to set the build action to "Content" in order to be able to reference the images in my app. However, the Windows Phone List Application project template includes an image (ArrowImg.png) ...

Merging two or more visual studio project into a one project

I am working on a solution that contains bunch of projects. I am going to refactor the solution by merging some of the projects together. Is there any tool or visual studio extension that helps me refactor my large solution by merging one or more projects into on project. Of course this can be done manually but I am hoping for a more a...

visual studio copy dll refrences to output folder

I am trying to extend a certain application. I am using a DLL which comes bundled with that application to extend its functionality. I am using visual studio 2010 express edition. I added a reference to the dll library. In the refrence properties the option "Copy local" is disabled.(greyed out) why is that? I want visual studio to copy t...

Assign values to keywords in usertype.dat in visual studio?

I found that if you create a file called "usertype.dat" in visual studio's IDE dir, that you can specify keywords that will appear in blue like "new" or "int". Is there a way to assign values to these? I don't want to have to use "#define [keyword] [value]" in every single file that I use.. Specifically, I would like to have a "null = ...

Default folder for new files in Visual C++

Hi, I have created a Visual C++ project from existing source files. The .vcproj-File is not in the same location where my .cpp and .h files are. Can I tell Visual Studio to create new files in that specfic folder rather than the project directory? Thank for any hints! ...