.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Splash Screen in Silverlight 4

Posted By: Asim Sajjad     Posted Date: February 05, 2011    Points: 2   Category :Silverlight
In this post I will show you how to create the custom splash screen for your Silverlight application. You have seen many software which use nice splash screen during loading of the software applications like Microsoft office, excel and many others. I have also created splash screen for my desktop applications which I have developed during my professional life. But I didn't created any for the web application which I have developed in asp.net. But now the Silverlight provide the functionality of the splash screen. Splash screens provide something interesting and creative to increase anticipation and excitement for the application.

View Complete Post

More Related Resource Links

Silverlight 3 White screen

Hello, I need your creativity and experience for troubleshooting an issue with Silverlight 3. I don’t have any more idea as I already tried. Maybe some of you have experience with the same problem and can give me useful tips. This scenario is present: I have a Silverlight 3 application which uses WCF Services to access data. My customers don’t have problem to use this Silverlight App in their company intranet to administer the web-application. The application is using WCF for CRUD operations. Now, a new customer can’t use this app. The Silverlight application hosting ASPX-Page loads fine, also and the plugin instantiate correctly (a mouse right click shows the Silverlight Plugin-Properties) but instead of my app is a blank - “white screen”. This screen appears without Silverlight-Loader, Javascript error or other error messages. Do you have an idea what happen? I tried several solutions to fix this. As first I checked the IIS header mime-type. I change this from “.xap application/x-silverlight-app” to “”.xap application/octet-stream” and back. No changes. The Second, I tried, was to clean up the HTML page. I removed all CSS definitions and used only on div tag in the asp.net form tag definition. Also no changes. My customer used a different browser as the IE8 and also in Firefox same issue. Firwall and Virus Sc

Splash screen dismisses dialog box shown at startup!

Hi, I've stumbled upon an oddity and figured I'd mention it in case someone at MS would like to perhaps do something about it. In another thread, I've discussed a problem occuring if the Application constructor invokes MessageBox.Show. I worked around that by deferring showing the dialog box until the construction of the app's main window. Now I have added a splash screen, and weird things began to happen: The splash screen displays, then the dialog box appears (with an important warning and giving the user two options to choose from - one allowing the app to run, but resulting in loss of data!), and then both the splash screen and the dialog box disappears! The dialog box had OK and Cancel buttons, and apparently the splash screen decided it was OK to run and lose data, because my code ran exactly as if the user had in fact clicked OK! This isn't really an issue for me now, as I don't really need the splash screen at all. But it sure could be an issue for someone, so I figured I'd put it "on the record". To reproduce: Create a new WPF app In the MainWindow constructor, invoke MessageBox.Show Add an image file to the project, and set it's build action to SplashScreen Run and behold the strangeness unfold! If you need further convincing, set the image's build action to None and run again, to confirm for yourself that the dialog box now behaves as one would

Unable to connect to local host service when a splash screen is show before start the services

Hi all:

I want to show a splash screen before start the local host services, the host can be open without error, however the client (Form1) is not able to connect to the service. Without the splash screen, every thing work fine. Any idea why ?

Here is the code.

Imports System.ServiceModel

<ServiceContract()> _
Public Interface IHelloWorldService
   <OperationContract()> _
   Function SayHello(ByVal name As String) As String
End Interface

Public Class HelloWorldService
   Implements IHelloWorldService

   Public Function SayHello(ByVal name As String) As String Implements IHelloWorldService.SayHello
      Return String.Format("Hello, {0}", name)
   End Function
End Class

Module Module1
   Private host As ServiceHost
   Private frmSplash As Form

   Sub Main()
      AddHandler AppDomain.CurrentDomain.AssemblyLoad, Addres

Splash Screen not displaying anymore on startup


I have a PNG file with its Build Action property set to "SplashScreen."  Up until a couple weeks ago it was displaying fine on startup.  At some point (not sure exactly when) it stopped being displayed on start up.  This is a 4.0 WPF app targeting the full framework.  Any ideas why the splash screen won't display anymore?  I have added new image files to the app (both png and jpg) and set their Build Action to splash screen just to test, but it still won't display on startup.


