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

Software Development Network >> Gobi N's Q&A profile

Gobi N

Member List

Hypnotoad
thomasabcd
John Papa
resnickaXXX
vijaygill
ZUTI
Gnom3
jamie r
Aleksandr Tokarev
stombiztalker
Jeffrey A. Voigt
iq0
Dan Mikkelsen
Hussain Saffar
migs
CostasZ
schmittde
RatherBCoding
Kobingo
John_Wesley
Only Title

Gobi N's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Get cue list by AudioCategory

    I am trying to programmatically extract the list of sounds/cue in an AudioCategory...and it seems that is no API to do that!!! I want to randomly pick a beat sample from the sound bank and play it. There is no AudioCategory.GetNames() or such method/property :( I know that I could parse the XAP file, but it would really be sad to have to that. (it's not even XML!!!) And the cue list/sound list headers/text file are even more worthless (you don't even have the categories!!!). Regards yes it is very bad.... but i have another problem: i dont know how can i attach multiple variables to cue.... or for example how can i decrease volume of entire sound not a cue.... :(((( ...Show All

  • SQL Server Simulating a SQL Cursor Task in I.S. 2005

    Hi EveryBody, I have the following question : What components of I.S. would I use, for simulating a cursor in SQL like that Example of simple cursor : declare c_CURSOR cursor FOR SELECT DISTINCT V.CODIGO FROM GB_RELACIONAL.DBO.VISITA V INNER JOIN MEDIDAS_LINEAL_PROMOCION_200604_02 M ON M.CODIGO_VISITA=V.CODIGO AND M.TIEMPO_ENTRE_vISITAS <> V.TIEMPO_ENTRE_VISITAS OPEN C_CURSOR FETCH NEXT FROM C_CURSOR INTO @CODIGO WHILE @@FETCH_STATUS=0 Do various Jobs; Doing Selects, Inserts etc.. using @codigo FETCH NEXT FROM C_CURSOR INTO @CODIGO end CLOSE C_CURSOR DEALLOCATE C_CURSOR Then what I need is passing the @codigo in every loop, to other components in I.S., for doing inserts in other related tables. Th ...Show All

  • Visual Studio 2008 (Pre-release) Problem with Storyboard Binding

    I want to implement this function: Display any text in an area with determined width, if the length of text is greater the the width of the area, display the text in an automatically rolling way.   In Trigger of ControlTemplate, I defined an Animation. I set “ Animation.To ” binding to an element defined in ControlTemplate. (As shown in the code in red).   The code can be compiled in RC1 SDK, but an exception is thrown during running. If I set “ Animation.To ” to any integer (such as 225) , the code works fine.   It seems there’s some problem in Binding. Can anyone help me on this The code is posted as below:   <Window   xmlns="http://schemas.microsoft.com/winfx/2 ...Show All

  • .NET Development the meaning of 'not working'

    Hi All! I'm having an interesting problem according to TCP communication within .NET framework. I'll include the whole application code here. It's a sample application that I created for testing this interesting behaviour. At my place (at my home computer) it works once in 4 trials . I'm a universitiy student actually, so I turned to my teacher with this problem. I brought the code to the university lab, and I couldn't show the problem because there I tryed it for almost 30 times and everything worked fine. What the code should do: There is two projects in my solution, one of them is the server, the other is the client. Each of them contains only one Program.cs file, the main program. First the server should be started: it starts listenin ...Show All

  • .NET Development choosing policies in runtime with WSE 2.0

    Hi, I'm developing an application consuming many web services and some of them might require a separate policy config because might require a different certificate. Then, to restate the issue: - have multiple proxy clients to invoke different web services from many and different sources - have the chance to configure a different certificate for every proxy client using WSE I think I have to define a policy where I specify the certificate (among other settings) but at proyect level, then the same policy applies to all the invocations executed in the project, then what I need is the chance to specify multiple policies with multiple certificates and select the proper policy in runtime. Any suggestion is welcome thanks ...Show All

  • SQL Server Unique Constraint problem in DWH

    Hi, I have a table in OLTP DB which I synchronize every 1/2 an hour to my DWH. The records in the OLTP DB can be deleted, but, in the DWH they must be saved, so I have there an additional field IsDeleted (values 0/1). I have three columns in the original table, say: ItemID int (PK) ItemName int ParentID int I have unique index on the ItemName and the ParentID. The problem is that if an Item deleted in OLTP DB I change its IsDeleted field from 0 to 1 in DWH, now if it recreated in the OLTP DB it has a new ItemID but, the ItemName and ParentID are same as the deleted Item. When I try to insert the new Item to the DWH I getting unique constraint violation error because I didn't delete the old Item just changed its IsD ...Show All

  • SQL Server change Parameter order

    Hello, I'd like to change the order in which Parameters are displayed. When I go to the menu Report - Report Parameters and change the order with the arrows displayed - I'll get the following error msg.:The value expression for the report parameter contains an error:The expression contains a non existing parameter in the report parameter collection. Any ideas to change the order Edit the XML File Thanks! Parameters become dependent when you use parameter A in the query that populates paramter B. This usually happens in the WHERE clause e.g. SELECT * FROM param_b_table where some_column = @param_a Removing the WHERE clause should remove the dependency between the parameter and and allow you to reorder them. But are you ...Show All

  • Internet Explorer Development IE7 closes dropdownlist if style changed via javascript

    Hi, I already posted this question to microsoft.public.internetexplorer.general 2 weeks ago, but got no answer. I'm not sure if I'm right here, but I'll try. I have to change the backgroundColor of a dropdownlist on focus. And if you leave it (onblur), the color has to change back again. Unfortunatelly IE7 closes the DDL when you change the cssClass or style.backgroundColor You can see it easily with this html page: <script language="javascript"> function SetClass(obj, valid) { window.status = 'Gonna change backgroundColor ...'; window.setTimeout(function() { if(valid) { obj.style.backgroundColor = "green"; } else { obj.style.backgroundColor = "red"; } wind ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Order of DeviceLost, DeviceDisposing, DeviceCreated, DeviceReset, etc?

    While the documentation documents the GraphicsDeviceManager.DeviceDisposing, GraphicsDeviceManager.DeviceCreated, and GraphicsDevice.DeviceLost and GraphicsDevice.DeviceReset events, it doesn't document when these will be invoked, and in what order. Assuming the user drags the window from one device to another, I would ASSUME I'll get the following sequence of events: GraphicsDevice.DeviceLost GraphicsDeviceManager.DeviceDisposing <new device is created> GraphicsDeviceManager.DeviceCreated (I can hook up to the new device events here) GraphicsDevice.DeviceReset However, there's nothing that actually guarantees that I'll get the DeviceLost and DeviceReset events. Currently, I don't have a multiple-device system to test on, so I can't ...Show All

  • Smart Device Development C#, problem checking Whether device(Windows C.E 5.0) is connect via USB

    Hi I just converted my Application from using Windows C.E 4.1 to Windows C.E 5.0 on the Framework 2.0 and my App is complaining about Opennet reference. I reckon i'm using old version of opennet. Does anyone know whether CE 5.0 has the same functionality as opennet. Check Network adapters on the device.before i can send stuff over to the pc i want to check whether the device is connect via USB. I would appriciate it if someone could help. manyowa wrote: Hi I just converted my Application from using Windows C.E 4.1 to Windows C.E 5.0 on the Framework 2.0 and my App is complaining about Opennet reference. I reckon i'm using old version of opennet. Does anyone know whether CE 5.0 has the same f ...Show All

  • .NET Development XSLT problems with "cdata-section-elements" and "omit-xml-declaration"

    Hi All, Sorry, this is cross posted from the SQL server reporting services forum here: I'm using some xslt documents to transform the xml output of my reports in sql server 2005 reporting services, but have come across two curiosities where the xslt filter seems to behave unusually. Firstly, I need the final saved file to have an xml declaration, which I believe it should do by default. Even if I put omit-xml-declaration="no" in the xsl:output tag I don't get an xml declaration. At present we have a custom job that writes these declarations back into the xml after SRS has saved it. Secondly and more importantly, I need to have some of my output tags wrapped in CDATA sections. I've tried using the ...Show All

  • SQL Server Windows integrated authentication - Domain controller

    If my SQL Server authentication is windows integrated authentication, whenever my application makes a connection to SQL server does it contact the windows active directory domain controller to authenticate the windows user account How does windows integrated authentication work in the background You can use the System.Security namespace in the .NET Framework and use the User.Identity.Name to extract the Windows account from the currently logged in user. Pass this as a credential to SQL Server to allow your WinForm to connect to SQL Server using Windows authentication. ...Show All

  • SQL Server Sample database not found?

    I install the SQL 2005 Evaluation. I selected to install samples and documentation during the installation wizard. It finished successfully but I could not find the sample databases on the SQL Management Studio. Why Thanks. Joe. Hi, you can download them at: http://www.microsoft.com/downloads/details.aspx familyid=E719ECF7-9F46-4312-AF89-6AD8702E4E6E&displaylang=en HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development Debug interfaces in real time

    I am thinking of using debugging interfaces to provide flexible diagnostic extensibility to an application running in production. This involves having application to instantiate the debugging interfaces internally and define some breakpoints that will be hit as the application executes (I read about separate debugger thread in 2.0). The code inside the breakpoint will then do some diagnostic activity and let the application go until the next breakpoint is hit. So this is kind of applicaiton debugging itself in its own process at certain points of its execution. Do you think using the debugging interfaces will even be feasible to produce something like this And that it will be stable and have little performance degradation compared to un ...Show All

  • .NET Development Web service using complex objects

    In a web service we have a web method [webmethod] public Myresponse SendTransaction(MyRequest req) Here MyRequest and MyResponse classes are inherited from MyMessage class. When we view the asmx file http://localhost/DemoServiceExtended/DemoService.asmx op=SendTransaction The sample SOAP request and response xml does not list the public Fields in base class(MyMessage). How to make the base class fields available in listed XML I discovered the exact same thing just this morning! Any takers on this one ...Show All

©2008 Software Development Network