CaroNZ's Q&A profile
.NET Development Adding Web Service Reference Fails
I have a web service (just the plain Hello World example). I test it with IE and it works fine. I create a WInforms application and try to add a reference to the web service from the new application. I get the following error: The web services enumeration components are not available. You need to reinstall Visual Studio to add web references to your application. So that sounds easy to do. Do the install again but without any success. Does anybody have an idea what I need to do to fix this Thanks Ignus http://blogs.msdn.com/astebner/archive/2005/11/11/49192 ...Show All
SQL Server Bar graphic chart is not in the same order with data table
Hi All, I have a very simple bar-graphic report that has the following data: Sale Region Total Sale A 1,000,000 B 350,000 On the table, the data is sort by the Sale Region, so the A would come before the B. But on the bar-chart, the B is always displayed before the A. If it is a vertical bar chart, and then the B is on the left, the A is on the right. And if it's a hoz. bar chart, the B bar is on the top, and the A bar is on the bottom. I try to modify the RDL to make the bars displayed in order, but failed after many tries. Here is the RDL code that I wrote in an attempt to make ...Show All
Visual Studio 2008 (Pre-release) How to make window corners round in XAML?
Hi all, I have been trying, to no avail, to make the corners of my application's window round. There are no RadiusX and RadiusY properties. I even tried a border and specified its CornerRadius but then the border appears inside the outer window and the rectangular corners and edges of the primary window are still there. Does anybody know how to achieve that Thank you in anticipation! Kevin The thing to understand about window borders is that they are special, in the sense that they work a bit differently from the rest of WPF. The reason for this is that the window border is at the edge w ...Show All
Visual Studio Team System Process Templates
The only process template I can access in the Beta 2 is the MSF Agile, am I missing something or is this all that is currenlty available in Beta 2 I was primarly interested in the XP process template, or I guess I can design my own if I need to. Cheers Tim Seaward I've made a first attempt at a XP Methodology Template which can be downloaded from http://workspaces.gotdotnet.com/bsdagile your feedback would be appreciated. Will ...Show All
Visual Studio Team System Definitions of Visual Studio 2005 Concepts
Hi! What ist your theory definition of Test and Test Type in Visual Studio for Testers Could you elaborate on what your looking for http://msdn.microsoft.com/vstudio/teamsystem/tester/default.aspx there is lots of content here, along with white papers etc. ...Show All
Software Development for Windows Vista Error on build log? and why is this condition not working?
Based on Dennis Pilarinos blog ( http://www.dennispi.com) I tried to recreate from scratch a simple console workflow project "Loan submit": -The host console sends a Loan submit message with an ID (string) and a value (float) to the workflow. LoanEventArgs myeventargs = new LoanEventArgs (wfInstanceID.InstanceId, "Jumbo" , 100); SubmitLoan( null , myeventargs); -The workflow should be very simple: Eventsink gets message, if-else checks if amount exceeds certain value, and based on that an InvokeMethod activity is called (either "LoanApproved" or "LoanRejected"). Here are the 2 issues I have: 1- Af ...Show All
.NET Development Cannot start X2 service on machine ‘.’
I have created two services X1 and X2. Stop and start operations of Service X2 should controlled by X1. I have written the below code. System.ServiceProcess.ServiceController sc = new System.ServiceProcess.ServiceController("X2"); // check the current state of X2 service, either manually started by any one   ...Show All
.NET Development ADO.net Code
Hi guys, Could anyone please help! I'm trying to write some ado.net code on the "Page_Load" events as: dim cmd as new sqlcommad cmd.commandtext... The problem is that the "sqlcommand" is not being recognized by the intellisence. Any help is greatly appreciated. Thank you ...Show All
Visual Studio Team System VSTS Installation
While installing Visual Studio Team Foundation Server, I am getting this error : " Error 32000.The Commandline '"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin\Stsadm.exe" ...' returned non-zero value: -1." Let me know how to get rid of this. The error you are seeing is coming from the configuration of SharePoint. Most likely the SHarePoint configuration on your machine doesn't match what we are expecting. For example, when you installed WSS did you configure in web farm mode If not, problem. Take a look at the VSMSI*.txt log in the %temp% ...Show All
SQL Server UNION with the second set ordered
Hi, I was trying to use the UNION construct to combine two tables. The second table was to be sorted before effecting the UNION. The first attempt was the following: SELECT emp_id , assigned_branch_id FROM employee WHERE title = 'Teller' UNION SELECT open_emp_id , open_branch_id FROM account ORDER BY open_emp_id The above was generating an error. I then tried SELECT emp_id , assigned_branch_id FROM employee WHERE title = 'Teller' UNION SELECT e . open_emp_id , e . open_branch_id FROM ( SELECT TOP ( 100 ) PERCENT open_emp_id , open_branch_id FROM account ORDER BY open_e ...Show All
.NET Development Can WSE 3.0 be used with the Compact Framework 2.0 on Mobile 5.0 devices?
I tried to find the answer to this question, but could only find a lot of partial answers. Can WSE 3.0 be used with the Compact Framework 2.0 on Mobile 5.0 PPC devices Here are my thoughts on this. I think MS is dropping the ball. ...Show All
.NET Development File.Delete
hello i have made a C# application (Image manager project). I have placed folder named Images within bin\debug I have a delete button that deletes the image from the databse and then from the images folder. when the user presses the delete button then the record for that image will be deleted but from the images it will not be deleted but the compiler gives me an error at the line where i use File.Delete: File.Delete("Images\\pic1.jpg") thank you for the help Could you post the compiler error so we have a better idea of what the problem is Is this the exact line of code that the compiler is complaining about & ...Show All
.NET Development reading web.config file
It appears that you are obsoleting the previous .NET System.Configuration.ConfigurationSettings.AppSettings method of reading values from the web.config file. What is the method for doing this in .NET 2.0 I got it resolved - you need to also include a reference to System.Collections.Specialized.NameValueCollection in order to dimension a variable which can be assigned to the ConfigurationManager.AppSettings class. ...Show All
Windows Forms Typed Dataset Generator is ignoring DateTimeMode on date columns!?
Hi everyone, Is anyone else experiencing this Create a new dataset with the Dataset Designer and just add a table with a DateTime column. Set the DateTimeMode to anything besides the default of UnspecifiedLocal, like Unspecified or Local. Click save to generate the designer file. Now the problem.. the DateTimeMode property on the column is not generated in the designer file at all. And at runtime the mode is the default -- UnspecifiedLocal. If I open the xsd in the xml editor it is correct and showing msdata:DateTimeMode="Unspecified" it's just not generating the line of code that sets the DateTimeMode. What gives Thank ...Show All
Visual Basic Problem with Combobox and SelectedValue
Hi again from Spain. I'm working with the beta2 (VB.NET) and i have a problem with a ComboBox and the SelectedValue propertie. I fill a Combo from a database and i use the AutoComplete feature to make easy select a value. But... if i use TAB to enter the Combo... i type the value or select it with the keyboard... and ... then use the TAB to go to the next control (or click with the mouse in other field, button, etc)... the SELECTEDVALUE of this combo is NULL. In the combo appear the text of the value... but i need to select it with the mouse or press ENTER to assing the value to the SELECTEDVALUE propertie of the Combo. Sorry if my engl ...Show All
