Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

SBJ

@SBJ
About
Posts
16
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Ok Which was very your first programming language?
    S SBJ

    COBOL/Punch Cards - 1979 UCSD Pacal - 1980(?) - Heathkit H11

    The Lounge java html database question

  • Dot matrix printers.
    S SBJ

    DataSouth

    The Lounge question

  • How do you learn a new computer language?
    S SBJ

    You are assigning theDroidImLookingFor to droid.name. == I sure wouldn't take your class;O} Just kidding, I know it's just a typo

    The Lounge csharp c++ question learning

  • Programming is not a long term career
    S SBJ

    I'm still at it 30+ years later, loving it and approaching 60. Oh, and I am definitely a graybeard!

    The Lounge question career

  • Problems Merging a MediaPlayer SL2Gallery Template into an Existing SL 2 App
    S SBJ

    Sorry I didn't get back on this; I got busy with other things. I worked it out by modifying the template code. Now it works beautifully! Thanks for the help, Steve

    WPF wpf tutorial

  • Your First Computer...
    S SBJ

    First programmed IBM 360 with punch cards then UCSD Pacal on Heathkit H-11 (LSI-11). First I owned was 286 AT clone.

    The Lounge com

  • Problems Merging a MediaPlayer SL2Gallery Template into an Existing SL 2 App
    S SBJ

    Michael, I created a small app that just included the MediaPlayer in Blend 2 and it worked fine. As soon as I opened it in VS it transformed the project into a SL3 project and it stopped working. I guess I wasn't paying attention the first time. In an attempt to get everything into SL3 I downloaded Encoder 3 (I already have Blend 3), however now apparently Playlist doesn't contain PlaylistItems. At this point I'm totally confused. Plus, our neighbors are having a tree taken down and the noise is driving me crazy!!! I'm going to hang it up for the day and start fresh tomorrow. Thanks for your offer of help and if I find anything tomorrow I'll post it, Steve

    WPF wpf tutorial

  • Problems Merging a MediaPlayer SL2Gallery Template into an Existing SL 2 App
    S SBJ

    I created an Expression MediaPlayer app with Encoder 2 using the SL2Gallery template. The app works perfectly stand-alone but I want to put the player on a page in another Silverlight 2 app. The playlist for the original app is supplied to the .xap through initParams. I copied the entire Page.xaml into my page (changed the namspace etc) and added the playlist to the player as follows. It almost works. I have three problems. 1. The playlist listbox acts as though the scroll area is only two items long. It's plenty big to show all of the items. Sometimes when scrolling a third item will show up, but it's intermittent. 2. The Thumbs don't display. I've tried every conceivable Build Action, but nothing seems to work. And yes I can see them added to the compilation during the build. 3. If the first two can be solved, I'd like it to auto start when the page opens.

    <ExpressionPlayer:ExpressionPlayer Margin="0,0,0,0"
    x:Name="myPlayer"
    Style="{StaticResource GalleryTemplate}">
    ExpressionPlayer:ExpressionPlayer.Playlist
    <ExpressionMediaPlayer:PlaylistItem Title="Preparing Your Home"
    MediaUrl="Properties/video1.wmv"
    Description="My Description"
    ThumbSource= "Properties/video1_Thumb.jpg"
    FrameRate="25" />
    <ExpressionMediaPlayer:PlaylistItem Title="2"
    MediaUrl="Properties/video2.wmv"
    ThumbSource="Properties/video2_Thumb.jpg"
    FrameRate="25" />
    <ExpressionMediaPlayer:PlaylistItem Title="3"
    MediaUrl="Properties/video3.wmv"
    ThumbSource="Properties/video3_Thumb.jpg"
    FrameRate="25" />
    <ExpressionMediaPlayer:PlaylistItem Title="4"
    MediaUrl="Properties/video4.wmv"
    ThumbSource="Properties/video4_Thumb.jpg"
    FrameRate="25" />
    </ExpressionPlayer:ExpressionPlayer.Playlist>
    </ExpressionPlayer:ExpressionPlayer>

    There is very little information on how to use

    WPF wpf tutorial

  • Someone give Microsoft a gold star [modified]
    S SBJ

    And of course, to continue.... Which one is the any key.

    The Lounge database com

  • Someone give Microsoft a gold star [modified]
    S SBJ

    Great story about a help desk being called because the computer wouldn't work. They went through all the usual until the help desk asked the user to assure the computer was plugged in. The user replied they couldn't tell. When asked why, the user replied the power was out and they couldn't see behind the desk where it was plugged in.

    The Lounge database com

  • Silverlight 2: Code: 4001. Category: ImageError. Message: AG_E_NETWORK_ERROR
    S SBJ

    Actually this project originated in Blend and was first loaded into VS through the Edit in VS menu command in Blend. When I right-click on the Properties folder in VS the only option I have is to Open it. All the other folders include the menu options you would expect. I think you may be right about Blend causing the problem. I can add that to the numerous other problems encountered when developing using the two packages together. Hopefully, VS 2010 and Blend 3 will be more stable! Thanks again for your help, Steve

    WPF help wpf data-structures learning

  • Silverlight 2: Code: 4001. Category: ImageError. Message: AG_E_NETWORK_ERROR
    S SBJ

    I'd like them to be embedded, but other than using XAML references, I can't seem to force them to be. I added the image files to the Properties folder through Expression Blend. Thanks, Steve

    WPF help wpf data-structures learning

  • Silverlight 2: Code: 4001. Category: ImageError. Message: AG_E_NETWORK_ERROR
    S SBJ

    Mark, I appreciate your reply. Yes my images are marked with the Resource Build Action. Even if I add the yourappmodulename;component/ to the image file string, I still have no luck. With or without yourappmodulename;component/ being added to the string, it appears to create a valid BitmapImage (at least as far as I can see by examining the object in the watch window), but when it comes time to display it, I still get the same error in a Webpage Error messagebox. If I reference the same image files from XAML, then they are there for the code-behind as well. When I remove the XAML references, the error returns. The only way I have found to prevent this without adding superfluous references in the XAML, is by including the actual images as I indicated in my original post (although they are actually included relative to Bin/Debug, not Bin; i.e. Bin/Debug/Properties). I'm not sure what else I am doing or not doing that prevents your solution from working for me. Thanks again for the response, Steve

    WPF help wpf data-structures learning

  • Silverlight 2: Code: 4001. Category: ImageError. Message: AG_E_NETWORK_ERROR
    S SBJ

    I've noticed a lot of posts on various blogs, etc about this error when referencing image files. Apparently it means that Silverlight can't find your file, or Silverlight doesn't support the format (.gif). I think like most people experimenting with Silverlight, I haven't formally studied the language, and so I miss many nuances. Here is one where I'm sure it is documented somewhere but I had to learn the hard way. I had a situation where I was loading an array of image names to be used as a series of ImageBrush elements, so I added the image files to the Properties folder through Blend, and reference them in my code-behind, as... "Properties/MyImage.png" however Silverlight didn't recognize them. I had other images referenced the same way in the XAML code and Silverlight had no problem. It turns out that if you reference an image file (or I assume any other Resource) in the XMAL, Silverlight compiles the Resource into the App.DLL. If they are only referenced in the code-behind this is not the case, so you must include a copy of the Properties folder relative to where the XAP file is run; in this case off my Bin directory. Hopefully this post will help others avoid my time consuming mistake, Steve

    WPF help wpf data-structures learning

  • Whether it sucks or rocks...
    S SBJ

    Not that many jobs out there requiring WPF that I've seen.

    The Lounge csharp wpf com business question

  • Web hosting recommendations
    S SBJ

    Agreed!

    The Lounge csharp database asp-net sql-server sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups