WPF: How do I set the content of a Paragraph in Code?
I've got a FlowDocument and assigned a name to one paragraph. I want to edit the content of a paragraph (which is just one ordinary string btw.). How to do this? ...
I've got a FlowDocument and assigned a name to one paragraph. I want to edit the content of a paragraph (which is just one ordinary string btw.). How to do this? ...
After years of faithful nUnit use, I'm having a fling with the Visual Studio Unit Testing framework thats built into VS2008. Apart from the crushing guilt ; ) ... one of the issues is that 'VSTest' creates a file and a folder every time you run tests, and those files ('Visual Studio Test Results File') and folders really build up over t...
How do I get "next tab", "prev tab" keyboard shortcuts to work in Visual Studios 2010? (For a more precise description of the functionality I need please see the firefox/chrome/etc and how they do their "ctrl-pgdn" and "ctrl-pgup" keyboard shortcuts). This should be extrememly easy... and yet I can't seem to figure it out. NOTE: ...
I've got a UserControl which has an opacity of 0. At that state it shouldn't be clickable. How to disable/re-enable it? ...
I have a FlowDocument with two Sections. One is named 'Inhalt'. Trying to replace it with another Section doesn't seem to work: InfoBoxAuditorium.Inhalt = InfoBoxAuditorium.Resources["DokumentWohnzimmer"] as Section; What am I doing wrong? ...
I've got a FlowDocumentScrollViewer with a vertical scrollbar. Now I want to know its position and also be able to change it. ...
I am running a webservice on my development box and I need to test that webservice in a virtual machine that is running on the host(aka the development box). The webservice on the dev box is running at: http://localhost:8100/ws_name.asmx. From the VM I have unsuccessfully tried things like: http://host_machine_ip/ws_name.asmx http...
I need Virtual PC (VPC) for testing my Visual Studio 2008/2010 applications, and I want to test and debug it using VPC running a clean install of WinXP (nothing else installed). Back when I was running WinXP, I could launch a VPC session, do whatever I needed to (install my application, run it, debug scenarios, etc.), then exit without ...
As the title says, I am just a little curious...I have seen some European open-source projects post the source, but it was all syntactically identical. What about Chinese or Japanese or other more complex character-based languages? UPDATE: This was a little misleading I guess. I was asking about the "traditional" .Net languages like...
This is easily one of the most annoying "features" of Visual Studio in its history and I don't understand why it exists -- ever. Why would a CodePlex project need to care what version of Visual Studio I am using? Off the top of my head, the only thing I can think of is that some versions of Visual Studio might introspect assemblies sea...
I'm using Visual Studio to record some web tests. I'd like the test to pass (obviously), but it is failing because of something out of our control - so I'd like to surpress that failure. One of our pages is using an API from a third party like say, let's pick on, facebook. (It's not facebook, but for sake of argument it is). Let's say ...
My dev environment at work consists of a Visual Studio 2005 Solution with many sub-projects (by "project" I always mean VS project). Some of the projects build libraries which are used by other projects. By convention, a fair amount of test-related code ends up in header files which end up getting modified frequently. I've noticed that ...
I am getting a bunch of linking errors while trying to link the release version of an executable(debug version does not have the same issue). Comparing the command line for the link does not reveal any issues. there are broadly 2 types of errors neither of which I can get a handle on. The first kind complains about a unresolved external...
I have a custom control (inheriting from control; targetting .net compact framework v2) that has a bitmap property. currently an instance of the control on the form designer will only paint the selected background color and writes the namespace.control.name overtop. How can I have the image be rendered by the form designer after its ...
If I have 10 files open and I amend my csproj file (for example: add a space) visual studio complains: The project "XYZ" has been modified outside the environment. Press Reload to load the updated project from disk. Press Ignore to ignore the external changes. The change will be used the next time you open the project. Now, I rea...
I want to give all images inside a FlowDocument rounded corners. Whats the easiest way to achieve this? ...
Hi guys, I have a VisualStudio Solution with 5 projects. I have 3/5 projects that has an .exe file on <mysolutionpath>/bin folder. Recently, I have added a new Project to my solution (a project with Main entry point) and I would its .exe file on <mysolutionpath/bin directory. But I have exe on <mysolutionpath>/<recentproject>/bin and I...
Hi, I've a visual C++ project I'd like to debug. However, several functions are actually generated by macro expansion ( like set##Name for a particular property). So, while debugging I can't follow the execution flow inside these generated functions. Do I have to use the /P flag and then debug the preprocessed code ? thanks for the he...
Hi, I'm wondering what is the difference between Debug and Debug 1.0 within Visual Studo 2008. Is Debug 1.0 something new? I don't remember to see it earlier. ...
Hello, We have a DLL, built with MS Visual Studio 2010, in release mode. We provide this DLL to different customers, along with a .lib file. The functions in the DLL are exported with: extern "C" __declspec(dllexport) int analyze(int id); Our customers have two applications that makes use of this DLL. Both of these applications im...