locked
Problem in Vista Home premium RRS feed

  • Question

  • Hi

    I have made a smple application in Vista Home Premium.

     When I open the HTML file (containing the silverlight object) internet explorer close down immediately.

    But the same program is working fine for Windows XP.

     

    I have few queries :-

    • Do we need Internet connection to run silver light application
    • Do we need to host the application on IIS to make it run
    • Is there any setting on Visa to enable the silverlight application to run

    Regards

    Karan

    Monday, April 7, 2008 5:51 AM

Answers

  • <Canvas   xmlns="http://schemas.microsoft.com/client/2007"   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> 
     <Ellipse Height="50" Width="50" Stroke="Black" StrokeThickness="5" Fill="Yellow" />
    </Canvas>
     

    Those codes are from Silverlight 1.1. Which version of Silverlight did you install? There are three major versions of Silverlight such as 1.0, 1.1 Alpha and 2 beta1.

    If you have SL 1.0 installed, you will be able to see 1.0 site.
    If you have  SL 2 beta1 installed, you will be able to see both 1.0 and 2.

    If you are using SL 2 beta1, the code should be like below.

    <UserControl   x:Class="SL2DatagridExt.Page"
        xmlns="http://schemas.microsoft.com/client/2007"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Width="400" Height="300">
        <Grid x:Name="LayoutRoot" Background="AliceBlue">

       
        </Grid>
       
    </UserControl>
     

    Monday, April 7, 2008 6:36 AM

All replies

  • Do we need Internet connection to run silver light application
     

    No. but it'll depend on your program. If your program is consuming the data from digg service, you will need to have the internet connection.

    Do we need to host the application on IIS to make it run
     

    No. You can run the HTML that host Silverlight by double-clicking the file. but you will lost some features. (For example: You won't be able to use WebClient or etc if you are running the HTML file directly.) 

    It's better if you can host your application on web server. (I don't want to say IIS. Because you are able to host Silverlight on Apache or other web serer too.) 

     

  • Is there any setting on Visa to enable the silverlight application to run

  • I'm currently using Vista Home premium and I have no problem in running the Silverlight application on Vista.

    Monday, April 7, 2008 6:03 AM
  • HI mchlsync

    Thanks for the reply.

    The problem occured when I try to access the xaml file.

    i.e. CreateObject() function

    Is the installation of silverlight sufficient to support xaml

     

    Contents of xaml file is

    <Canvas   xmlns="http://schemas.microsoft.com/client/2007"   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> 
     <Ellipse Height="50" Width="50" Stroke="Black" StrokeThickness="5" Fill="Yellow" />
    </Canvas>

    Am I missing something

    Regards

    Karan

     

    Monday, April 7, 2008 6:28 AM
  • <Canvas   xmlns="http://schemas.microsoft.com/client/2007"   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> 
     <Ellipse Height="50" Width="50" Stroke="Black" StrokeThickness="5" Fill="Yellow" />
    </Canvas>
     

    Those codes are from Silverlight 1.1. Which version of Silverlight did you install? There are three major versions of Silverlight such as 1.0, 1.1 Alpha and 2 beta1.

    If you have SL 1.0 installed, you will be able to see 1.0 site.
    If you have  SL 2 beta1 installed, you will be able to see both 1.0 and 2.

    If you are using SL 2 beta1, the code should be like below.

    <UserControl   x:Class="SL2DatagridExt.Page"
        xmlns="http://schemas.microsoft.com/client/2007"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Width="400" Height="300">
        <Grid x:Name="LayoutRoot" Background="AliceBlue">

       
        </Grid>
       
    </UserControl>
     

    Monday, April 7, 2008 6:36 AM