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

Software Development Network >> Charles Tam's Q&A profile

Charles Tam

Member List

Marin
espirit
Mamatha
UnKnown Nick
Inglewood_jack
amiune
cindyjones10
eTape
Johan J
mkfl
IIM
VuaCorona
Joe Albahari
Volksman
explode
yanyee
Uma P
ar_pad
Aaron Oneal
HSBF Lewe
Only Title

Charles Tam's Q&A profile

  • Audio and Video Development How to dynamic change topology ?

    Hi all: If a mediasource will change video format (codec) according to user operations, how do I change MFT dynamically Thanks ^_^ Hi Fei-tian, Right now, Media Foundation doesn't support the ability to automatically update the various nodes in the topology based on e.g. events from the Media Source However, it is possible for the application to make changes to the topology in the middle of streaming. This is done via IMFMediaSession::SetTopology, with the MFSESSION_SETTOPOLOGY_IMMEDIATE flag set in the dwSetTopologyFlags argument. If you do that, the Media Session will immediately put your new topology in place and start running the new topology (if this flag had not been set, it would have waited for the current topol ...Show All

  • SQL Server What is the account that the SQL Server is running under?

    Hello, I need to allow SQL server 2005 to open a file in a shared directory. Any assistance or help will be greatly appreciated! Yep, you are right, the server is apparently using a built-in account. If you are trying to access a remote share, you will probably need to use a domain account rather than a built-in or even a local system account otherwise the remote computer may not be able to recognize the account. Alternatively, if the data being shared remotely is not very sensitive, you may be able to simply grant read access on that folder to public Sung ...Show All

  • Windows Live Developer Forums don't like msn beta.. but back to msn 7.5 open

    I made mistake click for the msn beta self destroy cause to still display problem the bad color..Becuse I did struggled to figure be all fail the msn 7.5 is unable open and chat include everything.. I feel tired that waste time about the msn beta still stay in computer... But it's not good beta msn cause bad virus software and destroyed the display problem of color..As I fixed all fail how to open the msn 7.5..Also I would like to interest more attract on msn 7.5 than Beta. I wish to want be back normal on msn 7.5.. How can you help to techical support in my computer .. You will send me the download back to msn 7.5.. ...Show All

  • Visual Studio Express Editions DataView Question, read ColumnName(s) to array

    I have dynamically created a DataTable (paramTable) and made a DataView (view2) which views a subset of the table. I am trying to grab the column names from the DataView so that I can add them to the first row of an Excel spreadshet. The number of columns in the DataTable and the DataView are the same, however thier column names are different. I only want the column names from the DataView. The below code doesn't work due to the code in the For Each loop. The loop only returns the name of the last column that I added. How can I address the name of the column I want to do something like this... (eg get name for column 1) x = column(1).ColumnName I have included by current attempt below. Thanks. Dim view2 As ...Show All

  • SQL Server concate comments from different rows

    Posted - 01/08/2007 : 17:36:50 SET NOCOUNT ON DECLARE @T AS TABLE(y nvarchar(20) NOT NULL PRIMARY KEY) INSERT INTO @T SELECT DISTINCT CommentID FROM comments DECLARE @T1 AS TABLE(num int NOT NULL PRIMARY KEY) DECLARE @i AS int SET @i=1 WHILE @i <20 BEGIN INSERT INTO @T1 SELECT @i SET @i=@i+1 END DECLARE @cols AS nvarchar(MAX), @cols2 AS nvarchar(MAX),@y AS nvarchar(20) SET @y = (SELECT MIN(y) FROM @T) SET @cols = N'' SET @cols2 = N'' WHILE @y IS NOT NULL BEGIN SET @cols = @cols + N',['+CAST(@y AS nvarchar(20))+N']' SET @cols2 = @cols2 + N'+ coalesce(['+CAST(@y AS nvarchar(20))+N'],'''')' SET @y = (SELECT MIN(y) FROM @T WHERE y > @y) END SET @cols = SUBSTRING(@cols, 2, LEN(@cols)) SET @cols2 = SUBSTRING(@cols2, ...Show All

  • Visual C++ C can do But C++ we cant do this

    Hi Can anyone tell me if is there anything which we can implement using C but we cant do it using C++ though its advance of C. I am waiting for urs reply. C++ allows to do everything that can be done in C. The only restriction is development environment which can support only C. For example, KMDF drivers can be written only in C. Some hardware development systems may contain only C compiler, in this case C is only choice. If C++ is available, it can be used instead of C without any restrictions. ...Show All

  • Architecture Architecture for Notification based application

    I need to develop a notification based system in .Net. Basically as and when certain data gets updated, the client machine is informed about it. There would be a windows based application running across all these clients. One way I was thinking of was to have the clients poll the server for any updates at frequent intervals. Whenever the Server does an update it would post the update into a queue. Every client would poll the queue for any updates. Would like to know if this approach is alrite or suggest an alternative architecture. Thanks Sai I dont think I would be able to install queues on client machines. And there are some users who would be based behind the firewall and there are some who are not ...Show All

  • Internet Explorer Development Passing MSXML document to a activex control using JScript

    I want to pass a MSXML document to an activex control using JScript. I have tried it but it sends a IDispach pointer. I also need to convert the passed xml document in to a string. Is there anyway that I can chaneg the passed IDispatch pointer to IXMLDocument or something like that. I dont know whose IDispatch interface you have, but have you looked at IXMLDOMDocument of MSXML http://windowssdk.msdn.microsoft.com/en-us/library/ms756987.aspx If the IDispatch interface is of that object, you could just call QueryInterface for the required interface. ...Show All

  • SQL Server Default SqlServer database creation path

    Hi, How can i get default sql server(2005) database creation path using Tsql/ or system stored procedure in previous(2000) i used undocumented sp(sp_MSget_setup_paths) to doing this. Thanks Dishan If you have the default location for your database files, the script will not return anything. Open SQL Server Management Studio, in the Object Explorer right click your instance name and select Properties. Select Database Settings page and change temporary the database default locations for data and log. And then run the script again. To revert back use the same procedure and delete the path you've entered for the database default locations. That will remove the registry entries. ...Show All

  • Visual Studio Team System Index was outside the bounds of the array using WorkItemStore

    I've got a major problem with VSTS and everything that interacts with the Work Item Store (including creating new projects, running work item queries, creating new work items, etc.) generates a: Index was outside the bounds of the array. message within Visual Studio 2005. This problem isn't restricted to Visual Studio and also occurs if you try and interact directly with the WorkItemStore API. Here are the details from WinDbg if they are of any help: 0:000> !pe Exception object: 01e540b0 Exception type: Microsoft.TeamFoundation.WorkItemTracking.Client.UnexpectedErrorException Message: Cannot complete the operation. An unexpected error occurred. InnerException: Microsoft.TeamFoundation.WorkItemTracking.Client.ClientE ...Show All

  • Visual Studio Team System TF53010 An unexpected exception occured while calculating code churn

    I am trying to figure out why warehouse processing is failing. I turned on logging in the web.config before using the controller service and getting the errors below. Does anyone know how to go about fixing this Even if it means manually deleting offending rows in the database itself [DW] [Info, PID 16004, TID 16864, 18:04:42.898] Microsoft.TeamFoundation.VersionControl.Adapter: Calculating differences. Previous: changeset 85, item $/ {sanitized} , encoding 65001. Current: changeset 574, item $/ {sanitized} , encoding 65001. [DW] [Info, PID 16004, TID 13440, 18:05:25.962] Microsoft.TeamFoundation.VersionControl.Adapter: The adapter has been requested to stop. [DW] [Error, PID 16004, TID 16864, 18:05:26.312] Microsoft.TeamFoundati ...Show All

  • SQL Server Data Mirroring Vs. Log Shipping Vs. Replication

    Hi everyboby, Can anybody tell me the differences, advantages and disadvantages between these three solutions When do I may use one or another Could you recommend me any documentation Thanks a lot, Radamante71. This white paper ( http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx#EVKAG ) also has a section that compares different high availability options in SQL 2005. ...Show All

  • Windows Search Technologies WDS 3.0 w/ Outlook 2007 Beta - won't return results in cached mode, does when online.

    Hi, I have been fighting WDS 3.0/Outlook 2007 for a good while now. I started with Outlook and BCM loaded, but have uninstalled BCM and re-installed Outlook alone with WDS 3.0. Everything seems fine, but my searches return no results. On a whim, the other day, I turned off "use Exchange in cached mode" and voila, WDS started returning results! This is repeatable. I turn on caching, WDS does not return results. I turn off caching, it does. I do not use a .pst file, but rather keep all my information on the Exchange Server. I wonder if it has something to do with either an Exchange Server setting, or something to do with my .ost (offline folder) file. Anyway, I wonder if others that are having trouble getting WDS to ret ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Animated Meshes in XNA

    Well, I finally did it... I got skeletal animation working in XNA. It's only missing two small pieces now. 1) Blending between multiple bones. 2) Direct manipulation of the bones. I'll be cleaning up the code to try and give some more source code away. Although I don't know how successful I will be due to the fact I had to use my own proprietary format to get all of this working and I don't know how difficult it would be supporting that as well as the mesh code. Plus theres that whole thing about it being obsolete once the content pipeline is released. Visit my blog for some video. http://kukyona.blogspot.com/ Nah, that's cool. It looks pretty sweet so far. Any chance you'll add support for animation bl ...Show All

  • Visual Basic Listboxs with multicolored items

    I've got an application that will add action items to a listbox. Some of the items are higher priority (Red) and others are not (Yellow). Is there a way to put both colors into a listbox You'll have to owner draw a standard listbox. Here's a link that describes how to do it in C# but if you Google around for it you might find a version in VB. Other alternatives would be to use a 3rd party list box that has this feature or use Treeview or Listview controls if either of them will work for the look and feel you want. ...Show All

©2008 Software Development Network