Hi,
You know, once you add a web reference to a webservice a wrapper code is generated by Visuel Studio.
I was wondering if there is a method (or property) which is generated by Visual Studio whatever web service you add to your project so that I can put a breakpoint there and once the debugger stops there, I can simply read the respon...
Is it possible to do a macro that copies a definition of a function to a declaration(, and maybe also the opposite)? For instance
Foo::Foo(int aParameter, int bParameter){
//
}
int Foo::someMethod(char aCharacter) const {
return 0;
}
from the .cpp file would be:
class Foo {
Foo(int aParameter, int bParameter);
i...
When building ASP.NET projects there is a certain amount of boilerplate, or plumbing that needs to be done, which is often identical across projects. This is especially the case with MVC and ALT.NET approaches. [I'm thinking of things such as: IoC, ORM, Solution structure (projects), Session Management, User Management, I18n etc.]
I w...
Hi,
I am attempting to reference a sub-object in a field expression in a studio 2010 report.
This used to work in prior versions.
When account references another object with properties the following used to work.
=Fields!Account.Value.Name
(Name is a property of the child object, Account is the parent object)
The same expression syn...
Hey,
i've got a question, is it possible to identify the creator of a .NET assembly, just with traces from VisualStudio within the assembly ?
Or can you even get a kind of unique ID of the creator out of it?
I don't mean the application information like company or description, they can be edited too easily.
...
HI Folks,
I have a threaded C++ program where up to three threads are calling select on a three separate socket descriptors waiting for data to become available. Each thread handles one socket and adds it to the readfds with a timeout of 300 seconds. After select returns if there is data available I'm calling recv to read it.
Is ther...
Hi,
When I have implemented binary trees , one of the first utilities one writes is a visualization function that given a tree prints it to the screen.
using cout function to print it every time like a stack is probleme to me , I can't represent the value of my job .
Printing trees properly in ASCII is quite difficult to understand.Mea...
Working on a Win32 DLL using Visual Studio 2008 SP1 and, since yesterday, whenever I try to right click on code, to go to a variable definition for example, VS completely locks up and I have to manually kill the process. To make it even weirder, whenever this happens the devenv.exe process uses exactly 25% of the CPU. And I mean exactly...
I have a WPF application (KaleidoscopeApplication) organized as follows:
Solution (6 projects)
Cryptography (DLL)
Rfid (DLL)
KaleidoscopeApplication (buildable "startup project")
Basically, KaleidoscopeApplication contains a bunch of resources (sounds, images, etc) and your standard WPF junk (App.xaml, App.xaml.cs, other xaml and c...
In VS2008 we have menu Report->Data Sources... which opens "Report Data Sources" from here we can see Project data sources & we can add them into our report by pressing "Add to Report".
but in VS2010 RC there is no such thing like this (no Data Sources... option inside Report menu)
any help?
...
I am building a project in Visual C++ 2008, which is an example MFC-based app for a static C++ class library I will be using in my own project soon. While building the Debug configuration, I get the following:
warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
After using the recommende...
I have a bug which happens very rarely but crashes my C++ program. It's seems I have a buffer overflow problem or something similar. I find that these types of bug are the most difficult to diagnose.
My program always crashes because of the same corrupted memory location. Is there some debugging tool which could detect when a particular...
Hello,
I am trying to build a video dsp plugin for Media Player 12 x32 running on Windows 7 x64. I installed Visual Studio 2008 and the Windows SDK 7 on the target machine and used Media Player SDK wizzard to create the example video dsp plugin project. Built the project successfully and registered the resulting dlls (wmpplugin1.dll and...
I'm trying to convince my co-workers to switch from a web site project to a web application project, because I want the use of the project file. However I can't diffuse this argument against:
The web site project allows each page to be compiled into a single dll. Their argument is this enables easy fixing of errors found after publis...
Hi all,
Does anyone know how to watch a variable in calling function.
For example: C#:
void fn a()
{
int myVar=9;
b();
}
b()
{
Throw new Exception();
}
How can I watch myVar when I get the exception in function b??
I have a really big recursive function with in a loop and get an exception in one iteration. I don't know which iterati...
I have an entry in my hosts file that points somesite.com to 127.0.0.1 (localhost) so that I can test certain aspects of my web app (i goto http://somesite.com in a browser to test). Can someone suggest a way to debug a setup like this (in visual studio) that does not include using http://localhost?
I understand that this can most likel...
I have several ATL/COM-based DLLs that I've been using Visual C++ 6.0 on. I require a couple of "old" things out of the generated DLLs:
(1) They must be compatible with projects developed in Visual Basic 6.0 (the old VB6, emphatically not VB.Net).
(2) They must be compatible with old operating systems - minimum Windows 98 SE. To be c...
I want to merge one .NET DLL assembly and one C# Class Library project referenced by a VB.NET Console Application project into one command-line console executable.
I can do this with ILMerge from the command-line, but I want to integrate this merging of reference assemblies and projects into the Visual Studio project. From my reading, ...
How do I debug IE7 javascript with Visual Studio Express and which version should I use?
Update and Answer. You have to enable debugging in IE, create an empty web site in Visual Studio, press "Start" and navigate the browser to whatever you want to debug.
...
We have two projects that are both class libraries. Project 1 is a VS 2008 project and targets the .NET Framework 3.5. Project 2 is a VS 2010 (release candidate) project that targets the .NET Framework 4.0. When I try to add a reference to Project 2 in Project 1, it fails with a less than informative error message. I know that if I chang...