Splash Screen Build Action


I have an application that has the buildaction property of an image set to splashscreen. When I build this application i'm receiving an error which reads:

Error 1 No overload for method 'Show' takes 1 arguments 

Code from App.g.cs below:



/// <summary>

Full Screen Mode In Silverlight

In this post I will show you how to make the silverlight application to run in full screen mode which is provided by the silverlight. You can use the F11 key to run the silverlight application in full screen mode but the toolbar button are visible on the top of screen in case of the F11 key. To go back to the embedded mode you can use the Esc key to exit the full screen mode. But if you want to give this functionality in you application or by using the code here is the code which is used to run in the Full screen mode and also to go back to the embedded mode.

Serving Silverlight Apps from Windows Mobile

Even if mobile dev is not my every day work, thanks to the .Net Compact Framework, it's still .Net programming.

Here is the scenario:

You come back home, you have a windows mobile phone wifi capable and you want to quickly get access to your phone pictures from your home network.
You just activate the Wifi, run my app and then browse to the provided link from any computer on the network.

Snap It! - How to take screen shot using .Net

We all would have used snap shots (screen shots) to illustrate bugs or behavior or something that others could understand by seeing them. For taking snap shots we just hit the "Print Screen" key and copy it to Ms Paint and save it. Ever wondered how to programmatically take a snap shot? Then this article is for you.

Building a 3-Tier App with Silverlight 3, .NET RIA Services, and Azure Table Storage

Silverlight 3, .NET RIA Services, and Windows Azure Services Platform makes a 3-tier Cloud application easier to build: Silverlight 3 as presentation tier, .NET RIA services as the business logic and data access tier, and Windows Azure Table as the data storage tier. The sample application in this article demonstrates the architecture with a simple Survey application with all these technologies working together from Windows Azure.

Silverlight Simple Animation

Silverlight has several built in techniques for animating controls. Many of these technologies are particularly useful for creating simple animations meant to decorate a web page with eye catching movement that draws the reader's attention. In this post I will skip over these decorative technologies, and instead show how to create a simple animation using a technique similar to those used in many games.

Feature available to Silverlight 4 with VS 2010.

In Part I of this article series we have seen some features available to Silverlight 4 with VS 2010. We will continue to explore more in this article.

Silverlight Slideshow Viewer for SharePoint

This series will walk through the Building Blocks that I have created to demonstrate and improve the SharePoint end user experience. I have been using many of these techniques in my developer focused demos for SharePoint 2010 (and in some cases SharePoint 2007). My plan is to use this post series to distribute my code and provide more detail on the why and the how of many of my code samples

Easier Silverlight Development against SharePoint

I have been spending quite a bit of time lately working with Silverlight 3 and SharePoint. One of the first big shifts for me is that Silverlight Development is Client development. Silverlight runs in the browser, but it runs on the client, so no SharePoint Object Model code. You have to access all of the goodness that is SharePoint through its web services.

WPF / Silverlight tutorial: Visibility property and binding

Visibility property is a very powerful and yet often overlooked property available in both WPF and Silverlight. It enables you to set Visibility of certain UIElement objects to different states like: Visible, Collapsed and Hidden (not supported by Silverlight). This tutorial shows you how to use it and how to bind to Visibility property


Getting Started With Silver light

PDA Keyboard v1.0 Light Edition - Full Screen Keyboard

The default keypad on Windows Mobile is not at all finger friendly, there is no way you can use it with your fingers. I have trouble using the stylus with it too. But there are many freeware option available to make the SIP ( Software Input Panel - check the Glossary ) finger friendly. Some of these are HTC Diamond keyboard, Blimkeys, PocketCM Keyboard and then now we have PDA Keyboard v1.0 Light Edition from pdamedia.biz. When you hit the blue button it goes into fullscreen mode , then you can use both your hands for typing.

Integrate Reporting Services with Silverlight and RIA Services

One of the most wanted future features in Silverlight is the possibility to create business reports using Reporting Services. In this article, I will show how to use the existing Reporting Services technology with Silverlight and RIA Services combination.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend