Posts

Pausing a Video with Silverlight 1.1 and VS 2008

i have been having trouble building video player allows user pause , navigate through video. this was tedious in 1.0, it  seemed work. (and heck @ least ran on w2k server) in 1.1 seems broken. the media element shows pause method, calling nothing. saw somewhere this isn't possible in 1.1 if video being streamed, but that doesn't make sense if every video played on site uses 1.1 version of silverlight. can 1 point me in right direction? (it suck loose feature avaiable in the initial release)   rob       hi:   not sure whether works in 1.1 in silverlight 2 can work. can download silverlight 2 here. http://www.microsoft.com/silverlight/resources/installationfiles.aspx?v=2.0   silverlight 1.1 not supported more. thanks. Silverlight  >  ...

A partial fix for small numbers of items in Looping Listbox control from ShoppingCart example in SurfaceSDK

i noticed listbox control shoppingcart example place items out of reach, on right side, if there fewer items than needed span width of listbox. wanted share partial fix issue. for reference, listbox @ bottom of image wpf control issue: http://msdn.microsoft.com/en-us/library/ee804834(v=surface.10).aspx here link public skydrive folder details issue , fix images: http://cid-51a978e24eb84848.photos.live.com/browse.aspx/looping%20listbox%20explanation%20images the fix inside loopingpanel class, line 601 // if items fit in viewport @ same time, disable scrolling , center items if (totalcontentwidth < viewport.width) { extent = new size(totalcontentwidth, viewport.height); setviewport(0); firstitemoffset = ( viewport.width - totalcontentwidth ) / 2; // line fix canhorizontallyscroll = false ; } during runtime, field values try place extent, contains items, at far right of viewport. problem starts with the extent getting pl...

Programatic access to Resources and Beta 2 [Resources.Count = 0?]

 hello everyone, hope i'm not repeating question...  i trying access resources of element in code behind of silverlight application.  ultimate goal able load snippet of xaml , iterate through it's resources see if contains storyboards etc.  in other words, not know actual names of resources @ time xaml loaded, , want still access these resources if exist through c# code.  in trying this, whenever checked frameworkelement.resources.count property 0. tried checking right after loaded xaml, after added new xaml layoutroot, , again after triggered mouse event.  every time read count = 0.  figured there may issue loading xaml local resources set [ie. <rectangle.resources .../>] tried set resources on usercontrol itself. again, left getting resources.count = 0 when page loaded. i had friend of mine had not upgraded beta 2 run same code, , received resources.count = 1 on page load when both resource set locally on element, , when set on us...

USB HUBS AND CD/DVD DIVERS DISABLED ON SERVER 2003

i re-installed windows sever 2003 on i5 quad core system , usb hubs disabled.  cannot access dvd/cd drive either.  when check device manager shows devices working ok, still cannot use of usb ports except 1 keyboard, , hangs intermitently.  have formated , installed windows 7 , server 2008 on same system , hardware work fine. i need either configuring server 2003 recognize , enable usb hubs because oem testing client requires use of server 2003.  can please me? hi,   i cannot access dvd/cd drive either   >> did use usb dvd/cd drive?   by way, did mean “all usb hubs disabled” , “and hangs intermitently”? please provide more information it. way, can try update bios , drivers motherboard latest version see whether same issue.   in addition, please check event viewer see whether there errors. know whether use original windows server 2003 cd/dvd or customized one.     best regards, ...

SVC HOST ERROR IN WINDOWS SERVER 2003

how repair svc host error in windows server 2003 how repair svc host error in windows server 2003 hi, please, post source , eventid find error in event viewer. edoardo benussi - microsoft® mvp management infrastructure - systems administration https://mvp.support.microsoft.com/profile/benussi edo[at]mvps[dot]org Windows Server  >  Network Infrastructure Servers

Can't create self signed certificate for RD Gateway

i'm trying set rd connection broker remoteapp, i'm getting error when try create self signed cert rd gateway: the self-signed certificate has been created, rd gateway cannot store certificate in directory c:\users\myuserid\documents. please specify different directory, , try again." i tried other directories, of have full rights to, still no dice. can't find error. idea how can past it? fwiw, have no problem logging server through rdp. thanks. hi tr, how did create self-signed certificate remote desktop gateway server? as far know, need verify the store root certificate checkbox selected. for detailed information how create self-signed certificate remote desktop gateway server, refer article below. create self-signed certificate remote desktop gateway server https://technet.microsoft.com/en-us/library/cc730805.aspx best regards, jay please remember mark replies answers if , un-mark them if provide no help. if have feedback technet subscriber s...

PolicyStatementExtension OID Limitations

hi hopefully quick question on use of oid's in ca hierachy (2008 r2)... it understanding r2 if specify oid cps, 1.3.6.1.4.1.xxxxx.509.1 in policystatementextension of ca, sub ca can have either 1.3.6.1.4.1.xxxxx.509.1 or 1.3.6.1.4.1.xxxxx.509.1.a.b defined in it's policystatementextension (ie parent oid or sub oid's of it). example 1.3.6.1.4.1.xxxxx.509.2 not work. think i've seen thread explained that this is new r2. first question - understanding correct? second question assuming correct - oid specified impose similar restriction on specific issuance policies defined in certificate templates? the answers design of oid arc. of common practices i've seen oid arc's use cps's & cp's may need reworked depending on answers. thanks douks 1) yes. 2) yes. my weblog: http://en-us.sysadmins.lv powershell pki module: http://pspki.codeplex.com windows pki reference: on technet wiki ...