tags:

views:

14

answers:

1

I've been fiddling with a partial trust XBAP - how can I change the icon shown in the IE-tab and the title (aside from changing the assembly-name in the project properties)?

I would also like to change what is shown in the Internet header (right now it shows the address of the XBAP.

+1  A: 

Load your XBAP from a HTML page using an IFRAME. In the HTML page add a title and icon.

Something like this:

<html>
  <head>
    <title>This is my title</title>
    <link rel="shortcut icon" href="http://wherever.com/icon.ico"&gt;
  </head>
  <body>
    <iframe location="something.xbap"
            style="width:100%; height:100%; border:0; overflow:auto" scrolling="no"></iframe>
  </body>
</html>

This is simplified from code that I actually use, except due to some other requirements I'm giving the iframe an id and setting its location using JavaScript in the body's onload event. I assume the above will work just as well.

Ray Burns
Ahh great! Turns out I was looking in all the wrong places :) Thanks a lot.
Goblin