inzel's Q&A profile
Visual Studio Team System Merge Limitations Caused by Branching Hierarchy
I'm in the process of planning a migration from VSS to TFS and have come across a stumbling block when trying to merge from a Branches/Trunk-v1-BugFix subfolder to the Trunk folder. (The issue stems from the fact that the Branches/Trunk-v1-BugFix folder was originally branched from Releases/Trunk-v1). My repository layout is as follows: - Project1 - Branches - Releases - Trunk Let's say I reach version 1 in Trunk development. At this point I branch the latest Trunk version to Releases: - Project1 - Branches - Releases - Trunk-v1 - Trunk Ongoing development occurs in Trunk. Meanwhile, to fix a bug in version 1, I branch the release version 1 of Trunk (in the Releases folder), to the Branches folder where it can b ...Show All
Smart Device Development can windows mobile 5 connect to sel server 2005 express ?
can wm5 connect to sql server 2005 express is it need to install other software on pocpet pc , free or not thank you i test my web services by create Win Application and connect to ws (using add web reference, localhost) i work! but on ppc and emulator error at this line object [] results = this .Invoke( "testR" , new object [] { testMsg }); $exception {"Could not establish connection to network."} System.Exception {System.Net.WebException} how to reslove this thank you!! thank you ...Show All
Visual Studio 2008 (Pre-release) Exception while extending Service Behavior
I have the following config. < behaviors > < serviceBehaviors > < behavior name = " WorkServiceBehavior " > < serviceMetadata /> </ behavior > < behavior name = " ObjectPoolingBehavior " > < serviceMetadata /> < ObjectPoolingAttribute minPoolSize = " 0 " maxPoolSize = " 5 " /> </ behavior > </ serviceBehaviors > </ behaviors > < extensions > < behaviorExtensions > < add name = " ObjectPoolingBehavior " type = " Microsoft.ServiceModel.Samples.ObjectPoolBehaviorConfigurationElement, InstancePoolingExtension,Version=1.0.0.0, Culture=neutral, Publ ...Show All
.NET Development Using XSD
Is there a way to use a XML Schema (XSD) in a project other than referencing the file path or URI I am reading this file using a DataSet's ReadXmlSchema method. dsInput = new DataSet (); string strXsdFile = @"C:\Documents and Settings\My Documents\Visual Studio 2005\Projects\MyProject\JobFeed.xsd dsInput.ReadXmlSchema(strXsdFile); ... I used brute force and used a stringbuilder to create a string, but this is not the most elegant method. ... string strXmlSchema = GetJobInputFeedXsd(); // Uses a stringbuilder to manually create the XSD string Stream strmXml = new MemoryStream ( ASCIIEncoding .Default.GetBytes(strXmlSchema)); dsInput.ReadXmlSchema(strmXml); ... What I would like to do is ...Show All
.NET Development DB_E_BADROWHANDLE(0x80040E04)]” when using [OleDbDataAdapter.fill(dataset, ADOrecordset, “ADODB_2_8.Reccordset”)] in VS 2005
Hi All, Im getting an exception “DB_E_BADROWHANDLE(0x80040E04)]” when using [OleDbDataAdapter.fill(dataset, ADOrecordset, “ADODB_2_8.Reccordset”)] in VS 2005. We have used our proprietary OLEDB. This is working fine with .NET framework 1.! (Vs2003) Can you help me : Here is the error message : ______________________________________________________________________________ System.Data.OleDb.OleDbException: No error message available, result code: DB_E_BADROWHANDLE(0x80040E04). at System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr) at System.Data.OleDb.OleDbDataReader.GetRowDataFromHandle() at System.Data.OleDb.OleDbDataReader.GetValueBinding(MetaData info) at System.Data.OleDb.OleDbDataReader.Get ...Show All
SQL Server How do I get number of fields returned by query?
Hi. I am trying to get the results of a dynamic sql statement into a #table, in order to filter them. Given that I don't know how many fields will be returned, how do I accomplish this I believe I need to create the #table in advance, and then run the dynamic string as part of an insert [eg 'insert into #table exec (@sql)' ], but in order to do this I need to know how many fields are going to be returned. The results might also be returned by a procedure rather than a simple SQL statement, so I can't just parse @sql to get the fields. As an example, declare @sql nvarchar(200) select @sql = 'select "a" as ColA, "b" as ColB' exec sp_executesql @sql returns two columns of data. I think I need to get t ...Show All
SharePoint Products and Technologies SP Gugu: How to Programmatically change a list item's ContentType by WSS WebService?
Please, help! I can't find any information on MSDN under WSS3 webservices List.UpdateListItems topics how to programmatically change a list item ContentTypeId Calling SharePoint list service like: (adding a list item) XmlElement elBatch = doc.CreateElement("Batch"); elBatch.SetAttribute("OnError", "Continue"); elBatch.SetAttribute("ListVersion", "2"); XmlElement el1 = doc.CreateElement("Method"); el1.SetAttribute("ID", "1"); el1.SetAttribute("Cmd", "New"); XmlElement field1 = doc.CreateElement("Field"); field1.SetAttribute("Name", "ID"); field1.InnerText = "New"; XmlElement field2 = doc.CreateElement("Field"); field2.SetAttribute("Name", "emp_no"); ...Show All
Visual Studio Team System "Missing file" link error with TFS build
Hi, We are trying to build automatically one VS 2005 solution containing various VC++ project (one exe and several dlls). This solution and its projects make use of custom configuration (this help us to define various preprocessor #defines used in our C++ code). When building this solution with one configuration through via VS 2005 on a desktop computer, everything builds fine. But after creating a TFS build type and running it on the build server we see this error: LINK(0,0): error LNK1104: cannot open file 'D:\Build\RootFolder\TFSProjectName\BuildTypeName\Binaries\PlatformName\ConfigurationName\DesignerLocale.lib' (D:\Build\RootFolder being our build directory path) It is strange that TFS build look for lib files in the 'D:\Buil ...Show All
SQL Server [SQL Server 2005] Primary vs Secondary file-groups - deciding which table goes where
I created a set of primary and secondary data-files and organized them into file-groups. Now, I want to decide which tables to allocate to which file-group. What should be the factors on which I ought to decide this Is there a significance of choosing the primary group over the secondary ones or vice versa What is the impact of the choice in either case Thank you for your reply, Derek. Need one clarification though - would it be correct to say that a table created on a file-group gets evenly distributed across all the data-files in the file-group In effect, what we are achieving is partitioning the table, right My earlier question was more about understanding how SQL Server determines which table belo ...Show All
Visual C# "error CS2011 : Error openin response file..." ??
Why do i always get this error message whenever i try to debug or compile something : "error CS2011 : Error openin response file 'c:\Documents ' -- ' the system cannot find the file specified " this is after i uninstalled and reinstalled the compiler. Is there a way to remedy it but i've tried saving else where and the same error keep surfacing anyway so where do i put the double-quotes I'm kinda new to all this. ...Show All
SQL Server Select statement to return most current syscreated date on duplicates
I have a db that has duplicate customer records. If I run the following select statment against the appropriate table it returns the duplilcate records in the result set. However, from this list I want to add an additional select statement embedded into the query that will actually return only those records with the most current syscreated date. Example of script I'm using--- select cmp_fadd1, syscreated, cmp_name, cmp_code from cicmpy where cmp_fadd1 in (select cmp_fadd1 from cicmpy group by cmp_fadd1 having count(1) = 2) order by cmp_fadd1,syscreated desc The results is: Address Syscreated date Customer 1622 ONTARIO AVENUE 2005-06-15 22:19:45.000 RELIABLE PARTSLTD 1622 ONTA ...Show All
Visual Basic Referring form objects
Hi all, I'm converting a VB 6 exe project to a VB 2005 project. One main functionality in VB 6 that gives errors in VB 2005 project is as follows: In VB6, i have a initial form called frmApplication that loads up. There are two other forms Form1 and Form2. Based on the user settings, frmApplication then loads either Form1 or Form2. Form1 and Form2 differs only by appearance. What i mean, all the controls in both the forms are same including the name except there position of the control on the respective forms. When frmApplication is loaded, it creates a object of Form1 or Form2 depends on the setting and assigns to frmObject. Now in VB6, i access the controls in Form1 or Form2 in runtime using frmObject.lblName.Caption = ...Show All
Visual Studio Team System "All Files are up to date" - "Get Specific Version"
Hi, I have the same problem. Last week it worked fine but after changing the workspace target for one project I now find that all projects except one (a different one I have been working on for some time), are now greyed out in source control explorer , and I cannot get latest or get specific version . In either case it reports that I already have the latest version . We tried deleting the local files, removing the work space etc. but to no avail. After reviewing the security tab on the properties page within source control explorer for each project we decided to add the developers group (as it clearly should be there, even though it does not appear for the working project either) but this had no effect. However my colleage notice ...Show All
Visual Basic comparing dates
tryin got compare a user selected date with dates present in a dataset obtained from an sql database. on button clik the following code is executed. Reset field has to be changed on finding the specific date but this does not happen. Protected Sub ResetAll( ByVal sender As Object , ByVal e As System.EventArgs) Dim cmdObject As New SqlClient.SqlCommand 'select the trainees that have not been reset cmdObject.CommandText = "select CompletionID, EmployeeID, CompletionDate,Reset " & _ "from POPMA_Trainees " & _ "where Reset = 0 order by CompletionDate " Dim ds As DataSet = eLearningDatabaseMethods.GetDataSet(System.Web.HttpContext.Current.Request( &q ...Show All
Visual Studio Express Editions Forms and Objects
I am just trying vb.net express 2005 .... I have worked a little on vb... During the course of learning i came across that to show a form I need to create an instance of it first and then use the show method as in dim mform as new MyForm() mform.Show() But when i tried the old vb way with just MyForm.Show() it too worked .... This is the actual code from Form1 of my test project Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Form2.Show() MessageBox.Show(Form2.Label1.Text) End Sub End Class What is the difference and is it a mandate I create an instance and why Can anyone help me with this ...... ...Show All
