Dave Gurr's Q&A profile
SQL Server Text Box Expression (condition to show or not show)
I have the following text box ="*Of which" & Format(Sum(Fields!ID.Value, "Footnoteall"),"c") & "is coded as "" 00 no applicable SIC Code" The report is driven off a SP that a has two paremeters (date,state), I have one state that when its chosen, I want the textbox to appear, when any of the other states are chosen I dont want the text box to appear. The selection is made using both a state and date, so just to clarify, when Wisconsin is choosen with any of the dates I want the textbox to appears, when any other state with any of the other dates are chosen I dont want the textbox to show up. Any help would be greatly appreciated. Almost there I think, what would cause t ...Show All
Visual Studio Team System Build Information Record
Hi, Is there is any way that we can store and retrieve the file names and it's respective version which went in to Specific executable build. I found that one way of doing it in TF is by using Labels associated during build process by Build server. But I find it has a potential problem , because Labels can be moved to new version or delete from a specific file version. Clearcase has a powerful auditing functionality (Configuration record) which records all the files and respective revision went in to build and which can't be edited accidentally.Do we have similar functionality in Team System Thanks In advance Pramod What you need is a VersionSpec for the files that went ...Show All
Visual Studio Express Editions How can I discover the Windows version?
I need to find the Windows Version (not using System.OSVersion), for Example "Windows Vista Basic Edition" as seen in My Computer (when you go to properties). I also want to collect the amount of RAM, HDD and other basic computer specifications. Where do I find all of this information You'll have to P/Invoke the new Vista API function GetProductInfo() . The other info you need is available from WMI. Play with WMI Code Creator to find the proper queries. ...Show All
Visual Studio Express Editions Directory listing in a list view?
Hi all, Directory listing in a list view - is it possible Im looking for a like windows explorer type thing, if possible.... Thanks, James. Hi, There is a sample windows form project and a related article at http://www.kodyaz.com/articles/article.aspx articleid=28 about how to populate a listview control with the contents of a file folder. Eralper ...Show All
Smart Device Development Migrating from ASP Web Service to WCF Service
Can anyone point me at resources or samples of how to access a WCF service from a Compact Framework 2.0 application As I understand it the WCF service has to use basicHttpBinding and that the Compact Framework 2.0 app accesses it as a asmx client. I'd really love to see some samples. Also, can anyone comment about problems or limitations they've run into in doing this Thanks! To expand on this, I'm really looking for help in a couple of areas. The first is simply the confirmation that I can access a WCF service from a Net CF 2.0 app, and any details that go with that. I'm looking for any sample code or discussion of exactly how to accomplish this. Second, I am wondering if the hosting environ ...Show All
SQL Server Installing SQL Server 2005 on Windows VISTA ULTIMATE
Hi, Trying to install SQL Server 2005 on Windows VISTA Ultimate, received following error: - SQL Server Edition Operating System Compatibility (Warning) Messages SQL Server Edition Operating System Compatibility Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online. Please help. Hi, You can install fresh / New copy of SQL 2005 as both MSDE and SQL 2005 Express can be installed on the same machine, how ever have you try Manual Un Installtion ! Refer below guidelines for the same: http://support.microsoft.com/kb/290991/ Hemantgiri S. Goswami ...Show All
Windows Live Developer Forums map.GetRoute flags and numbers
Hello everyone, I found map.DeleteAllPushpins(); removes the flags and numbers on the route path, is there any way I can prevent it Yuki Yuki Chen wrote: Thanks John , I call map.DeleteAllPushpins(); on the attach event onendzoom, as map.GetRoute zoom to the route, the pins on the route are deleted when map is zooming to the route. And I have a lot of other pins, I cant keeptrack of each of them and delete them one by one .. because it'll slow down a lot. And I also found that with map.DeleteAllPushpins(); onendzoom, if the view needs to zoom to show the route .. then the turning points are removed .. but if the view is good to show route .. then the pins are looking good .. but when you do map.De ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 360 Controller Image in a help context
Anyone know the legal issues around using an image of the 360 controller in the context of a help screen. IE: What buttons on the controller perform what actions in the game. This is a Windows game so I'm wondering if MS allows for that. Glenn, When I click on your link, it takes me to a Microsoft Connect 'Page not found' page. I see this a lot when trying to vote and I am currently logged into Passport. I think this problem may have been raised a number of times but I thought I would bring it to your attention. Thanks Andy ...Show All
Visual Basic When will Classic ASP be desupported?
When will classic ASP be desupported It looks like VS.NET 2005 doesn't work well with ASP, so will ASP be desupported when VS.NET 2003 is desupported Will this happen when the next version of VS.NET is released I would say that was probably a fair assumption of what will probably happen. I would say that most new development is ASP.NET, I cant see many people intentionally choosing ASP Classic as a new development platform but support for technology whether free or paid will probably go on for a long while yet. Its a shame some hold back onto old technologies for so long when newer much better technologies become available - MS have to provide some degree of support for this scenario and what eventually happens is that it beco ...Show All
.NET Development Connection Pooling questions
Does a connection pool exist on a per-application basis, or is is "global" to a machine If it is per-application, then what is the disadvantage of creating one SqlConnection object, and using that connection throughout an application I've read that keeping one connection open is a waste of resources, but if the connection pool is keeping the connection anyway, how am I saving resources by creating a new one in code each time I need one Obviously either everyone else has it wrong, or else I don't understand something. What am I missing Thanks, Kirk Hi boban.s, Just to clarify my own understanding of this and as I'm curious, suppose I have within an ASP.NET web app a connection string like th ...Show All
Visual Studio Team System Next MSSCCI Provider release
We are really being hurt by the issues with the TFS MSSCCI Provider when branching solutions and the bindings not being changed. See this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=405834&SiteID=1 Is there any ETA on when this will be available Would making a PSS call help or hinder Grant Grant, We are actively working on the branching issue in the MSSCCI provider. We hope to release the next MSSCCI provider by the end of the year or early in 2007. What environment (e.g. VS2003) and what type of projects are you using the TFS MSSCCI provider Ed http://blogs.msdn.com/edhintz ...Show All
Visual Basic MultiColumn Listbox(add item: Object Text, Object)
How do I add a new Listbox item where item1, column1 holds a TreeNode object text; item1, column2 holds a TreeNode object. The ListBox would display item1, column1(TreeNode object text) but hide item1, column2(TreeNode object). I have a TreeNode search procedure that stores the .Find TreeNode results (TreeNode object only at this point) in a ListBox. I want to store both the Node Text (column1) and Node object (column2) as one item in the ListBox but want the user to only see the Node text (column1). Then I want to make TreeView1.SelectedNode = Me.ListBox1.SelectedItem... and the TreeNode object (column2) - the actual TreeNode object returned from the .Find function. Thanx in advance! Why do you need two columns then if you ma ...Show All
Visual Studio Express Editions Getting an Error when I use the Backspace to clear a textbox
Hey all, When I test my code out, enter a number then backspace all the way back to the beginning i get an InnerException error. Here is the code that is throwing the error: Private Sub txtSequenceNumber_TextChanged( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles txtSequenceNumber.TextChanged Dim SequenceNumberSelect As Integer = CInt (txtSequenceNumber.Text) Sequence2 = SequenceNumberSelect End Sub Above this I have a keypress event that spots the backspace....but I still get an exception when I backspace and lcear out all the numbers. Thoughts, Ideas, Links Thanks Okay Here is the KeyPress Even ...Show All
Visual Studio Express Editions Adding datatable to dataset
Hey to one and all I made procedure in VS express to create tables in my access 2003 database. With the help of the dataset wizard, i made a dataset call "Customer_Dataset". The tables i created in my access 2003 database, i would like to add these to "customer_Dataset" without using the wizard. I tried doing the following programmatically.. Dim ordersTable As DataTable = Customer_Dataset.Tables.Add( "Orders" ) Dim pkOrderID As DataColumn = ordersTable.Columns.Add( _ "OrderID" , Type.GetType( "System.Int32" )) ordersTable.Columns.Add( "OrderQuantity" , Type.GetType( "System.Int32" )) ordersTable.Columns.Add( "CompanyName" , Type.Ge ...Show All
Visual C++ error: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
I got a sample code from MSDN ( http://msdn2.microsoft.com/en-us/library/aa382363.aspx ) I generate a Win32 console application project in VisualStudio 2005 and copy the code into my main.cpp. But when I compiled it, I got the following errors: 1>Compiling... 1>main.cpp 1>.\main.cpp(55) : error C2664: 'CertOpenSystemStoreW' : cannot convert parameter 2 from 'char [256]' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\main.cpp(103) : error C2664: 'CertGetNameStringW' : cannot convert parameter 5 from 'char [256]' to 'LPWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style ...Show All
