NetPochi's Q&A profile
Visual Studio Team System Custom Control Feature
I want to try out the new custom control feature. I have installed the SP1 Beta but I don't know where to start... Could anybody point me out a sample or give me an idea how to build a new work item custom control Do I have to inherit from a specific class, do i have to register my control type somehow, how do I reference it in the work item section of the process template Thanks! Mike Naren Thanks for the info - this should be very useful. At the moment we haven't deployed SP1 as we don't have a TFS instance that isn't live and our technical team who manage the servers a cautious about putting beta software on our TFS. I will get onto this though when SP1 goes live. Thanks Steve ...Show All
Visual Studio Team System bissubscribing events
1. on tfs server i have run: bissubscribe /eventType BuildCompletionEvent /address a@b /server tfs /filter "TeamProject='project'" /deliveryType EmailPlaintext 2. on VS2005 i run the build 3. the email notification received this is ok but if: 1. bissubscribe /eventType WorkItemChangedEvent /address a@b /server tfs /filter "TeamProject='project'" /deliveryType EmailPlaintext 2. on vs2005 add a new bug/task or change it 3. no email any suggestions RESOLVED I used: bissubscribe /eventType WorkItemChangedEvent /address a@b /server tfs /filter " PortfolioProject ='project'" /deliveryType EmailPlaintext "PortfolioProject" instead of "TeamProject" ...Show All
Visual Studio Catastrophic Failu Visual Studio Crashing like crazy!!! WHAT IS GOING ON!!!
I reinstalled my whole damn operating system thinking that I had broken visual studio somehow... it turns out that was a collosal waste of time... I have a fresh clean windows xp pro sp2 install, and a clean Visual Studio Professional... and whenever I add a dataset to a project, and right-click the designer and hit "View Code", I get this horrifying error: Failed to view the validation code because of the following error: Catastrophic failure (Exception from HRESULT: 0x80000FFFF (E_UNEXPECTED) and it gives me a blank document. If I click the button to Save All open documents, the whole damn program just crashes!! I've submitted the error reports, but that's not going to help me fix the problem... what is goi ...Show All
Windows Forms Databinding to textboxes on form using SQLExpress
I am having trouble getting table data from my SQLExpress connected databases to bind to the textboxes in my form. I can perform a grid view of the tables data just fine. Any suggestionson what am I missing in the form design I don't have any code to show. What I am interested in is why, in the devleoper environment, I can't just bind a datasource to a textbox in a form like I do in MS-ACCESS. This SQL Server Developer Edition is making it way too hard to do a simple task. I am saying when you elect view all the table data to a grid, that works. I want to add text boxes to a form and it complains of a binding errror when I do this. ...Show All
Visual Studio Team System Problem with source control (Data is Null. This method or property cannot be called on Null values)
Hi, VS hangs up during project loading. Re-getting the project from source control does not help. VS installation does not help either :( The following error in the server's event log: Edit: it does not hang. After a few minutes in unfreezes and says 'look into your server event log'. the project is open as source-control ounbound. TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 6/26/2006 12:48:55 PM Machine: VSSERVER Application Domain: /LM/W3SVC/3/Root/VersionControl-1-127957963704837131 Assembly: Microsoft.TeamFoundation.Common, Version ...Show All
SQL Server how do you resize the parameter section?
In Report manager 2000 I would like to be able to resize the parameter section in IE6 but its fixed how can i enable drag bar on the pane thanks ...Show All
Visual C# Using Path.getfullpathname() returning different results
I was under the impression that when i use Path.getfullpathname(folder) it returns the full path name of the 'folder' if found in the debug directory or VS. This is usually the case, but sometimes it returns a completely different address. This, obviously is a problem. How do i get the path name of a folder in the debug directory everytime. Am sure there is a hole in my knowldge here. As the problem occurs after i select something from a different adirectory. It is like VS is remembering where i selected a file (using the openFileDialog) and then when i use getFullpathname, is going back to the dir from the open file dialog. Anyways around this without hard coding in the path You misunderstand what GetFul ...Show All
SQL Server Multiple result sets from a stored procedure
I have a stored procedure like the following. This returns 2 result sets, however i only want it to return 2nd (SELECT SomeField FROM SomeTable). How is this done Note - it is not possible to change 'SomeSPThatReturnsAnIntAndAResultSet ' CREATE PROCEDURE [dbo] . [SomeSP] @SomeParam int AS BEGIN SET NOCOUNT ON ; declare @SomeScalar int exec @SomeScalar = SomeSPThatReturnsAnIntAndAResultSet @SomeParam if @SomeScalar = 0 BEGIN SELECT SomeField FROM SomeTable END END Tim: I assume that the internal stored procedure always returns a result set. If that is true, try absorbing the results of that stored procedure into a temp table such as: ...Show All
SQL Server Multiple Report Viewer issues from Webpage-
We are trying to immplement reports useing the Report viewer. One of the major stumbling blocks our end user have is when we export to either a PDF or EXCEL. An extra IE window pops up before teh dialog to open of save the report. When selecting open another windows opens. HAs anyone fix this Another issue has to do with printing the report from a web page. Our users want the whole report to print via file-print but do not want any active-X controls to be loaded. Has anyone come across this THanks Rob ...Show All
Visual C# How to Convert Current Date into string "yyyyMMdd" like "20061113"
hi Is there any way to convert the Current Date into string "yyyyMMdd" like "20061113" I have tried this but it did not work DateTime theDate = DateTime.Now; theDate.ToString("yyyyMMdd"); It gives me 2006/11/13 10:50PM But i want a string and not a Date like this "20061113" Thanks Also, if you want specific number of digits, you should use .ToString( "yyyyMMdd" , System.Globalization. CultureInfo .InvariantCulture); To ensure the user's locale settings don't affect it... ...Show All
Visual Studio Express Editions This is puzzling, well it is to me?
I open MSWord and create a document with formatted text Red, Blue, underline etc I then copy it to the clipboard, then paste it in to my program where it appears with exactly the same formatting as it had in word, so far, so good. I now switch back to MSWord and save the document, back to my program and open the document but now all the formatting has gone, so it must be the way that I am opening the document is wrong. Here is the code that I use, already been posted in another thread, but I feel it's better to keep all info in the same thread. Case "doc" objWord = CreateObject( "Word.Application" ) objDoc = objWord.Documents.Open(OFD1.FileName) objDoc.Select() rtbText.Text = objWord.Selection.Text objDo ...Show All
SQL Server creating and scheduling job for SSIS
Hi All I want to create and schedule job for my SSIS packages. But I have no idea how to do that. Paarul wrote: Hi All I want to create and schedule job for my SSIS packages. But I have no idea how to do that. Search for SQL Server Agent and SSIS. ...Show All
Visual Studio Express Editions Buttons to be pressed!
Hi i am really new to Visual Basdic, and fairly new to programming, but i do know the basics :D. I want to make a basic calculater with the buttons "1,2,3,4,...and +, /,-,*". Now im stuck in the codeing part. I have writen for when one gets pressed... Dim Button1 As Boolean If Button1 = True Then TextBox1.Text = "1" Now this code was written for the texbox that the numbers you press appear in. And looking back at the code, i can see its wrong because it makes button 1 a variable, not a object. So is there a way for somthing like this to happen "if button1 is pressed, make 1 appear in textbox1." Thanks in advance for any replies! Hi sorry to be a pain again, ...Show All
Visual Studio Problem using debugger with database project
Hi, All, I have a database application. I created a stored procedure and deployed it to the database. I'd now like to use the debugger. When I start the debugger, when it gets to the statement "SqlDataReader reader = command.ExecuteReader();", a new file called Dynamic T-SQL opens. If I try to continue debugging, I get an error that says "Unable to step. Operation not supported. Unknown error: 0x80131022." What's going on How do I get around this so I can debug my code Thanks, Stephanie I am geting the same error with a VB.Net project. It worked fine on Sunday, but on Monday I start getting this error. I changed nothing on my system. I repaired the VS install and it did not f ...Show All
SQL Server T-SQL Code help
Hi, When I execute the following procedure, SQL Server creates an error called 'must declare @table variable'. So I did not overcome this error. Would you please help me CREATE PROCEDURE erase @column nvarchar(25), @erasable nvarchar (25), @table nvarchar(25) AS delete from @table where @column=@erasable Hi again, I learned the answer. When we use exec statement for Strings, the batch in the String is also compiled and executed but this is only valid for Strings, is not it ...Show All
