Can not attach MDF from HDS LUN's Q&A profile
Audio and Video Development MF_MT_AUDIO_SAMPLES_PER_SECOND can't dynamic chage
I'm making audio decoder MFT and using AudioRenderer as a sink. I tried to dynamic chage MF_MT_AUDIO_SAMPLES_PER_SECOND. it didn't work. I tried to chage 44.1khz to 48khz. GetOutputAvailableType() was called and I set 48000to MF_MT_AUDIO_SAMPLES_PER_SECOND. after that SetOutputType() was called but MF_MT_AUDIO_SAMPLES_PER_SECOND was still set to 44100. I all so tried to dynamic chage MF_MT_AUDIO_NUM_CHANNELS 6 channels to 2 channedls and MF_MT_AUDIO_SAMPLES_PER_SECOND at same time. Channels and MF_MT_AUDIO_SAMPLES_PER_SECOND changed succesufly. How to dynamic chage MF_MT_AUDIO_SAMPLES_PER_SECOND with out chaging MF_MT_AUDIO_NUM_CHANNELS Thanks. kasumi The MF audio renderer doesn't ha ...Show All
Software Development for Windows Vista Distributed transactions with TransactionScope vs Oracle 9i
Hi at all, we are developing a smart-client application with VB.NET, framework 2.0, WCF, vs Oracle 9i (client 9.2.0.1.0) and we need to use distributed transactions, so we want to use the transaction scope class to build it. But we don't know if we could get problems when the transaction is distributed and we are working with this version of Oracle. Can anyone tell us if this version of database works well with this tecnology Do it has any particular trouble Can we just use it if the database would be SQL Server Thanks... ...Show All
Visual Basic Question on class inside an objet
hello. A question please. A have an objet toolstripitem. When I do a "watch" on it, I see all properties and a class called system.windows.forms.toolstripmenuitem. How can I access to this system.windows.forms.toolstripmenuitem class There are informations I need. Thanks... So you are seeing a list of ToolStripMenuItem objects within the Item property of the ToolStrip In order to actually access each ToolStripMenuItem you'll need to extract it and then convert it to the desired type as the Items references its contents as ToolStripItem s. ...Show All
SQL Server Failure to authendicate domain/users
I have several access databases in mind to migrate to SQL server. I installed MS SQL 2005 Express on my machine. I will have procedures to run with authorizations beyond that of a common user, such as database administrative work where server agent is not available, I may rely on users' log-on prompt to do some maintenance work. However, I cannot get the EXEC AS 'Domain\User' to work. The procedures can be created OK. But whenever they are called, the following message shows up: Msg 15404, Level 16, State 19, Procedure XXX, Line 0 Could not obtain information about Windows NT group/user 'Domain\User', error code 0xea. I tried to tweak with the account under which the server service is running. There are three options under built-in a ...Show All
Software Development for Windows Vista Problem to set the format of 2 videos in the VMR9
Hello, I want to play back two videos side by side with the VMR9 Filter in windowless mode. I connected the files to the VMR9, set IVMRWindowlessControl9::SetAspectRatioMode to VMR9ARMode_LetterBox and used IVMRMixerControl9::SetOutputRect to give the first video the left half and the second video the right half of the window. The videos are not show in their native aspect ratio, but streched to the hole width and height of the window. Is there a chance to see both videos in their nativ aspect ratio Thanks! Hi Rene, Can you use SetOutputRect to the correct aspect ratio, instead of one-half of the window Best regards, wtrn ...Show All
Software Development for Windows Vista AD (Active Directory) Roles
Maybe someone with experience can help me. I have always worked with applications that have managed their own security and the security model has always been "fine-grained" in that each object has a collection of possible permissions, several objects are "instance aware" in that permissions and filters may be based and set dependent on instance values. Furthermore, the roles are user-configurable. For example, let's say we have an application with a WorkOrder form. The form may have permissions for Add, Edit, Delete, View, Print, etc. Within the object, the valid values or permissions for Delete may be None, Own, Group, or Unrestricted. If the current user is assigned a Role where the permission for Delete is s ...Show All
SQL Server How to install Windows Application(C#) with SQLExpress in a system which is having SQLExpress already?
Hi All, I have created an installation application which will install the application with SQL Express and .NET Framework 2.0. If i install this application in a Fresh system(i.e which is not having SQL Express), it is installing the application with new database instance successfully. But if i try to install the same in a system which is already having SQL Express, throwing "Object reference exception" because it is not able to create the new database instance. Can anybody help me out . Regards, Doppalapudi. Hi, why don’t you use the already existing SQL Server Exress instance HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System Redistributing team system dll's
I have an application that references "Microsoft.TeamFoundation.WorkItemTracking.Controls.dll" but my application will not work unless I copy that dll to the directory where the application is being run. The end-user's machine has this dll on it, but my app doesn't recognize it. Is it legal for me to redistribute this dll with my application I noticed that it is not in the Redistributable folder that comes with the SDK. If I cannot redistribute it, is there any alternative for making my app work Thanks. Ok, I have installed Team Explorer, however it can't seem to find the dll. I tried changing the current working directory to the privateassemblies folder where this dll is, but I still keep get ...Show All
Windows Forms ListBox - Drag & Drop, dragging problem
Hi I have a ListBox control full of items. I've implemented the code for dragging (moving) one item around within the control. But now I want to have an "insertion separator" while dragging an item. With "insertion separator" I mean some kind of horizontal line between two items, where the new item is to be placed if dropping. Anyone Kind Regards Did you find solution to this I need to do the same. :) I heard, that ListView show separators automatically, but didn't try it yet. ...Show All
Windows Forms DataGridView Button click
Hello all, I have a Datagridview with some of the columns as buttons..I want to write a function when a particular button is clicked. Can anyone suggest which event I should use as there is no "click" event for normal buttons. Thanx in advance Private Sub MyDataGridView_CellEnter( ... ) Handles MyDataGridView.CellEnter Dim dgv As DataGridView = CType (sender, DataGridView) If dgv.Columns(e.ColumnIndex).Name = "Column1" Then MySub(e.RowIndex) End If End Sub Private Sub MySub( ByVal rowIndex As Integer ) Console.WriteLine( "blah blah blah at row " & rowIndex) End Sub ...Show All
Visual Studio 2008 (Pre-release) How to set mode Password for TextBox control?
I want to set TextBox to password mode (with * for each character). I can not find out how to implement this feature. Please help me... Thanks. the passwordbox doesnt support it.... You are really looking for a masked textbox which isnt supported in the current version. .. an alternative is to use the Winforms MaskedTextBox. ...Show All
Windows Forms FormBorderStyle question
I wanted to get rid of any frame around the form and set this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; Unfortunately, it made the form immobile as I can see. How to make it moving across the screen if I want to do it Thanks. BJohnson wrote: Try using the following code snippet: private const int WM_NCLBUTTONDOWN = 0xA1; private const int HTCAPTION = 0x2; [ DllImport( "user32.dll" ) ] public static extern bool ReleaseCapture(); [ DllImport( "user32.dll" ) ] public static extern int SendMessage( IntPtr hWnd, int Msg, int wParam, int lParam ); private void Form1_MouseDown( object sender, MouseEventArgs e ) { if ( e.Button == MouseButtons.Left ) { ReleaseCa ...Show All
Visual Studio Express Editions Fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
When I try to compile a win32 sample program, I get the 'fatal error C1083: Cannot open include file: 'windows.h': No such file or directory' error. I have installed and configured (even the step not in video) the most recent Platform SDK, but I still get this error! What is happening Thanks! What do you mean by this post The instructions on how to install the PSDK are given in the link you gave. Those are the instructions I followed. I do not have any explanation why the console application is working and the windows application is not. If I messed up somewhere please check the instructions you are reffering to, maybe these instructions are messy! Modeller ...Show All
Windows Forms Saving modified date
Hi What would be the best way to store the "last modified date" into my table when i store a record. What would you choose and why ...Show All
Visual Basic How access properties of images?
Hi Anyone know how access properties like "title" or "subject" or "author" from a file .jpg I have been trying use this Dim obFileVersionInfo As FileSystemInfo or As FileInfo but this way a just get the filename, ou datecreation... Anyone can help me Thanks Gustavo Check this webpage for the necessary voodoo... ...Show All
