Software Development Network Logo
  • Windows Vista
  • IE Development
  • .NET Development
  • Microsoft ISV
  • SQL Server
  • VS Team System
  • Visual C++
  • Windows Forms
  • Smart Devicet
  • Visual C#
  • Audio and Video
  • Visual Basic
  • Game Technologies
  • SharePoint Products
  • Visual Studio

Software Development Network >> YhanT's Q&A profile

YhanT

Member List

Jassim Rahma
vivian20060829
Andrea Williams
seco
Gmorken
Jkumar
Wee Bubba
Murali Medisetti
Junner2003
Vulcanoro
simonvinyl
Adhvika
Christer Claesson
Alexey Raga
Yogesh Shah
Fred Herring
perf101
BryanLivingston
Emmanuel Huna
Marzullo
Only Title

YhanT's Q&A profile

  • Audio and Video Development Scaling with DXVA2.0

    Hi, I’m currently studying the DXVA2.0 device management and video processing and I wonder if you could help me with the following trouble: I’m want to build a MFT who doe’s video processing on video source, one of the features I want to offer is the ability to use the hardware scaling capabilities instead of my software algorithms. Therefore, I came up with some basic questions: 1. When setting the video position by the IMFVideoDisplayControl interface to a larger destination rectangle then the source rectangle – how can I ensure that the resizing is done by the hardware and not software 2. Is there a way to implement scaling using the IDirectXVideoProcessor::Video ProcessBlt in my MFT so I could actually ...Show All

  • Windows Live Developer Forums Puzzling Reporting Responses

    I've submitted a SOAP request that worked last week, but when I run it today (and yesterday), I get error code -400063, The report data for the requested date range is not yet available.  However, I know that the report data is available, because I got it last week.  I've included my SOAP below. Thanks. SOW REQUEST < xml version="1.0" encoding="utf-8" >         <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">         <soap:Header>         <ApiUserAuthHeader xmlns="http://adcenter.msn.com ...Show All

  • Gadgets addImageObject rotation causes corruption if Margin isn't 0

    In the following example, the aliased surround around the image is not placed correctly. Sidebar doesn't take account of the body Margin's. blank.png is a 100% transparent image test.png is a solid white image 300x400 <BODY style="position:absolute; width:500px; height:500px;" > <g:background id="bodyBackground" src="blank.png" style="width:100%; height:100%" /> </BODY> Then add an image to it in code and rotate it: bodyImageSurround = bodyBackground.addImageObject("test.png", 50, 50); bodyImageSurround.rotation = 30; You now have a rotated image, with the aliased surround in completely the wrong place! If you add "margin:0px;" to the body style, the aliased surround is placed correctly. ...Show All

  • Visual Studio Express Editions data exists

    hi all im trying to find out how to see if a record exists in a database and returns true if it is there also in code how can i if it does exist add a value into where column name is "type" thanks in advance tim hi thank you for the quick repley i think i dident explain what im trying to achive very well i have already linked the bining navigator and table adapters to my page so i can use the TableAdapter.fill to fill the datagridview and i can also save but what i want to do is using an if statment like the following oil filter = variable that i wish to see if is alrady in the dataset ive tryed using the fil command and the query builder to do this but could not quite not get it to work i ...Show All

  • Visual Studio Team System Generate Report for Files Checked-in without comments

    I am currently generating a report which has all the filename which has been checked-in without any comments. The problem is that I need to directly query the TFSVersionControl database to get this information but it is not possible to give read access to this database to all users. Another approach I tried is to get this report using APIs in VersionControlServer class but I am unable to find the methods that will get the files which has been check-in without any comments Is there any API/method that can do this operation Is there any other approach to get this report Hi Srikanth, If you're using the blog entry referenced below to get the changesets with policy failures, you can do something si ...Show All

  • Windows Forms Windows Media Center

    I have just bought a new laptop (Dell E5105) from QVC and it comes with the Windows Media Center OS. Am I going to have to replace the OS with XP Professional I am a web designer and VB Programmer and I need to have IIS and want NTFS. Does the Media Center OS support these two items Thanks, The base platform for Windows Media Center is, surprisingly enough, XP Pro not XP Home like you would think. It is a superset of XP Professional so you shouldn't experience any problems with installing either IIS or setting the file system to NTFS. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. createenumobject fails

    Whenever I call CreateEnumObject, it fails. I believe my problem extends further than this, however. I found out that IDirectXFile interfaces had been delcared deprecated, so I attempeted to use newer functions, and I must have messed up with a casting, or be using the wrong interface or something like that. Here is all the code in my app that applies to it: typedef struct meshstruct { char *name; ID3DXMesh *meshobj; ID3DXMesh *skinmesh; ID3DXSkinInfo *skininfo; DWORD numofmaterials; D3DMATERIAL9 *materials; LPDIRECT3DTEXTURE9 *textures; meshstruct *next; meshstruct() { name = NULL; meshobj = NULL; skinmesh = NULL; skininfo = NULL; numofmaterials = 0; materials = NULL; textures = ...Show All

  • Software Development for Windows Vista June CTP Orcas Tools Installation problem

    I've got the June CTP WinFX Runtime, the June CTP SDK. But the June CTP Orcas won't install. I get the following error messagebox. Setup has detected that a prerequisite is missing. To use Microsoft Visual Studio Code Name "Orcas" Community Technology Preview - Development Tools for WinFX you must have the WinFX runtime installed. Please install the WinFX runtime and restart setup. Does anyone know how to resolve this I know that WinFX is correctly installed, because I've run many samples, and Expression and XamlPad run fine too. Is there any way to convince the Orcas installer into believing that WinFX is installed Nish, I have exactly the same issue, even trying to install the tools ...Show All

  • SQL Server Multi-Valued Parameters

    Hi: I have this page, it is runing fine for single value parameter. Now I am trying to pass multiple values from that parameter and to do so I checked mark the multivalued box for that report parameter. But, I am not able output any of the selected Items...please explain in detail. Thanks, Rohit Is your list dataset property set Another way is to put the charts and tables in a subreport and then call the subreport from a table sending it the parameter for witch you want it to display.It's hard to tell mor without any more info... ...Show All

  • Visual Studio Express Editions I need help installing Starter kits!!!!!!

    Hi, i tried installing a starter kit. and when i get to stage 2 of the installation i get errors on everything thats installing. All the errors read: Installation stopped because the directory for the ProjectType value did not exist. The project type is invalid for your installation of Visual Studio. Please can you help me, I need the starter kit so i can create my band website You will need to make sure that you have the Web Components installed if you are installing a Web Starter Kit, you will also need to make sure you have both C# and Visual Basic installed to install the associated Starter Kits. You can do this by: Chose Start -> Control Panel -> Add/Remove Programs In the Add or Remove Programs win ...Show All

  • Visual Studio 2008 (Pre-release) XAML to JPEG converter... memory leaks

    Hello, I have created very simple console application which converts xaml file to jpeg. I have found that there is big memory leak when running this application. After some 5000 conversions almost all RAM is eaten (about 400 MBytes). I have tested this inside virtual PC 2007 with WindowsXP and Vista as guest operating system. Any idea what can be wrong… Thanks Edvin namespace Console1 { class Program { [System. STAThreadAttribute ()] static void Main( string [] args) { try { for ( int i = 0; i < 5 000; ++i) { if (i%100==0) Console.WriteLine(i.ToString()); ConvertToJpg( "ImagePlusText ...Show All

  • .NET Development "Root Element is missing" error on DataTable.ReadXML(stream)

    I create a simple datatable (dt), 2 columns and 1 row of data. I call dt.WriteXML(dt, XmlWriteMode .WriteSchema), I then read the xml file into a memory stream (for app reasons), with the contents of that memory stream listed below. I then create a new DataTable dt2 and try to read the contents of the memory stream into the new table, but it throws a 'Root Element is missing' error. dt2.ReadXML(memorystream); -->Root Element is missing erro r Any suggestions on why I'm getting the error would be appreciated Thanks, Rick Contents of memory stream to be read: <NewDataSet> <xs:schema id="NewDataSet" xmlns="" xmlns:xs=" http://www.w3.org/2001/XMLSchema " xmlns:msdata=" ...Show All

  • .NET Development Find a folder's location problem

    I try to find a folder located on my C: which maches a specific name using: Directory.GetDirectories(@"C://", "folders name", SearchOption.AllDirectories); but when it checks a folder that has no access I got an interruption. System.UnauthorizedAccessException was unhandled How to solve this problem Hi, ok, If you know the user who having access to c:\ ( required path ) you can impersonate the user before accessing the files ( resources ) please refer these link's http://www.codeproject.com/csharp/ZetaImpersonator.asp http://west-wind.com/weblog/posts/1572.aspx IF it is an ASP.NET Application http://msdn.microsoft.com/library/default.asp url=/library/en-us/vsent7/html/vxconImpersonatio ...Show All

  • Visual Studio 2008 (Pre-release) Anyone knows how to draw a vertical text?

    Hi, Does anybody know how to draw a vertial text in Avalon I've tried the rotate transform but it doesn't as i expected, have any ideals Thanks, Dat Dang If you want the text to just be rotated and run along the Y axis then using the render transform should do the trick. To get the letters stacked one on the other, you just need to use line breaks. ...Show All

  • Visual Studio 2008 (Pre-release) MediaElement in a FlowDocument

    Hello Everyone! I am trying to add a MediaElement (video file) inside a BlockUIElement to a Figure, then add the Figure to a Paragraph and finally stick the Paragraph into a FlowDocument. I have set the MediaElement.LoadedBehaviour to Play, and as soon as it gets added to the figure it starts to run, the only problem is that the video doesnt update, meaning that the only thing that "moves" is the sound. Basically the Video freezes on frame 0 but the audio plays fine. Now the interesting thing is that if I resize the FlowDocument or hover the mouse over a button inside the Grid where the FlowDocument lives, the video also updates fine. In the case of the button, at least for the duration of the little OnMouseOver animation attach ...Show All

©2008 Software Development Network