J Smith's Q&A profile
.NET Development How to track changes in object
hi, I have a function and a object created at runtime. The function takes object as an argument. I don't have control over structure of the object or script of the function. At execution time the functions changes some fields of the object based on some conditions in script. My question is, Is there any way to find the fields of object accessed for modification by the functio ...Show All
Visual Studio Team System TFS says KB913393 is not installed when it is
Hi, I am trying to install TFS on a single server running Windows 2003 R2. Setup reports that ASP.NET 2.0 QFE KB913393 needs to be installed. However, I have now installed KB913393 several times and it doesn't appear to make any difference. When I run the KB913393 setup I see a message asking if I want to install the Hotfix. I then see a Licence Agreement screen followed by a progress bar as something is installed. However, I don't see any ...Show All
Visual Basic VB Refactoring In Visual Studio 2005 Beta 1
Will Refactor! for Visual Basic 2005 Beta 2 also work with Visual Studio 2005 Beta 1 Or is it just for Visual Basic 2005 Beta 2 We (Developer Express) are focussing on supporting Beta 2, and when released the release edition. While we are not actively preventing the installation of Refactor! for VB2005 on Beta 1 installations, and there is annecdotal evidence that it works, we may have to break something ...Show All
Windows Forms MdiChildActivate Form Closing Event
MdiChildActivate Event Occurs when a MDI child form is activated or closed within an MDI application. Is there anyway that we can find that the event is raised by the child form closing event I found a solution by adding an close event to every child form that opens as following AddHandler form.FormClosed, AddressOf ClosedChild. And In the ClosedChild event I am able to do what I intend to do. Thanks ...Show All
Visual Studio Team System TFS Beta 3 Install Error 32000 w/ Report Server
Have repeatedly worked through many of the other issues posted here on this forum associated with installing Beta 3. It looked like it was finally going to complete the installation when it hit one final snag. Error 32000. The Commandline "C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Tools\creatds.exe /setup /install http://EDISVRDEV/ReportServer/ReportService.asmx TfsReportsDS "Data Source=EDISVRDEV;in ...Show All
SQL Server SELECT GROUP BY - T-SQL vs. MySQL
Hi, I have a problem to get the following query going which works fine in MySQL: SELECT MAX(id), col2, col3, col4 FROM mytable GROUP BY col3 So, what I want is to select the row with the highest ID from a group of rows with the same value in col3. How would that be done in T-SQL Thanks, Tom One way SELECT t1.ID, t1.col2, t1.col3, t1.col4 FROM (SELECT MAX(id) as MaxID, col3 FROM mytable GROUP BY col3) t2 joi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. need help with code from a book
Hi guys I have the Beginning 3D Game Programming book by Tom Miller In chapter 4 page 62, he says to put code in the OnCreateDevice method in listing 4.2 adding this code causes the program to crash, with the error being Failed to create Direct3D device public void OnCreateDevice(object sender, DeviceEventArgs e) { SurfaceDescription desc = e.BackBufferDescription; ExtendedMaterial[] mtrls; levelMesh = Mesh.FromFi ...Show All
Visual Studio Team System Stopping a Team Build
Hi, is it possible to stop a build that was started using Team Server Build Our build at the moments takes about 30 minutes and when I see it failing on the first solution / project I want to stop it then. Hope someone can help me. Graham Yes, that did it thanks. I have two servers, one is the team server, the other is the build server, I had to specify the TeamServer in the command not the build server. Thanks f ...Show All
SQL Server Page or File Restore - Warning Message
Hi, When testing out file or page level restores, I get the following message: The roll forward start point is now at log sequence number (LSN) 17000000031000001. Additional roll forward past LSN 17000000031800001 is required to complete the restore sequence. I've been restoring the full backup, and then the latest tail backup - so I'm not sure why I'm still getting this message Best Regards, Joe I am glad to ...Show All
Visual Studio How to guess if a VS 2005 project is a test project
Hi, Test projects is VS 2005 seem to have 2 type GUIDs, according to the saved project TestProject1.vbproj: ... <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids> ... Given a EnvDTE.Project, how can I guess if it is a test project Project.Kind seems to return {F184B08F-C81C-45F6-A57F-5ABD9991F28F}, which identifies a VB project. So, I assume ...Show All
.NET Development Exception Handling...
Hi all, I wonder how Exception is handled by .NET. here is my problem.. I've a .NET component(C# dll) and i'm using it in .NET clients.Now when an exception is thrown or an exception occurred in my component,the code where actually the exception occurs opens in the Client project and it shows my component class completely.This is really bad as you as it just exposes my component code. One thing is,when there is any exception occurred in Fram ...Show All
SQL Server Client tool Installation
How can I install client tool on my PC for SQL Server Mgmt Studio 2005 Client Tools are called "Workstation Components" and are the last of the options, after the servers, on the setup feature selection. ...Show All
Windows Forms Copy and Paste in Textbox
Hello guys! I'm new in using VB so please spare me if I'm asking a very stupid question I would like to be able to check my input in my text box and I'm able to do this inside the KeyPress event (I'm allowing only numbers as input). The problem is I can't check the iput when I do Copy (or Cut) and paste. In what event can I be able to do this I want to be able to check first if it is number before I allow Paste. Please help! ...Show All
.NET Development What is appropriate for this?
Hello, I currently need to make a "list" of paths to a file. What is appropriate for this kind of a list a database or something else Thank You very much Keehun Nam It really depends on what you want to do with the list. There are a number of formats and mediums for storage, each with advantages and disadvantages. It also depends on things like how many paths you need to store Will you be searching though them or using t ...Show All
SQL Server Creating relationships between 2 databases
Is it possible to create relationships and enforce constrains thereof between two fields with the same data type from 2 different databases ( i.e. 2 different .mdf files ) altogether, attached to an instance of SQL Server 2005 Express This would help overcome the limitation of the 4GB database size it imposes, by splitting the info required into different databases, rather than just different tables. All the relationships could be then created ...Show All
