Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Silverlight web comic

, 7 Feb 2012 CPOL
Its a silverlight page to create a simple comic with photos and text-ballons
comic.zip
comic
comic
comic.suo
comic.Web
bin
comic.Web.dll
comic.Web.pdb
ClientBin
comic.xap
comic.Web.vbproj.user
My Project
Application.myapp
MyExtensions
Settings.settings
obj
Debug
comic.Web.dll
comic.Web.pdb
comic.Web.Resources.resources
DesignTimeResolveAssemblyReferencesInput.cache
GenerateResource.read.1.tlog
GenerateResource.write.1.tlog
LiveIntellisense
Resources
comic.Web.Resources.resources
Sources
TempPE
Bin
Debug
ar
System.ComponentModel.DataAnnotations.resources.dll
bg
System.ComponentModel.DataAnnotations.resources.dll
ca
System.ComponentModel.DataAnnotations.resources.dll
comic.dll
comic.pdb
comic.xap
cs
System.ComponentModel.DataAnnotations.resources.dll
da
System.ComponentModel.DataAnnotations.resources.dll
de
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
el
System.ComponentModel.DataAnnotations.resources.dll
es
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
et
System.ComponentModel.DataAnnotations.resources.dll
eu
System.ComponentModel.DataAnnotations.resources.dll
fi
System.ComponentModel.DataAnnotations.resources.dll
fr
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
he
System.ComponentModel.DataAnnotations.resources.dll
hr
System.ComponentModel.DataAnnotations.resources.dll
hu
System.ComponentModel.DataAnnotations.resources.dll
id
System.ComponentModel.DataAnnotations.resources.dll
Images
nube_derecha.png
nube_derecha1.png
nube_izquierda.png
nube_izquierda1.png
nuebe1.jpg
nuebe1.jpg.png
ovalo_derecha1.png
ovalo_izquierda1.png
rectangulo1.png
rectangulo_derecha1.png
rectangulo_izquierdo1.png
it
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
ja
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
ko
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
lt
System.ComponentModel.DataAnnotations.resources.dll
lv
System.ComponentModel.DataAnnotations.resources.dll
ms
System.ComponentModel.DataAnnotations.resources.dll
nl
System.ComponentModel.DataAnnotations.resources.dll
no
System.ComponentModel.DataAnnotations.resources.dll
pl
System.ComponentModel.DataAnnotations.resources.dll
pt
pt-BR
System.ComponentModel.DataAnnotations.resources.dll
System.ComponentModel.DataAnnotations.resources.dll
ro
System.ComponentModel.DataAnnotations.resources.dll
ru
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
sk
System.ComponentModel.DataAnnotations.resources.dll
sl
System.ComponentModel.DataAnnotations.resources.dll
sr-Cyrl-CS
System.ComponentModel.DataAnnotations.resources.dll
sr-Latn-CS
System.ComponentModel.DataAnnotations.resources.dll
sv
System.ComponentModel.DataAnnotations.resources.dll
System.ComponentModel.DataAnnotations.dll
System.ServiceModel.DomainServices.Client.dll
System.ServiceModel.DomainServices.Client.Web.dll
System.ServiceModel.Web.Extensions.dll
th
System.ComponentModel.DataAnnotations.resources.dll
tr
System.ComponentModel.DataAnnotations.resources.dll
uk
System.ComponentModel.DataAnnotations.resources.dll
vi
System.ComponentModel.DataAnnotations.resources.dll
zh-Hans
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
zh-Hant
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
clases
comic
comic.suo
comic.vbproj.user
comic.Web
bin
comic.Web.dll
comic.Web.pdb
ClientBin
comic.xap
comic.Web.vbproj.user
My Project
Application.myapp
MyExtensions
Settings.settings
obj
Debug
comic.Web.dll
comic.Web.pdb
comic.Web.Resources.resources
DesignTimeResolveAssemblyReferencesInput.cache
GenerateResource.read.1.tlog
GenerateResource.write.1.tlog
LiveIntellisense
Resources
comic.Web.Resources.resources
Sources
TempPE
Bin
Debug
ar
System.ComponentModel.DataAnnotations.resources.dll
bg
System.ComponentModel.DataAnnotations.resources.dll
ca
System.ComponentModel.DataAnnotations.resources.dll
comic.dll
comic.pdb
comic.xap
cs
System.ComponentModel.DataAnnotations.resources.dll
da
System.ComponentModel.DataAnnotations.resources.dll
de
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.DomainServices.Client.resources.dll
System.ServiceModel.DomainServices.Client.Web.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
el
System.ComponentModel.DataAnnotations.resources.dll
es
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.DomainServices.Client.resources.dll
System.ServiceModel.DomainServices.Client.Web.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
et
System.ComponentModel.DataAnnotations.resources.dll
eu
System.ComponentModel.DataAnnotations.resources.dll
fi
System.ComponentModel.DataAnnotations.resources.dll
fr
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.DomainServices.Client.resources.dll
System.ServiceModel.DomainServices.Client.Web.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
he
System.ComponentModel.DataAnnotations.resources.dll
hr
System.ComponentModel.DataAnnotations.resources.dll
hu
System.ComponentModel.DataAnnotations.resources.dll
id
System.ComponentModel.DataAnnotations.resources.dll
Images
box.png
left_box.png
left_cloud.png
left_oval.png
nuebe1.jpg
rght_oval.png
right_box.png
right_cloud.png
it
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.DomainServices.Client.resources.dll
System.ServiceModel.DomainServices.Client.Web.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
ja
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.DomainServices.Client.resources.dll
System.ServiceModel.DomainServices.Client.Web.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
ko
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.DomainServices.Client.resources.dll
System.ServiceModel.DomainServices.Client.Web.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
lt
System.ComponentModel.DataAnnotations.resources.dll
lv
System.ComponentModel.DataAnnotations.resources.dll
ms
System.ComponentModel.DataAnnotations.resources.dll
nl
System.ComponentModel.DataAnnotations.resources.dll
no
System.ComponentModel.DataAnnotations.resources.dll
pl
System.ComponentModel.DataAnnotations.resources.dll
pt
pt-BR
System.ComponentModel.DataAnnotations.resources.dll
System.ComponentModel.DataAnnotations.resources.dll
ro
System.ComponentModel.DataAnnotations.resources.dll
ru
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.DomainServices.Client.resources.dll
System.ServiceModel.DomainServices.Client.Web.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
sk
System.ComponentModel.DataAnnotations.resources.dll
sl
System.ComponentModel.DataAnnotations.resources.dll
sr-Cyrl-CS
System.ComponentModel.DataAnnotations.resources.dll
sr-Latn-CS
System.ComponentModel.DataAnnotations.resources.dll
sv
System.ComponentModel.DataAnnotations.resources.dll
System.ComponentModel.DataAnnotations.dll
System.ServiceModel.DomainServices.Client.dll
System.ServiceModel.DomainServices.Client.Web.dll
System.ServiceModel.Web.Extensions.dll
th
System.ComponentModel.DataAnnotations.resources.dll
tr
System.ComponentModel.DataAnnotations.resources.dll
uk
System.ComponentModel.DataAnnotations.resources.dll
vi
System.ComponentModel.DataAnnotations.resources.dll
zh-Hans
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.DomainServices.Client.resources.dll
System.ServiceModel.DomainServices.Client.Web.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
zh-Hant
System.ComponentModel.DataAnnotations.resources.dll
System.ServiceModel.DomainServices.Client.resources.dll
System.ServiceModel.DomainServices.Client.Web.resources.dll
System.ServiceModel.Web.Extensions.resources.dll
clases
comic.vbproj.user
Generated_Code
Images
box.png
left_box.png
left_cloud.png
left_oval.png
nuebe1.jpg
rght_oval.png
right_box.png
right_cloud.png
Thumbs.db
My Project
obj
Debug
comic.dll
comic.g.resources
comic.pdb
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
LiveIntellisense
Sources
TempPE
comic.g.dll
comic.Web.dll
comic.Web.pdb
TempPE
Generated_Code
Images
nube_derecha.png
nube_derecha1.png
nube_izquierda.png
nube_izquierda1.png
nuebe1.jpg
nuebe1.jpg.png
ovalo_derecha1.png
ovalo_izquierda1.png
rectangulo1.png
rectangulo_derecha1.png
rectangulo_izquierdo1.png
Thumbs.db
My Project
obj
Debug
comic.dll
comic.g.resources
comic.pdb
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
LiveIntellisense
Sources
TempPE
comic.g.dll
comic.Web.dll
comic.Web.pdb
TempPE
<%@ Page Language="VB" AutoEventWireup="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>comic</title>
    <style type="text/css">
    html, body {
	    height: 100%;
	    overflow: auto;
    }
    body {
	    padding: 0;
	    margin: 0;
    }
    #silverlightControlHost {
	    height: 100%;
	    text-align:center;
    }
    </style>
    <script type="text/javascript" src="Silverlight.js"></script>
    <script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null && sender != 0) {
              appSource = sender.getHost().Source;
            }
            
            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;

            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }

            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;

            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";

            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }

            throw new Error(errMsg);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" style="height:100%">
    <div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
		  <param name="source" value="ClientBin/comic.xap"/>
		  <param name="onError" value="onSilverlightError" />
		  <param name="background" value="white" />
		  <param name="minRuntimeVersion" value="4.0.50401.0" />
		  <param name="autoUpgrade" value="true" />
		  <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0" style="text-decoration:none">
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
		  </a>
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
    </form>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

apis3445
Software Developer none
Mexico Mexico
I'm a software developer. I like to develop web pages and desktop systems. I would like to learn about XNA, XCODE, ANDROID, KINECT.
Follow on   Twitter

| Advertise | Privacy | Mobile
Web03 | 2.8.141015.1 | Last Updated 7 Feb 2012
Article Copyright 2012 by apis3445
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid