visual-studio

Visual Studio and .NET programming

Hi, I just want to ask whether I am right or not about .NET. So, .NET is new framework that enables you to easily implement new and old windows functions. It is similar to java in the way that its also compiled into "bytecode", but its name is Common Language Infrastructure, or CLI. This language is interpreted by .NET Framework, so code...

Removing a solution platform from Configuration Manager

I have a solution in VS2008 containing C# and C++/CLI projects. There are 3 "solution platforms" in my solution: Any CPU Win32 Mixed Platforms I never want to "just build the C# ones" or "just build the C++ ones", I always want to build all projects. So the solution platforms metaphor is meaningless to me, I'll leave it on Mixed Plat...

Capturing mouse events for specific dom/web elements in QT

Hi I would like to know if it is possible in QTWebKit to install an event filter or capture events that occur from specific Dom elements. For example, my webview is showing a webpage that has text, images and an edit box, I want to disable the right-clicking and highlighting functionality on the text and images but at the same time when...

Embed resource in a .NET assembly without an assembly prefix?

When you embed a resource into a .NET assembly using Visual Studio, it is prefixed with the assembly name. However, assemblies can have embedded resources that are not assembly-name-prefixed. The only way I can see to do this is to disassemble the assembly using ILDASM, then re-assemble it, adding the new resource -- which works, but... ...

How visual studio intellisense recognize functions and properties in classes even though there is no reflection in C++ ?

I want to list properties and functions present in c++ classes. Is that functionality already implemented in any library ? Does visual studio intellisense use any library ? Is that library available publicly from Microsoft? ...

Is it possible to search using type information in visual studio

It comes up from time to time and I'm wondering of it's possible to use type info when searching in visual studio, or is there a plugin that includes this? I'd like to search for the phrase "x == " or "x.ToString();" where x is of type 'Person'. The normal regex searches are strictly searching the text as opposed to the content ...

Visual studio 2008/2010 dilemma

We have a project which is being developed by a 3rd party. They are using LINQ and .NET 3.5 with Visual Studio 2008. We are currently at 2005 with .NET 2. Once they have delivered the code to us, we are unsure as to whether we will be able to compile/build their code using our current Visual Studio toolkit. I know we can download .NET...

How do i get visual studio like tabs?

Hi guys. I've had this thought for a long time in my head now and i've not been able to find the solution to it ! Please help me. I've always loved the visual studio tabs and how they look. They're small and perfect. The normal TabControl, well is -bleh- and boring ! And i've seen these tabs being used in many applications .. so, my Qu...

Visual packages in c++ for windows (i know i shouldn't use windows =( )

I use visual studio in several of my programming classes for c++, but after extensive searching on line i can't seem to find any decent graphics packages that are compatible with the software. i would hate to need to go out and buy Linux (Gnuplot is amazing i know) and this issue is frustrating. Any feedback would be greatly appreciated....

is there any resources how to learn visual studio T4 templates so i can start generate my own code

i wanted to learn about T4 templates but i need a resource to read about them. so anyone knows any blogs or tutorials about T4 templates? thanks ...

Signing 3rd Party Assemblies leads to them turnign invisible!

Hi All, I followed OJ's instructions here This allowed me to successfully breakdown, then rebuild and sign some 3rd party DLLs. Here's what I did: Dissassembled Old.dll Rebuild and signed as New.dll (using the same *.snk that my VS2005 proj is signed with) Removed all references in my proj to Old.dll and added references to New.dll...

View Lambdas in Visual Studio Debugger

I have the a simple LinqToSQL statement that is not working. Something Like this: List<MyClass> myList = _ctx.DBList .Where(x => x.AGuidID == paramID) .Where(x => x.BBoolVal == false) .ToList(); I look at _ctx.DBList in the debugger and the second item fits both parameters. Is there a way I can dig into this more ...

For LinqToSQL is 0 true or is 1 (for type Bit)?

I have a column of type Bit (called BBoolVal in this example). I have a LinqToSQL Statement Like this: var query = List<MyClass> myList = _ctx.DBList .Where(x => x.AGuidID == paramID) .Where(x => x.BBoolVal == false); When I look at the sql it ends up like this (I added the spacing and changed the names):...

Do I lose the benefits of macro recording if I develop Excel apps in Visual Studio?

I've written lots of Excel macros in the past using the following development process: Record a macro. Open the VBA editor. Edit the macro. I'm now experimenting with a Visual Studio 2008 "Excel 2007 Add-In" project (C#), and I'm wondering if I will have to give up this development process. Questions: I know I can still record mac...

Auto-Insert double quotes for HTML attributes broken

In VS2008, it used to be that whenever I was typing an html attribute in an .aspx page when I hit '=' a pair of double quotes was automatically inserted and the cursor placed inside them. I guess I've changed a setting, but I don't know what to change to get that functionality back. I am using Resharper if it makes a difference. ...

C++ defines for a 'better' Release mode build in VS

I currently use the following preprocessor defines, and various optimization settings: WIN32_LEAN_AND_MEAN VC_EXTRALEAN NOMINMAX _CRT_SECURE_NO_WARNINGS _SCL_SECURE_NO_WARNINGS _SECURE_SCL=0 _HAS_ITERATOR_DEBUGGING=0 My question is what other things do fellow SOers use, add, define, in order to get a Release Mode build from VS C++ ...

Visual Studio Team Suite

If taken from a developers perspective, what would my team and I gain from using Visual Studio Team System and Visual Studio Team Foundation Server? I can see some features and the like, but what have you gained from using the two versus using VS Professional and SVN (for a weak example). If there are any good links that you know of, pl...

WANT TO host Visual Studio Form Designer in my own application..

Hi, I'm writing an application that lets the end use design a Form just the way Visual Studio lets you design a windows forms. I looked into visual studio forms designer articles in msdn and also studied open-source SharpDevelop editor. Both the examples host visual studio's windows forms designer to provide form-design service in their...

Do I need to Install .Net 1.1 Framework on server to host Web app in Visual Studio 2003?

Do I need to Install .Net 1.1 Framework on server to host Web app in Visual Studio 2003? I have all .net dlls in GAC. ...

Is there a "multimedia comments" add-in for Visual Studio?

I mean, an add-in that allows me to associate image and sound files with a comment in the middle of the code. Does this exist already? That would be great to help people to understand other's code. As the wise said: An image is worth a thousand words... ...