Visual Studio 2012 - DownloadProgressChanged not available - wcf

I need to use the DownloadProgressChanged in xaml this is what i want to do DownloadProgressChanged="onSplashScreenLogoLoaded", but the type does not exists.
this works fine in VS 2008.....but not in VS 2012.
And this problem is only persist when using the silver light greater than 3.
does silver light 4 or 5 have any other option for this.
What can I do to fix the problem?

Related

Is the "bounds" property in visual basic deprecated?

Its probably right under my nose, but for the life of me I couldnt find anything helpful concerning this: In Visual Studio 2019 I can find and use the .bounds property of a PictureBox. In Visual Studio 2022 its just not there. Only the .setBounds method shows up, but thats not helpful.
My question is simple: What is the reason that i cant find it?
Does it have sth to do with
A newer .NET Version
Upgrade from VS2019 to VS2022
Deprecated for some reason
Or am I just stupid/blind...
And if Im NOT stupid/blind; do I have to manually work around "PictureBox.Bounds.IntersectsWith" if - for example - I want to check for some border collision?
Despite the probable global facepalming it would be much appreciated If someone could answer this;)

VB 14 missing from Visual Studio 2015

I have Visual Studio 2015, but can't get the new VB language features to work. Or to show up. It's like the product came without it. The null-coalescing operator doesn't work, read-only auto-properties aren't allowed, etc. This is true even when I set up a brand new project, targeting any version of the framework (which shouldn't matter, but I'm trying everything I can think of).
I've got Resharper 9 installed. Following a suggestion in this question, if I select the project, the VB Language Level dropdown list doesn't show anything more recent than "Visual Basic .NET 12".
There are no LangVersion tags anywhere in the .vbproj files. If I add them it seems to make no difference.
I was under the impression that you didn't have to install anything separately for VB 14, just use VS 2015 and you'll have it (C# 6 actually is available and working in C# projects) but it's not there.
Anybody have any ideas what else I can look for?
It's Resharper.
I'm using Resharper 9.2 Ultimate. Resharper is what's putting all the error messages into the code editor. If I suspend it, all the problems go away, and the code compiles and runs exactly as it should.
I should have taken a cue from the fact that the VB Language Level isn't showing the latest version of VB.
Off to contact technical support.

Visual Studio 2012 hangs on editing XAML

I have a problem with Visual Studio 2012 that I'm hoping someone can help me out with.
Visual Studio hangs when I try to modify a XAML file. Admittedly my solution contains over fifty projects and I am running ReSharper and StyleCop. This is my first day in a new job and my first experience with XAML so I'm trying to make a good impression!
What can I try to sort out this issue?
Thanks in advance, Mark
After a bit of googling, I found the solution to my problem here: http://weblogs.asp.net/fmarguerie/archive/2009/01/29/life-changer-xaml-tip-for-visual-studio.aspx
Try to suspend/uninstall Resharper and all other plug-ins for Visual Studio. This worked for me whereas all other methods did not.
Also try to run VS with /SafeMode flag and see if it works properly.
This is still issue in 2013 (as of May 2016). The suggested solution above is not helping.
With my Visual Studio 2012.4 I found that while opening XAML in design mode, XDesProc was using 2gb of my RAM and 25% of CPU (i7 8 core), I resolve the problem by turning off the data loading in View Model’s constructor if in design mode. Loading the ItemsSources of my many Comboboxes just bogged down the designer. This way I can still have my designer. Don't forget to import System.Windows and System.ComponentModel in your ViewModel and add these code below in the constructor
If DesignerProperties.GetIsInDesignMode(New DependencyObject) Then
‘ Do nothing
Else
‘ Load the data
End If

New to VS.net (VB.net) 2008. Windows 7 aero glass stuff

Hey all, i have been using VB.net 2008 for a few months and i have a question. I compiled my program and ran it in a VM running windows 7. However, the progress bar looks like it does in XP. It doesn't have that cool look to it like I've seen in many other programs running in windows 7.
I have downloaded the 3.5 .net framework with sp1 and also the sdk for windows 7 (1.4+ gb dvd) but i still see nothing.
Is there a check-box i am missing in VS 2008 to enable these types of features? Maybe some type of code i need to place in the program?
Thanks!
David
I think you're looking for System.Windows.Forms.Application.EnableVisualStyles :)
The Windows API Code Pack can be used to get access to some Win 7 (and Vista) controls etc:
http://code.msdn.microsoft.com/WindowsAPICodePack
You can also use the SetWindowTheme API function to make the standard controls look more 7ish.
Here's a link to a project that uses SetWindowTheme to get Vista style controls, should be similar for Windows 7 (quite possibly the exact same code sometimes):
http://www.codeproject.com/KB/vista/themedvistacontrols.aspx

XAML 2009 support in VS and blend

When can we expect XAML 2009 support in the tools like Expression Blend 4, Visual Studio 2010? Has Microsoft mentioned something somewhere publically? Willl we have to wait for Blend 5 and VS 2012?
I don't think Microsoft has mentioned this, from my understanding you can use it in WPF if you use loose Xaml files, but no designer support.