OmegaMan's Q&A profile
Software Development for Windows Vista Wierd IQualityControl problem. Help!!!
Well, I posted this to the mailing list last week and got no response, so I am going to run it up this flag pole. We are having a really strange problem with one of our filters. We are trying to implement IQuality control in a source filter but when it compiles/links it pulls in the GUID of the IAS Network Access Policy version of IQualityControl instead of the DirectShow version. However, another of our filters, a derivative of Infinite Pin Tee, pulls in the correct GUID definition. I can't find anywhere in the PSDK include files where the IAS NAP IQualityControl GUID/interface is defined, nor can I find any documentation in MSDN about that interface. I only found a few obscure references via Google that that interface even exists. But I ...Show All
SQL Server How to run SQL Server Exp 2005
Dear friends I have installed SQL Server Express Edition (55 mb). Program >> Start >> MS SQL Server 2005 >> Configuration Tool ... this is what being displayed. This is my first use of MS Sql Server, before this I was using Oracle and after installation one could see Sql Plus from where the user can log in. I am confused how to start SQL Server Expr 2005 edition and try some sql. Please help me out.. Have a nice day Ramniklal Yo have to download a graphical management tool as a separate download: http://go.microsoft.com/fwlink/ LinkId=64064 -- SvenC ...Show All
Software Development for Windows Vista Unable to set default folder to custom namespace using clsid as parameter to open file dialog
Hi, I'm using VC6/MFC. The following code CFileDialog dlg(TRUE) ; dlg.m_ofn.lpstrInitialDir = "::{<clsid>}" ; dlg.DoModal() ; where <clsid> is the id of a shell namespace (e.g. Recycle Bin is {645FF040-5081-101B-9F08-00AA002F954E}) allows an app to set the initial dir for a file dialog to a special folder or a custom namespace extension (though I can't find this documented anywhere). This works fine on Win2k, 2003, and XP (and, indeed, 9x) On Vista RC2, no matter which namespace clsid is given, the dialog always opens at Documents. I haven't been able to test on the RTM version of Vista. I need to make it use my namespace extension as the default dir. So, my questions are: 1) Is this still broken on the released versi ...Show All
Visual Studio Team System Team Explorer connecting to the wrong hostname?
Hi Guys, I've installed VSTS to a rack server we are renting from a hosting company. The computer name was assigned to us with some internal name used by the hosting company. We have configured DNS etc. etc. on the box such that for all intents and purposes it appears on the web as a normally resolving internet hostname. However, when I attempt to add a New Team Project through Visual Studio to the VSTF Server, it seems to be putting this onto an incorrect web address. So instead of the site being http://www.something.com/sites/ProjectName it is being added as http://servername/sites/ProjectName , where servername is the name assigned by the hosting company, and as such does not resolve over the web. It fails stating that it cannot connect ...Show All
SQL Server Yet another question on Application security....
Ok, i have read a few articles regarding application security and it sems to me the Microsoft just doesn't get it. As others have posted, Vendor packages are not normally controlled by the IT staff... they do what they do. When an application is used for mission critical data, it becomes important to lock down that data as best as it can be under the limits of that application. Yet what is often lacking in a vendor package is thought about what opening up the database means. We are using a Vendor package that does not allow for application security to be set. In other words, it uses windows authentication to grant Database access. As many others here have noted, this opens the database to manipulation via any other tool the user has ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Official List of Features and Limitations of the various Pixel Shader versions?
Does anyone know of an official list of features and limitations for the different Vertex Shader and Pixel Shader versions (1.1, 2.0, 3.0, etc) I couldn't find anything on the Microsoft or nVidia web sites or on the web. I don't even know for sure who governs these standards. Thanks to both of you for replying. I did look at the HLSL reference and programming guide but they don't have a comprehensive list. There are just scattered bits that mention different limitations of different versions. That Wikipedia chart is exactly what is needed... thanks Kyle. However, I really feel that Microsoft should make a similar chart to make it official. Also, the Wikipedia chart doesn't show anything for version 1.x ...Show All
SQL Server Left outer join query?
Hello all, I am stuck in a bit of a mess, and i really don't know how to get out of it. I am a dot.net developer, working with MS SQL server 2000. I am trying to write a query which essentially gives the amount of stock available for a particular stock_code. select Stock_code, description from stock Now what i want to do is, for each one of the stock_code that apears in the table above i want to look into another table called pop_item, and get the closest delivery_date for that particular stock_code. So i have top 1 and order it by delivery_date desc. Individually for a particular stock_code, i can do this no problem. And here is my code for stock_code='E0016/6' select top 1 stock_code, delivery_date, order_number,qt ...Show All
Visual Basic Drawing Lines Inside a RichTextBox?
Is it possible to draw/paint lines under text within a RTB control I have designed a custom control for use with another App that I’m working on and would like the RTB to look like a note pad (with lines). I’m really not sure how to go about this so any pointers or sample code would be much appreciated – If its even possible that is. Cheers. its some work but it can be done...here is a samp[le showing how to draw a single line... Dim LinePen As Pen Dim MeGraphics As Graphics Private Sub Form1_Load ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Me . Load LinePen = New Pen ( SolidBrush , 1) MeGrap ...Show All
Microsoft ISV Community Center Forums Error handling problem
Hi - i have an end of month routine that will run - however it brings up error 3021: no current record. this occurs if the user presses the command button where they have not entered any activity that is greater than the 'datelastsubmitted' date because the form loads with the following code: Private Sub Form_Load() Me!officer.SetFocus officer.Value = loginname Me.submit.Enabled = False Dim rsdbase As Database Dim rstemp As Recordset Set rsdbase = CurrentDb Set rstemp = rsdbase.OpenRecordset("SELECT SUM(activityhours)AS [availablehours] FROM [qryavailablehours]WHERE [loginname] ='" & CStr(Me.officer.Value) & "'") With rstemp .MoveFirst Me.availablehours = Format(Nz(!availablehours, ...Show All
Visual Studio 2008 (Pre-release) A form with a 1000 text boxes, help required.
I have created a form with the new vs.net 2005 tools for rc1, and put a 1000 text boxes there. A ran the application, and the form opened (it took the form couple of seconds to render itself). Now moving the form on the screen (not resizing it), just moving it, takes 100% cpu, and it is very slow. I know what I wrote is just very basic, and there is a better way to do things in WPF, can you please point mo to any example that has a form with lots of controls over it The form must open instantly, render whatever is on the screen, and render the rest when I scroll the contents. Any examples It is not just a 1000 controls, it is a large form that looks like a d ...Show All
Windows Forms DataGridView frustration
I have been searching for the past couple of days for articles on the CheckBox in a DataGridView and I haven't found anything that is remotely helpful (at least to me). I want to allow the user to check the CheckBox in the first cell of a row. Then, when a button is clicked, I want the app t loop thru the rows in the GridView and when a CheckBox has a value of checked, the code will update the values of two other cells in that row. I hit the "last straw" when I went to this site (MSDN) and thought I had finally found a solution. But nope, the C# example shows how to perform a foreach loop on the rows of a DataGridView control http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridviewrow(VS.80).aspx So ...Show All
SQL Server Javascript Error When trying url access
Hi, i have a problem with the rs 2005, using url access to call a report: --------------------------- Error --------------------------- Error: 'RSClientController' is undefined Calling a report from the reportmanager works. The rs2005 runs on a machine with a parallel installed rs2000. I configured the virtual directory to machinename/reports2005 & machinename/reportserver2005. When i debug the clientscript i see that he requests a "/ReportServer2005/Reserved.ReportViewerWebControl.axd OpType=Resource&Version=9.00.1399.00&Name=Scripts.ReportViewer.js" and it seems that he doesn't get the jscript file. I tried the solution with the axd-mapping, which an user posted here before but it didn't worked for ...Show All
Visual Basic CheckBox Service control (VB, VS 05)
I decided to try and expand my project, I now wish to have the (current, I'm adding more as I find out which aren't required ) two processes here's a brief on what stage the additions are at. I have added 4 check boxes named; SpoolCheck1 SpoolCheck2 MDMCheck1 MDMCheck2 (more will be added as I find out more that can be stopped) and two command buttons named; StopCheckedButton StartCheckedButton I would like to 'link' the check boxes to the command buttons, but the checkboxes job (when checked, then clicking the start/stop command buttons) is to start/stop the selected program/process, in this case spool and mdm. I have these codes for starting and stopping the processes and return a message if there is a problem. ...Show All
Silverlight (formerly WPF/E) 3d
is there a simple xaml sample of getting started in 3d, I do not want to use any 3d software to output the 3d. A simple box shape and camera viewport would do for starters. Any urls or demos, just cant find any googling it. Richard You probably want to head over to the WPF forums, since 3D isn't supported by the current version of WPF/E. However, I found this blog post to be a good intro to 3D in WPF: http://blogs.msdn.com/danlehen/archive/2005/11/06/489627.aspx ...Show All
.NET Development Not updating database
I have an application that contains a listbox and a text box. the list box obtains information from database table accounts.acctnm with a primary key 1-32. when i hit seems to update the dataset but if i exit and get back in everything is back to default Private Sub Manage_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'TODO: This line of code loads data into the 'KeoFlexDataSet.Accounts' table. You can move, or remove it, as needed. AccountsTableAdapter1.Fill(KeoFlexDataSet1.Accounts) End Sub Private Sub DeleteButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DeleteButton.Click AccountsBindingSource1.EndEdit() ...Show All
