qrli's Q&A profile
Software Development for Windows Vista DIFXAPP returns an undocumented veto type 11585144 when trying to stop a driver
Hi there, I'm using the Microsoft's DIFX merge module to install a driver in Vista, everything works fine, but sometimes when patching or reinstalling the MSI a reboot is required, the log file says: DIFXAPP: INFO: The Stopping of device 'ROOT\LEGACY_CSS_DVP\0000' was vetoed by 'ROOT\LEGACY_CSS_DVP\0000' (veto type 11585144) Does anyone know what this veto type mean - it is not documented in any Platform SDK I have and there is no information on MSDN... Thanks, Krassi ...Show All
Visual Studio 2008 (Pre-release) Modifying basicHTTPBinding on Client side
Hi Community, Has someone tried modifying the basicHTTPBinding on the client side Is it possible or I am thinking something non-standard thing What I think there should be a way to inherit and override what is already provided in basicHTTPBinding or in any other out of box binding. For example in the following code I am changing the IncludeTimeStamp to false. This may be the bad example in which the channels on the service side will not match. But idea is, what if the server side code is not WCF service. If the IncludeTimeStamp flag is not required on the server side but everything from basicHTTPBinding is required. using ( GetAddressClient proxy = new GetAddressClient ( "GetAddress" )) { try ...Show All
SQL Server b-tree structure.....
Can someone explain me or let me know the URL where I can find more details about b-tree structure. I am more intrested in the calculation that is done in one of the articles below. ---------------------------- Artcile ---------------------- With the 900 byte key, 8 rows can fit per database page. This means there will be 12500000 pages at the leaf level, 1562500 pages at the next level up in the b-tree and so on, giving a total of 12500000 + 1562500 + 195313 + 24415 + 3052 + 382 + 48 + 6 + 1 = 14285717 pages (including 1785717 to store the upper levels of the b-tree). -------------------------------------------------------------- How is 1562500 , 195313 , 24415 etc are calculated.... from 12500000 leaf pages. I have t ...Show All
Visual Studio Main report button
Hi, On my report is a button 'Main report'. It is in a down state. What is it for, and how do I get rid of it If I understood you well, then this will article will help you for sure. http://www.codeproject.com/useritems/CrystalHelper.asp df=100 Scroll down and check "Change the name of a tab" section. Also, source code is available. Regards, Marko Simic ...Show All
Visual Studio 2008 (Pre-release) Expression.CallVirtual problem ... string's "Contains" vs "Equals"
Hi guys, I found in a few forums how to use CallVirtual to generate Expression's and adding it to a list and later combines them using Expression.Or. Then use the 'Expression where = ...' and '...CreateQuery' to search from a list. In those examples, they used the string's "Contains" method. It's something like this ... myPropertyValue = "string_to_find"; ... expressionList.Add( Expression.CallVirtual( typeof(string).GetMethod("Contains"), Expression.Property(p, typeof(MyPropertyObject).GetProperty("MyPropertyName")), new Expression[] { Expression.Constant(myPropertyValue) } ) ...Show All
Visual Studio Team System Advice on managing Solution (.sln) files
Does anyone have any advice on how best to deal with Solution files in regards to source control Currently, we have one solution for the team that all team members use. This was fine when our project teams were 2 to 4 developers. The trouble is we have really ramped up and team sizes have increased to 5-15. With this increase it seems like we are having more and more troubles relating to our solution, especially, with team builds. I am thinking that I need to move to solution files as being personal and should not be checked into Source Control. Trouble with this, is how do you get new developers set up w/o a huge set-up. Furthermore, and much more importantly, how do you run nightly builds or any built-type at all. I'd love to h ...Show All
Visual Studio Visual Studio Developer News Start Page news channel URL
I recently installed Visual Studio 2005. My preferred language is C#. The Start Page initially displayed the message "The current news channel might not be valid or your Internet connection might be unavailable. To change the news channel, on the Tools menu click Options, then expand Environment and click Startup." All good stuff, but didn't help me get a valid Developer News connection. Unfortunately I tried to put in a URL from a microsoft website, overwriting the default URL. AND I didn't write down the default. So now I can't get Developer News and can't set the Start page news channel URL back to the original value. Anyone know the original value Here is the link mine is set to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream Although I’m a huge C++ fan but.. XNA will be using C#, DirectX is now shipped with many samples tutorials for managed frame work, and the bench mark between C++VS C# graphic applications isn’t noticeable even sometimes its better on C# with all that I guess its time to migrate from C++ to C#... ...Show All
.NET Development How to check .Net framework version of SERVER
i am developing an ASP.net project in 2005 using 2.0 it works locally but not on server when i upload a previous built project (that is of 2003 ver 1.1) at that place it works. so i want to know some technique through which i can check ver of .Net Framework Thanx in advance. This question has no relation to XML so next time try e.g. http://forums.asp.net/ . As for the .NET version used on the web server sometimes it is shown in the HTTP response headers so using a tool like http://web-sniffer.net/ can help, it would show headers like X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 You can also have a simple ASP.NET .aspx page output the .NET version information: <%@ Page Language="VB" %> <html lan ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DXUT - DXUTSetDevice
I am trying to use a device created by my application and using DXUTSetDevice(renderer->GetD3DDevice()) to set it. Inside the DXUTSetDevice (DXUT.cpp) function an attempt is made to get the presentation parameters from the swapchain through the getContainer function as follows. IDirect3DSwapChain9* pSwapChain = NULL; hr = pBackBuffer->GetContainer( IID_IDirect3DSwapChain9, (void**) &pSwapChain ); if( SUCCEEDED(hr) ) { pSwapChain->GetPresentParameters( &pDeviceSettings->pp ); SAFE_RELEASE( pSwapChain ); } The get container is returning E_FAIL and hence I the presentation params are not obtained. as a result pDeviceSettings->pp.Windowed remains 0. As a result the window is displayed as a popup without borders or c ...Show All
Windows Forms help with arrays
Can somebody help me understand arrays. How do you declare an array if you don't know how many elements are going to be in it, for example I thought the following code would work, but I get a null reference exception when I run it. Dim conns() As SqlConnection conns(0) = New SqlConnection("yadayadayada") conns(1) = New SqlConnection("blahblahblah") conns(2) = New SqlConnection("something") any advice on how to use arrays in a manner similar to this, or should I use another type of container Thanks, smtraber Here is an example in C#. Please see if this helps. List < SqlConnection > sConList = new List < SqlConnection >(); sConList.Add( new SqlConnection ( "yadayadayada& ...Show All
Visual Basic Unrecognized Database Format?
Hi, I am using VB2005 Express, and I was trying to access a database using: con.ConnectionString = "Provider=Microsoft.Jet.OleDb.4.0;Data Source = C:\Documents and Settings\Mike\My Documents\Visual Studio 2005\Projects\CAD\CAD\CADdb.mdf" con.Open() I made the database using VB's database thing (I guess ). However, when I try to run it, it says Unrecognized database format 'C:\Documents and Settings\Mike\My Documents\Visual Studio 2005\Projects\CAD\CAD\CADdb.mdf'. Any ideas Thanks! here is most of what I have: Imports System.Data.SqlClient Imports System.Data Then I have: Public Class frmcalltaking Dim inc As Integer Dim MaxRows As ...Show All
Visual Studio Express Editions cd writer supported media types
i know imapi does not support dvd writers......but i would like to be able to querry supported media types from a writer...... any suggestions on how to do this thanks.. wf what is a driver api lets not make this complicated........their is a simple solution,and when i find it i will post it...untill then ...... any other suggestions wf ...Show All
Visual Studio 0xc0000005 Error
I just installed Visual Studio Standard on a brand new machine. When I try to run any exe file in a bin folder of a project (or if I run the apllication from VS2005) I get the following error: The application failed to initialize properly (0xc0000005). Click on OK to terminate this application. Any ideas what may be casuing this what anti virus software are you running try disabling it for now and see if that helps. There have been alot of posts recently about certain AV software blocking installation and execution of .NET products/applications ...Show All
Visual C++ Text field question
Hi Folks; I have a text field that gets its contents from a SetDlgItemText call. The text goes beyond the length of my text field so I was wondering if anyone can point me to a list of flags so that I may allow the user to read to the end of the text field. Option one: make sure that Auto HScroll is set to true for the control. Option two: Set the Multiline , Horizontal Scroll and Vertical scroll properties to true. ...Show All
