text: Silverlight Database Deep Zoom - CodeProject 12,828,476 members (45,532 online)
  Joerg Lang15-Jul-09 11:04 HiIf you do not want to store your images in a database, I suggest you look at the code of Berend Engelbrecht in his DecosDeepZoom project, that I mention at the top of my article.To get a horizontal image list you have to do more than just change the layout of the listbox. Even after you change the layout, it is still a listbox that stacks its item on top of each other. You will have to create a ItemsPanel resource with a horizontal stack panel.Basically the XAML should look something like this:
  <ListBox Height="200" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Width="Auto" x:Name="imageList" Background="{x:Null}" Foreground="#FFFFFFFF" ItemTemplate="{StaticResource ListTemplate}" SelectionChanged="imageList_SelectionChanged" BorderBrush="{x:Null}" ItemsPanel="{StaticResource HorizontalListBox}"/>I haven't tested that code very much, so it might be, that you need to change some things. Also you will find some answers on the web if you search for horizontal listbox in Silverlight.Hope to have been of help.
  mrprata31-May-09 21:37 bro, i have this prob connecting to the database...'C:\Dev\scope\DatabaseDeepZoom.root\DeepZoomSilverlightWeb\App_Data\DeepZoom.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
  Joerg Lang1-Jun-09 21:45 HiIn the chapter "Using the code" you find the following text:Important: Before you can run the solution on your machine, you have to change the connection string in the configuration to match your path location. The connection string for the Windows Forms application can be changed in the settings file. The connection string for the ASP.NET application can be changed in the web.config file. The (empty) sample database is located in the App_Data directory of the ASP.NET application.So all you have to do is to change the setting in either the web.config file or in the settings file of the Win Forms application. If you do not exactly know where to find those files try a search.RegardsJörg
  mrprata3-Jun-09 17:32 I did this on the webconfig.<add key="ConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Documents and Settings\user\Desktop\DatabaseDeepZoom\DatabaseDeepZoom.root\DeepZoomSilverlightWeb\App_Data\DeepZoom.mdb"/>but still there is the same error.
  Joerg Lang8-Jun-09 1:00 HiThe question is, do you try to start up the web app, or do you try to start up the windows forms application?Is the error message still showing the old path?If it is the web-app, then it is correct you changed to config string. If you still get the same error I can think of two possible causes:1. There is a typo2. There is a problem with the access rights.If you try to start up the windows forms app, then you will have to make the change in the settings file in the properties folder.As I pointed out in the article, for simplicity I made one large solution that contains several projects and you have to select which project you want to start by changing the startup project.Hope this helpsRegardsJörg
  anderswq14-Mar-09 13:29 I was able to adapt your code and use it on my site. Seehttp://www.anderswq.se/SkultunaSL.aspx
  anderswq11-Mar-09 8:13 In the TileHandler.ashx and ThumbnailHandler.ashx the calls to GetThumbnail and GetTile returnsbefore the DbConnection.Close is called, causing the connection pool to eventually get exhausted.
  Joerg Lang12-Mar-09 22:46 Hi Thank you for the tip. You are absolutely right and I will see if I can upload a corrected version of the source code within the next days.ThanksJörg
  andrewward11-Feb-09 4:16 I have been thinking of trying something like this for a while so your article is very interesting (and well written too!). Personally I would like to store the images in Amazon's S3 service but I will have a detailed look at how you approach the problem first before trying to complicate matters. Thanks once again.Andy
  Ligblou9-Feb-09 20:54 5 from me!PS! For TileSource implementations for mapping have a look at http://www.codeplex.com/deepearth[^]
  Daniel Vaughan9-Feb-09 11:25 This is a very interesting and well put together article. Thanks for sharing your work. 5 x Cheers,Daniel Daniel VaughanBlog: DanielVaughan.Orpius.com
  Sacha Barber6-Feb-09 1:07 5 from me Sacha BarberMicrosoft Visual C# MVP 2008Codeproject MVP 2008Your best friend is you.I'm my best friend too. We share the same views, and hardly ever argueMy Blog : sachabarber.net