Dinesh Patel's Q&A profile
Software Development for Windows Vista Best Way to Enumerate Video Decoders?
I am looking for the best way to enumerate the video decoders on a particular machine, but am unclear about best way to do this is. As far as I can tell there is no straightforward way to get a list of "decoders" using ICreateDevEnum::CreateClassEnumerator. Also, using DMOEnum with DMOCATEGORY_VIDEO_DECODER only gives me back the list of DMO decoders on my system: Mpeg4s Decoder DMO WMV Screen decoder DMO WMVideo Decoder DMO Mpeg43 Decoder DMO Mpeg4 Decoder DMO Windows Media Player's Help->About->Troubleshooting info gives the following list: Cinepak Codec by Radius IndeoR video 5.10 Intel 4:2:0 Video V2.50 Intel Indeo(R) Video R3.2 Intel IndeoR Video 4.5 Intel IYUV codec Microsoft H.261 Video ...Show All
SQL Server Can't connect to Reporting Services using Microsoft SQL Server Management Studio
When I try to connect to the Reporting Services using Microsoft SQL Server Management Studio, the following error message propmpts up: _____________________________________________________________ ADDITIONAL INFORMATION: The request failed with HTTP status 401: Unauthorized. (Microsoft.SqlServer.Management.UI.RSClient) _____________________________________________________________ Is there any settings that I need to do in the "Reporting Services Configuration Manager" Thanks. Best regards, Michael Wu ...Show All
Smart Device Development Backup cemail.vol
Hello everyone! I need to backup/copy my cemail.vol.....how i can do this I trying to copy my cemail.vol...but i give a "IOException". help me please.... Nothing to do!! I have killed poutlook.exe process and i have same exception, so i have killed also tmail.exe and pMSNServer.exe...but without success. :-( ...Show All
SQL Server SQL2005 Data Import Error, Unicode data is odd byte size for column <n>. Should be even byte size
Hi, I have a problem importing data from SQL Server 2000 'text' columns to SQL Server 2005 nvarchar(max) columns. I get the following error when encountering a transfer of any column that matches the above. The error is copied below, Any help on this greatly appreciated... ERROR : errorCode=-1071636471 description=An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Unicode data is odd byte size for column 3. Should be even byte size.". helpFile=dtsmsg.rll helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC} (Microsoft.SqlServer.DtsTransferProvider) Many thanks Hello again I can ...Show All
Visual Studio Express Editions Calculate columns?
Can anyone show me a quick way to calculate column amounts into a total column without using expressions in the column (computed column) because i can't fill the datagrid with the values if it is a computed column i would like to calculate every time the cell is updated cellvaluechanged event or cellendedit event i can run code to select each row and calculate the values in databound textboxes but i would like to have it calculate without sellecting and scrolling through my entire grid. "behind the scenes" maybe a for each statement i'm just not sure where to go. Thanks in advance. ...Show All
Visual Studio Express Editions Allowing the user of your application to import their own files
Ok, this is something totally new to me. I've not delved into this with VB at all. Here's a summary of what I want to do. I want to create a flash card application for a teacher. The program itself simply displays information and the student must respond to the information. To check their answer, the "reveal" the back of the card. Similar in concept to normal flash cards. However, I want this application to be as flexible as possible. I want the teacher to be able to IMPORT an ASCII text file from within my application. So, my question is what's considered "best practice" when programming something like this Additionally, what would you suggest for references in finding sample code to experiment with and ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Protection level to high
I have made a game with 2 classes one for the game, and one for the sky box. For the skybox to function properly the class SkyBox needs to get some information from the Gam1 class. When i made a reference on the skybox class to the game1 class it said "Error 1 'Game1.modelRotation' is inaccessible due to its protection level" case 0: //back f = Vector3 .Dot(Game1.modelRotation, new Vector3 (0,0,1)); break ; I think the solution may be to make an instance of game1 somehow but being a C# noob i am unsure on how to fix this. If anyones got any ideas that would be great You need to add a modifier to the member declarations. Here is an example that should help: GraphicsDev ...Show All
Visual Studio 2008 (Pre-release) Binding and RichTextBox
i wonder if i can binding in RichTextBox. i didnot find any suitable property for binding. i can get binary data from database and set to RichTextBox manually but cannot binding. if anyone know, please share your knowledge. thanks so much. I'm unable to bind to the Text property of a Run, since it's not a dependency property. I alos cannot find a suitable DependencyProperty in its ancestors. Is there no way to bind my Inlines to a data source ...Show All
SQL Server SQL Native Client automatic failover only works when both servers are plugged in
I have setup a database mirroring session with witness - MachineA is the principal, MachineB is the mirror, and MachineC is the witness. Each SQL Server instance is hosted on its own machine. The mirroring is working correctly. If I submit data to the database on MachineA, and then unplug the network cable on MachineA, MachineB automatically becomes the principal, and I can see the data that I originally submitted to MachineA on MachineB. All the settings are showing correctly in Management Studio. My issue is with the SQL Native Client and a front-end application that needs to make use of this database. I have setup my front-end application to use the ODBC client and specified the failover server in both the ODBC setup and the connecti ...Show All
Visual Studio Team System Error unshelving changes (SQL error 208) ---> Invalid object name 'func_CheckForMergeFailure'
Hi, We're getting the following error attempting to unshelve changes in TFS Source: A database error occurred (SQL error 208) ---> Invalid object name 'func_CheckForMergeFailure' When I look in the TFSVersionControl db this function does not exist and I cannot find it in any of the other TFS databases. It looks like it was not created during install. I cannot find any information on this problem anywhere! Where should this function be Is there any way of creating it without rerunning the installer as it is a live server. Is this error caused by another problem All other source control functions in Team work perfectly. Any help appreciated. thanks James. James, Your best option here ...Show All
Visual Studio Source control issues when converting 2003 solution to 2005 (ClearCase)
I'm trying to convert a Visual Studio 2003 solution to 2005. The project is a Windows Application and I'm using ClearCase for source control. I made it through the conversion process after getting through a few hickups, but now I'm stuck. VS2005 treats most of the converted projects and the files contained within those projects as though they're not under source control, even though they actually are. Within my solution, there are 12 projects. When viewing the Solution Explorer, only one project and its contents are recognized as being under source control. Check in/out, etc. commands work as expected for these files. For the 11 other projects, the files can be editted without first checking out through VS, but attempts to save fail since ...Show All
SQL Server How to perform my task?
What i want: Receive files from remote server every 8 hours daily,and if these files are all created during this period ,then execute next step My thought: I can receive files using FTP Task and i can set up job from Sql Agent but how can i say whether these files are new or old Any idea Thanks I was just reading around and I found something that talks about knowing how old a file is...it may be interesting for you: http://www.sqljunkies.com/WebLog/tpagel/archive/2005/08/05/16342.aspx Rafael Salas ...Show All
Smart Device Development SmartPhone (WM5) Regestry Lock
I work in a software company and we have an application that should run on smartphones (WM5). Several of the devices we got, are locked for registry editing. Where can I find help in unlocking those devices (and I don't mean finding cracks on the net :-) Thanks, Rotem Find more info on how to join the Mobile2Market here: http://msdn.microsoft.com/windowsmobile/partners/mobile2market/participatevendors.aspx Most mobile operators do have the privileged and the unprivileged certs on their devices. One your app is signed, it sould work on all devices with the Mobile2Market certs installed. See more here: http://msdn.microsoft.com/windowsmobile/partners/mobile2market/smartphoneapps/default.aspx ...Show All
Visual Basic Another class design issue
Hi, The interaction of related objects are kind of puzzling me. Here goes: I have the foll class Public Class Cusomer private _id as integer private _name as string Public Property ID as Integer Get Return _id as Integer End Get Set (ByVal value as Integer) _id = value End Set Public Property Name as String Get Return _name as String End Get Set (ByVal value as String) _name = value End Set End Property End Class My order class. I am not going in too many details as the orderline item Public Class Order Private _orderid as Integer Private _productid as integer Public Property OrderID as Integer Get Return _orderid as Integer End Get Set (ByVal valu ...Show All
Visual Studio 2008 (Pre-release) Problem with NTLM on IIS
Hi everyone! I began to investigate different security option of the WCF and found this problem: WCF is hosting on IIS. So I have no problems while there was Anonymous access. Then I restrict access only with integrated Windows security and since this i wasn't able to make my service work. So first time it responded with such error: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'. The problem seems to be clear: In Service and Client config's i set clientcredentialtype to Windows, then IIS responded generally the same error: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header receive ...Show All
