Question

I have some storyboards in XAML (WPF Project) and I´m calling them from the VB code with this:

Dim ServiceOff As Storyboard = DirectCast(FindResource("ServiceStopped"), Storyboard)
ServiceOff.Begin()

I´m getting the following error when trying to build:

Overload resolution failed because no accessible 'Begin' accepts this number of arguments.

Any ideas?

Was it helpful?

Solution

I answered in your other question.

You need to call ServiceOff.Begin(me) if you're not using .NET 3.5 SP1

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top