Caleb Sim's Q&A profile
Visual Studio Team System web deployment projects not working with team build
Hi - I have a solution with several web projects and web deployment projects, as well as a class library project. When we use Team Build to build the solution without the web deployment projects, everything works fine and the projects compile, but when we tell it to build the web deployment projects too, I get errors where the deployment projects can't find any of the code that it's supposed to deploy (several classes aren't defined, or msbuild can't find the files specified). When I look at the project files for the web deployment projects, it has the correct code path for the appropriate web project (i.e., ../ActualWebProject, not ../Inetp ...Show All
Windows Forms Binding a control, not a datagridview, and a datagridview's controls to a dataset???
Hi, I have a datagridview bound to a dataset. I'd like for a another control (not on the datagridview) to be able to bind to a cell in the dataset but for the currently selected row on the datagridview. Any ideas on how to do this Use a BindingSource class. Set it's datasource to be the same as the grid's. Set it's datamember to be same datamember as the grid but add ".field_name" (such as MyTable.SomeField). Set the control's datasource to be the BindingSource. ...Show All
.NET Development Query Access Mdb for Linked Table datasource?
I'm wondering if anyone knows a way to query an Access mdb file programmatically to extract the data source(s) it is using for its linked tables. I will be using this information in to make an ADO.NET connection (hence the choice of forum :D) What specifically in System.Data.Oledb What do you use to get at catalog information of the Access datatable (as opposed to schema information of in-memory oledb.datatable ) ...Show All
Visual C++ mfc70.dll not found :(
Gday when I used one of my programs it said I need MFC70.dll cause it was missing so I need a download link to download it. Thanks mfc70.dll is part of VS7.0. How did you build this application If you built it with VS7.0 then you will need the dll in the same location as you are running it. If somebody else built it then you need to contact the owner of the application. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual C++ missing msvcr70d.dll
Hi, I uninstalled VS .net 2002 and then installed VS .net 2003. I could successfully build my project in both debug and release modes. But when I try to run in debug mode, I get the following error. Unable to load library 'C:\tpapps\Rev4.0.0e2.1\lib_debug\iCOASIS.dll'. Dependency verification failed: File 'MSVCR70D.dll' not found in directories: ....list of included directories. I searched online for more information about this dll and found that it should be in c:\windows\system32 folder. I am running windows xp and there is no MSVCR70D.dll in c:\WINNT\system32 folder, but I found msvcr70.dll, msvcr71d.dll and MSVCR71.dll i ...Show All
SQL Server Conflict Management
Hi, I developed an ppc application, where i am using web service for synchronisation, but here i am getting lot of problem while handling conflict management. Please suggest me how to manage conflicts, using web service. Thank you, Prashant Perhaps the easiest way to ensure that the unit of work that each mobile client is performing is guaranteed unique and avoid conflicts at synch time is to assign each data row a uniqueidentifier or GUID as it's PK and introduce the concept of a last changed datetime so that any changes to a unique data row from more that one mobile user can be applied on the ...Show All
Smart Device Development VS2005 BETA2 mscorlib.dll problem
I am using vs2005 beta2 and developing smartphone application. when i using release mode build, i give this errors; build failed and "Error: Could not load file or assembly 'file:///c:\program files\microsoft visual studio 8\smartdevices\sdk\compactframework\1.0\windowsce\mscorlib.dll' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) " but if i using debug mode build or remove the web reference then i can see build succeeded. This is a know bug when you add a web reference to a V1 project, it would use sgen.exe to compile the project since the Generate serial ...Show All
.NET Development A Question on GC
I have a MDI program in which user can open different document and edit it. After several user use it, they report that it becomes more and more slow. So I watch the memory usage of it carefully and found a problem : it seems the memory is never released after a document is closed. I watch the memory cost in Tesk Manager, and found that whenever a document is opened, the memory cost increases. However, after the document is closed, the memory cost does not drop. When another document is opened, it cost more memory. I later realize that since the document is opened for a while, the objects it allocated have been moved to Generation 2. So ...Show All
Visual Studio Team System Branching is Broken - Severe SQL Error
About two weeks ago I was able to successfully create a feature branch off of our Main\Src directory. Last night I tried to help a co-worker create a different feature branch off of Main\Src. We tried from the VS 2005 UI and via the command line with no luck. Both ran for 15 minutes without completing. Finally we left the command line branch going all night and when we got back in this morning the following error message was displayed: C:\Foo\Branches\Feature>tf branch $/Foo/Main/Src $/Foo/Branches/Feature/XYZZY A database error occurred (SQL error 0) ---> A severe error occurred on the current command. The r ...Show All
SQL Server SMO Method Performance
I've run a series of performance tests on a test app that uses smo for creating sql server tables (including columns, indexes, triggers, and foreign keys) and stored procedures (including parameters). On a 2.7GHz machine with 512MB ram (both app and Sql Server running locally), the series of tests yielded the following results: Table.Create() 0.3 ==> 0.6 seconds PrimaryKeyIndex.Create() 0.7 ==> 0.9 seconds Trigger.Create() ~0.06 seconds StoredProcedure.Create() 0.12 ==> 0.14 seconds With creating a large number of tables/indexes/stored procedures in the app, I'm concerned about performance. Are there ways to quicke ...Show All
Windows Forms PRB - SplitContainerDesigner initialization throw exception.
Hallo all, i wrote a .NET windows forms editor working under framework 1.1. Now i tryed to use it under framework 2.0 and i found the "SplitContainerDesigner" throw an "Object reference not set to an instance of an object" exception if it is initialized. As you know .NET design time programming is complex, so i extract some lines of code out of my programm to demonstrate my problem: (...) IComponent aComp = (IComponent)Activator.CreateInstance( typeof (SplitContainer)); System.ComponentModel.Design.IDesigner designer = TypeDescriptor.CreateDesigner(aComp, typeof (System.ComponentModel.Design.IDesigner)); try { d ...Show All
Visual C# How to write "javadoc" in C#?
Hello, Could anyone tell me how to write documentation in C#, like you do in java. And how do one compile and view this Thanx:) NDoc is Javadoc for .NET for more information go to SourceForge NDoc uses pluggable documenters to generate documentation in several different formats, including the MSDN-style HTML Help format (.chm), the Visual Studio .NET Help format (HTML Help 2), and MSDN-online style web pages. ...Show All
Visual Studio Team System Event log errors RTM Workgroup edition
I have just installed the workgroup edition on a fresh installation of Windows Server 2003 R2. I'm getting the following errors in the application event log on boot: 1) MS SQL Server - Failure Audit - Event ID 18456 "Login failed for user 'domain\tfsservice'. User: TFSSERVICE Followed by 2) Windows SharePoint Services 2.0 - Error - Event ID 1000 #50070: Unable to connect to the database STS_Config_TFS on THUNDER. Check the database connection information and make sure that the database server is running. Any ideas Regards Phil Lee How are you running the database Is it ru ...Show All
Visual FoxPro Amount range
Hi, I have a table where the salary range and deduction are stored. As an example the salary ranging from 1,000 to 1,500 has a deduction of 100. This is the part where i should be getting the amount for deduction unfortunately i don't get any record though the record exists in the table: SELECT nfrom, nto, ndeduction from tbldeduct WHERE ; tbldeduct.nfrom >= thisform.txtngross.value .and.; tbldeduct.nto <= thisform.txtngross.value ORDER BY tbldeduct.nfrom INTO CURSOR tmpdeduct Am i missing something here or these codes are totally wrong By the way this is the table Table field: nfrom nto ndeduc ...Show All
Windows Forms CodeDom & InitializeComponent
Trying to replicate the 'InitializeComponent" method of the designer for a form creator I'm building and I can't seem to get the InitializeComponent / Algorithm correct. Has anyone a link to an article or code snippet dealing specifically with replicating this method Thaks, PAS The VisualBasic.NET version of this process: Imports System.CodeDom Imports System.CodeDom.Compiler Import ...Show All
