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

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

cdx11356

Member List

oatman
drachx
Melvin McClurkin
Doug DeBug
syvers
createdbyx
Eisen Po
Sergio Ordine
bstoker
Hakan Gümüş
breceivemail
SaravanaKumarPaulraj
John_Mac
Dietz
pcgalen
Rik Dodsworth
Henri20
Steve98796
Kevin Hoffman
monkeynova
Only Title

cdx11356's Q&A profile

  • Audio and Video Development s

    Hi. I'm sending "dummy sample" when there are no data to send from source. butRequestSample() come buck so quickly and keeps spining until data are ready. It's really waste of CPU power. What should I do to stop this I'm trying to build something like a LiveTV player. Thanks. Kasumi. I'm guessing that you have an MFT downstream of the Media Source that interprets these dummy samples as "no data". If you give this "no data" sample a duration, then your MFT can just produce that duration's worth of silence (audio) or repeated frames (video) and return MF_E_TRANSFORM_NEED_MORE_INPUT from ProcessOutput only when those have been exhausted. This will keep MF f ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to disable driver anti-aliasing

    I need to preserve the exact colors (and thus, hard edges) when I read back the rendered image via an offscreen surface filled with GetRenderTargetData. There is an option in the control panel where the driver forces anti-aliasing for all applications. If I do not set the quality-performance slider correctly, I will get anti-aliasing. Is there a way (in code) to prevent that From my understanding, control panel settings is directly tuning driver's behaviour. Thus it is not possible for the application to decide or force something that will be overriden anyway by the driver. ...Show All

  • Architecture Data Modelling Tool in Visual Studio 2005

    Is there any data modelling tool / feature available in Visual Studio 2005 Hi amit lohia I have just started working with Visio for Enterprise Architect and find that the ORM (object role modeling) is an excellent way to model your data models. I have been working with design of databases for quite some time and find this to be the most precise and - once grasped - most easy way of defining your data models. ORM models can with a few steps be converted into ER diagrams that are normalized beyond the 3rd normal form. Here is a good place to start: http://www.orm.net/ Good luck - dampbarn ...Show All

  • Visual Studio Team System AvoidUnusedPrivateFields fires on generated Global.components

    I'm using FxCop 1.35 with VS 2003. When I create a new Visual Basic ASP.NET Web Service project, a Global.asx.vb is created that includes the following code: #Region " Component Designer Generated Code " Public Sub New() MyBase.New() 'This call is required by the Component Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Required by the Component Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Component Designer 'It can be modified using the Component Designer. 'Do not modify it using the code editor. <System.Diagnostics.DebuggerStepThrough()> Private ...Show All

  • Windows Live Developer Forums Firefox Polylines

    I'm trying to add a polyline for tracking of the previous location of mutiple objects. This works fine in IE(Of course) but on Firefox 1.5.0.4 on Mac and Windows all the lines are being put in one place instead of actually having the correct locations. The code is at http://www.wormley.com/t1.html The pushpins were added to illustrate the locations where each line should be(you have to zoom in, the tracks aren't very long) but both polylines are ending up near the left side in firefox. It still doesn't work without the pushpins. Thanks, -Steve Yep...I'm in the frustrating position of not being able to say anything definite. I can't tell you anything more than: "we know all about this" and "soon". Get it ...Show All

  • .NET Development The server committed a protocol violation. Section=ResponseStatusLine

    Hello, I have a webservice that is done in JAVA in another part of the world and I want I try to consume it I got that error. When I try to consume that same webservice inside my intranet I got no problems. protected void Button1_Click( object sender, EventArgs e) { AudioRespuestaService proxy = null ; try { proxy = new AudioRespuestaService (); //WebRequest req = proxy.getWebRequest(); proxy.AllowAutoRedirect = true ; proxy.PreAuthenticate = true ; CredentialCache credencial = new CredentialCache (); credencial.Add( new Uri (proxy.Url), "Basic" , new NetworkCredential ( "xxxxxx" , "xxxxx" )); proxy.Credentials = credencial; IAsyncResul ...Show All

  • SQL Server clean up data - when process runs next time

    In a integration project I am moving data from A to B. First time is fine - since table B is empty. However next time I run the process, I would like to delete all records in B before I run the project again. What is the best way to delete / clean up data when you re run the process Cheers, T ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA's use of Collections

    XNA uses Collections for a lot of things: ModelMeshCollection, ModelEffectCollection, EffectPassCollection, ModelMeshPartCollection, etc. which results in a lot of foreach iteration in code. I recently discovered the CLR Profiler and started poking around. It appears that using foreach on these Collections results in creation of SZArrayHelper and Enumerator helper objects. Most other systems are doing pretty well to avoid any constant object "leakage", and I'd rather keep it that way if possible (I come from the "No Dynamic Allocations at Runtime" school of console development). I'm still pretty new to C#, so what I'm wondering is if there are there ways to avoid this constant pressure on the GC -beyond hand unrolling t ...Show All

  • Internet Explorer Development Sessions in IE7

    Hi I am pulling my hair out over this problem, and am getting to the stage where I'm gonna scream. All these pages work perfectly on IE6, Firefox, Netscape etc, but I have come across a problem when testing them on IE7. Here's the problem: I have a web based system where a user logs into the site. Upon signing in, a number of PHP $_SESSION variables get populated with data, so that the subsequent pages know that he is allowed to visit them, and who he is. One of these variables is: $_SESSION['username'] At the top of all subsequent pages, the php script reads: < php session_start(); if (!isset($_SESSION['username'])) { header("Location:unauthorised.php"); exit; } > This effectively checks to see if the user is lo ...Show All

  • Visual Studio 2008 (Pre-release) Can't Find the Month Calendar

    I'm Using WinFX to make an Applications, my Applications Needs a Calender...., but i can't find it, isn't there a Calendar in Winfx , i'm using a Window Scene not page Scene. it is avaliable as a sample http://wpf.netfx3.com/files/folders/controls/entry4638.aspx ...Show All

  • Smart Device Development Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)

    The DeviceEmulator 2.0 Community Tech. Preview has gone live, at http://www.microsoft.com/downloads/details.aspx FamilyId=13F5DE85-30CD-4506-9C5B-A2068FA1EE9E&displaylang=en . V2 has: Much improved performance DEComInterfaces.idl - the COM interface to the emulator, along with sample code showing how to use DMA to communicate between a Windows app and an app or driver running inside the emulator. This is the DeviceEmulator's equivalent of the "Building DMA Drivers for the Windows CE.NET Emulator" article at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncenet/html/builddmadriver.asp . An eXDI driver for Windows CE Platform Builder 5.0, giving you a hardware debugger interface to the emul ...Show All

  • Windows Live Developer Forums Searching Private Space

    Hi L&G, It's only possible to search the spaces if they are syndicated and public, right If so, can you add search for private spaces Regards, V.B. Correct you can only search public spaces. Searching private spaces is something we are investigating with the Search team. So its not out of the question some time in the future, but there are no formal plans yet either <;-) ...Show All

  • SQL Server Multiple rows into single column

    I'm working on a Reports and I need to combine data from multiple rows (with the same EventDate) into one comma separated string. This is how the data is at the moment: EmployeeID EventDate 2309 2005-10-01 00:00:00.000 2309 2005-10-01 03:44:50.000 2309 2005-10-01 08:59:00.000 2309 2005-10-01 09:29:44.000 I need it in the following format: EmpID EventDate EventTime 2309 2005-10-01 00:00:00,03:44:50,08:59:00,09:29:44 There is no definite number of EventTime per Employee for a particular EventDate. And i don't want to use Iterative Methods. Thanks & Regards Rajan Another alternative might be something like: declare @mockup table ( EmployeeId integer, EventDate datetime ) insert into @mockup values ...Show All

  • Visual Studio Values of different documentation modules for a new learner

    - What s the difference between Tutorial, Walkthrough and quick start and what re the differences of their added values to a new .Net learner. I mean when should I use each of those. Also when should use Index in documentation and when should I use the search (Ctrl Alt F3 in the VS2003 documentaion) Thank you I see a quick start as a set of "try this" steps to help you get started in understanding a feature or technology. I see a walkthrough as a set of "try this" steps to help you accomplish a specific task or create a specific type of project. I see a tutorial as a walkthrough with additional commentary and discussion. I would say use the index when you want to look for content by a particular keyw ...Show All

  • .NET Development Arrow keys problem in Framework 2.0

    Why a CLR programm don't handled a arrow keys (Left,Right,Up,Down) All others keys handled but this four not. New information about this problem: 1.Method IsInputKey for key Right and others arroe keys always return false; 2. If you set MdiContainer for main form is true, arrow keys for this form not working. 3. UpKey handler working,but KeyDown is not; 4. In help says what arrow keys is support always, but really is not. 5. Resume: this is BUG. ...Show All

©2008 Software Development Network