FRENFR's Q&A profile
Visual Studio Team System Can TFSBuild run different targets the way MSBuild can
I am new to TFSBuild and now have a basic, automated build working for my project. The next step is to be able to add a couple of targets to the project file and run those at different schedules. It may be that one of the targets builds the project in Debug mode and the other builds it in Release mode. In MSBuild, I could do this by adding the "/t:" switch, followed by the name of the Target. Can I do this with TFSBuild Perhaps I am barking up the wrong tree and would be better to create more Build Types. My set up is that I have Team VSS on one server and a seperate Build Server with Team Services installed. Thanks in advance for your help, Gordon That could certainly work. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. ... VB.net 3D Level editor for XNA .. Tridex .... Beta 1
Hi, I have good news for VB.NET developers any ways, I have used XNA 1.0 extensively and have converted a 3D lever editor tool I am calling Leveler 3D to XNA , here is the demo of the old direct x version: http://www.tridexconsultants.co.uk/pages/DirectxLevler3D.htm Details: 1. Drag drop Xna files (Textures and Meshes) 2 Extensive Maths classes, trigonometry, Vector, Matrix, Planes, Spheres, Bounding etc. (Many More) 3. Extensive animation tools 4. Fast load save levels (XNA is brilliant at compressing X files!!!! 5 Fully Serialized scenes 6.Mouse click selection of games objects 7. Animation (Curves, Circle, Path, Waypoints, Interpolators etc... 8. Lighting (Curr ...Show All
SQL Server SQL Mobile for Palm OS?
I am going to buy a PDA but I don't know which one. I need to use SQL Server CE. Can I use this with a palm operating system Does it have to be windows mobile If so, what version of windows mobile Thanks so much Yes, it has to be Windows Mobile device, Palm OS is not supported by SQL CE. You can get Windows Mobile 5.0 or Windows Mobile 2003 Pocket PC device. Last one is obsolete and not recommended, but it is supported by SQL CE. If you prefer devices made by Palm, you can get Treo 700w/700wx/750, they all run Windows Mobile 5.0 for Pocket PC. ...Show All
.NET Development Detect Console / Win app
Is there a way to detect from a dll what was the calling ontext Was it console app or win app Thanks Avi I thought of another way, looking at the properties of the EXE's main window. Specifically the class name. If it is a console mode program, the main window's class name is "ConsoleWindowClass". I'm not sure how reliable that is but it is nice and quick: <DllImport("user32.dll", SetLastError:=True)> _ Private Function RealGetWindowClass(ByVal hWnd As IntPtr, _ ByVal lpString As StringBuilder, _ ByVal nMaxCount As Integer) As Integer End Function Public Function IsConsoleApp() As Boolean Dim proc As Process ...Show All
Visual Basic MAKING .NET CONTROLS - OCX VB6 COMPLIANT
Hi all, I have to create a .NET control. It have to run in a vb6 app. I'd like to use it like a standard OCX control. I've found in the net that it's possible. there's anyone who can tell me in which way I can do it It's simple: have a .net control and import it in a VB6 controls list by "add control". and have it working right. Dario TIA for any suggestion! This will be explained in the upcoming release, but here's the short answer. (this is assuming you are using what Jon described in the post above -> the template you can download) You have to specifically expose any events that you care about. Say you want to expose the usercontrol click event. To do this, ...Show All
Commerce Server Product Sorting
I'm working on Browse.aspx from the starter site and I want to implement sorting functionality based on the column header in the GridView. I know the productList control uses the ProductFilterDataSource control to get it's data and ProductFilterDataSource inherits from CatalogDataSource. I think I've done everything correctly, but the error I keep getting is " The data source does not support sorting. " Anyone have any ideas or guidelines I should be following to get this working Thanks, Brad Hi Joe, Thanks for the input. I had gotten that far and was attempting to handle the onsorting event to get bi-directional sorting working. That's actually when I got the error I originally posted about. I' ...Show All
Visual Studio 2008 (Pre-release) BindingOperations.GetDefaultView not there anymore.
Hi there. I'm trying to implement a binding sample from the book "Programming Windows Presentaion Foundation" by Chris Sells & Ian Griffiths. People people = (People) this.FindResource("Family"); ICollectionView view = BindingOperations.GetDefaultView(people); Person person = (Person) view.CurrentItem; The People object implements List<Person> However, the GetDefaultView method is not to be found in the BindingOperations class anymore. So how do I get the Person who is representing the currentitem try CollectionViewSource . GetDefaultView ...Show All
Windows Forms MdiWindiwListItem
Hi, I have an MDI Form MDIParent1 and a Child Forrm MDIChild1. In certain condition I disable the possibility the close the MDIChild1 by doing an e.cancel on the MDIChild1. FormClosing() event Now so far so good. But when MDIChild1 lost the focus after A close have been cancelled, then it disappear from the MdiWindiwListItem. Thak you for your assistance. ...Show All
Visual Studio Matrix SubTotal Question
Hi there. I have read all of the Matrix subtotal posts but didn't see anything associated with this issue... I am trying to mimic an existing MS Excel report in the ReportViewer that has data that looks like this: A single Relinquished Property and 1 to many Replacement Properties For each of these properties, there are various closing cost descriptions and amounts... All is well and good so far and fits nicely into a matrix control... until I noticed that the Total column on the right is only for the replacement properties! Is there a way to do a subtotal only on everything except the left most column or something of the sort Thanks, Mike Here is a small sample of my dataset an ...Show All
Visual Studio 2008 (Pre-release) Debug spew from WPF
Having just installed the June CTP, I noticed that some of my code is generating a TON of debug "spew" regarding Freezable objects ("Warning: 4 : CanFreeze is returning false because ..."). I know others have seen this as well, because there are several other postings to this effect. I also still get a fair amount of spew regarding my Bindings ... typically having to do with the Binding Source being null at the point the Binding is applied. This problem is usually short-lived in nature, as the Binding Source is usually resolved to some non-null value not too long thereafter. I actually have TWO comments which are strongly related: (1) This sort of debug spew is incredibly annoying as it can obscure my OWN ...Show All
SQL Server SQL Server 2005 - Scheduled jobs stop working
Our system is using SQL Server 2005 SP1 running under Windows 2003 Server and database mirroring are adopted. Howerver, recently, we discovered that the all scheduled jobs in SQL Server stopped working suddently. The jobs had no errors and the SQL Server Agent was still running. All just fine but no jobs were working and they just like sleeping in SQL Server. Even database mirroring monitor job stopped running and it should run every two minutes. It is very annoying. Why this happen and how to fix it Thanks. Hi admindba, Local System Account won’t be able to access any network ressources. I alsways use a domain account, because this can be priviliged within the domain for any ressources. The startin ...Show All
.NET Development How to use IDataAdapter ??
DataSet ds = new DataSet (); try { IDbCommand fieldCheck = connection.CreateCommand(); fieldCheck.CommandText = "DatabaseFieldCheck" ; fieldCheck.CommandType = CommandType .StoredProcedure; //Add Parameters //Table Name IDataParameter tableN = fieldCheck.CreateParameter(); tableN.ParameterName = "@tableName" ; tableN.DbType = DbType .String; tableN.Value = tableName; fieldCheck.Parameters.Add(tableN); //Table Field IDataParameter tableF = fieldCheck.CreateParameter(); tableF.ParameterName = "@fieldName" ; tableF.DbType = DbType .String; tableF.Value = tableField; fieldCheck.Parameters.Add(tableF); //Pass the value IDat ...Show All
SQL Server Connecting on one remote computer but not the other on sql server 2005
I am unable to connect to a remote server on Computer A from Computer B, but when I reverse it I am able to connect to a remote server on computer B from computer A. I have SQL Server 2005 Developer Edition on both computers. I am using the using the SQL Management Studio to connect. Both Computers have these settings Using Surface Area Configuration both have local and remote connections checked. Both computers using tcp/ip only checked. Using Configuration Manager both the sql server and the sql browser are running. Both computers have tcp/ip protocols enabled. Under the server properties on both computers, under the Security Tab, I have SQL Server and Windows Authentication Mode checked. Under the Connections tab I have Allow r ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Quake XNA update
Since the XNA 1.0 release I have been quite busy at first trying to run stuff on my XBOX360 and then doing the jump to a fully working port of Quake (best deathmatch ever!) So after 3 week of hard part time work on this I can now see something that look not too bad =) The lightmaps still have issues but I'm quite happy of the result so far. Before starting I had a good knowledge of C# but I my C/C++ skill are still far behind but enough to understand what the Quake code was about in most case. This is my first 3d engine ever but in RL I'm an animation TD for a major game publisher, meaning that I do understand quite well what I had to do and how to do it. So far I'm having a really good time using this and I don't have much to complain abo ...Show All
.NET Development Multiple async calls to 2 different web service methods
Hi all I have a web service, one of the methods takes around 5-10 mins to execute, so I call this asynchronously, which is fine, however, I want to call another method on the web service called GetStatus every 5 seconds or so in order to obtain the status of the initial method call. How can this be achieved Thanks Kev Create a session-bound service. Create a static/shared <Guid,object> lookup table (hash table) in your service. To establish the session, you will first have to make a non-blocking call so that your client has the appropriate cookie in hands to go back to the right state bucket. In that call, create a Guid, and stick that Guid with some lookup name (eg. "WorkRef") into se ...Show All
