I created a ColorAnimation for a SpotLight-object, but it doesn't seem to work.
What am I doing wrong?
ColorAnimation mouseEnterColorAnimation = new ColorAnimation();
mouseEnterColorAnimation.To = Colors.Red;
mouseEnterColorAnimation.Duration = TimeSpan.FromSeconds(5);
Storyboard.SetTargetName(mouseEnterColorAnimation, "MyAnimatedBrush"...
How to verify if a windows service is stopped or running
and wait until it is in this state?
Dim s As New ServiceController("Aservice")
s.Refresh()
If s.Status = ServiceControllerStatus.Running Then
s.Stop()
End If
s.Refresh()
The problem is that I want to wait in this function until the service is in that sta...
The attached, trivial, test program tests the performance of emptying a simple std::map. Using MSVC 2008 and 2010, the debug build will take <30seconds when executed from a command prompt but almost 3 minutes when executed from within the debugger. The call to clear() is entirely responsible for the difference. If I break into the debugg...
When changing the project from console to windows app, I still am not able to use the namespace System.Windows.Forms. Do I really need to create a whole new project? If there is a better way, please give a detailed description of how to do this in visual studio step by step, thanks :)
...
As you read this, though I have pretty good experience in C++ and Java, please keep in mind that I am a complete beginner when it comes to VB. :)
Here is one idea of what I want to do:
Option Strict Off
Option Explicit Off
Imports System
Imports EnvDTE
Imports EnvDTE80
Imports EnvDTE90
Imports EnvDTE90a
Imports EnvDTE100
Imports Syste...
I do most of my home development in Xcode, however my classes require me to use visual studios 2010. I am curious if there is some tool that can convert my xcode project to visual studios projects and back and structure the files the way the ides want them to be? the programs I am writing are OS independent
...
Hi all,
I explain my problem and interrogation (excuse my bad english), i have a dotnet exe which every milliseconds past to processing is very important.
This program do lot's of string comparison (most of it is "string1.IndexOf(string2, StringComparison.OrdinalIgnoreCase"))
When i switch in framework 4 my program time is twice than...
I'm not really sure how to phrase my issue, so I hope this isn't a repeat.
The problem I'm seeing is with Visual Studio 2008. When I directly reference a project within my solution, I notice that the dependent reference occassionally gets out of synch, and my top-level project ends up holding on to an old build of the DLL (most obvio...
Hi,
I just downloaded a trial version of NDepend. What I'm looking for is a tool that helps in standardization of code. Not only in style of braces, spaces, naming conventions, etc, but also in cohesion & complexity.
Is anybody using it that can tell me if I can integrate cohesion & complexity into the build errors (in example, if comp...
Hello,
I am going to be doing the codekata defined on Roy Osherove's blog HERE.
One of the rules is that you cannot use the mouse while doing the kata.
Today, my first attempt at doing the kata I have spent the whole time trying to better understand how to use VS without the mouse. I have learned that CTL-ALT-A will be my friend ...
How to fix "Root element is missing." when doing a Visual Studio (VS) Build?
Any idea what file I should look at in my solution?
Actually, I am getting this error message inside of "Visual Build Pro" when using using the "Make VS 2008" command. This command works just fine when building other solutions (like about 20) and I am not real...
I have a function that works perfectly when I attempt to add a user from the same domain into a group of the same domain.
Function AddUserToGroup(ByVal strUserDN As String, ByVal strGroupDN As String, ByVal strGRPDC As String, ByVal strUserDC As String) As Boolean
Dim oUser As DirectoryEntry
Dim oGroup As DirectoryEntry
Dim ...
Assume I have more than 30 or so open within the Visual Studio IDE. Too many to show without scrolling, which makes a manual count laborious.
I can do Window -> Windows to list them in a popup but it doesn't show a count.
Does it show somewhere (like in the status bar) that I'm missing?
Edit: Why would anyone need this? Well, I want...
In Visual Studio 2010, is it possible to change the default template used when implementing an interface?
I would like to change the implementation of properties from
public int MyProperty
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
to
public...
Does anyone use or rememebr the name of the VS2010 extension that add a little faded context sensitive icon next to a class/ method (indiciating if it's a class etc like in the Class View) and adds a little faded clickable link at the end of a class/method block etc with it's name?
It looked someting like:
[ICON] methodName1(params)...
I set up a nice ColorAnimation.
When applying AutoReverse = true to it, it even goes from one color to another.
Now I want it to change the color it animates to randomly after every completed runthrough.
How can I achieve this?
btw. I'm attaching my Animation to a storyboard:
storyboard.RepeatBehavior = RepeatBehavior.Forever;
storybo...
I created a few ColorAnimations and want them to run at the same time (whether they run syncronized doesn't matter).
Sadly only one of them runs.
storyboard = new Storyboard();
//Animation Auditorium
ColorAnimation SpotLightAnimation = new ColorAnimation();
SpotLightAnimation.To = Color.FromArgb(1, Conver...
I'm using visual studio's web testing capabilities. I've recorded a web test and converted it to a coded web test.
I'd like to test the first link on the page (well, in a section of the page, but for discussion's sake let's say the first link).
For example, let's say that I have a div on my page that has links to the 3 most recent po...
I am trying to dissect a legacy application through debugging, but I can't get the breakpoint to hit in certain places of the application. The application has a c# GUI frontend and a c++ backend.
I am trying to put a breakpoint in a c++ project of the solution. There are a couple of c++ projects, but I cannot set a breakpoint in one of...
I'm working with the Surface Toolkit and am willing to code a basic two-finger scroll algorithm for Scatterviews which contain FlowDocumentScrollViewer , but I'm not exactly sure how to do this.
How is the math done if you take into consideration that even rotated ScatterViews should be scrollable? What else do I need to take into consi...