BobD's Q&A profile
Visual Studio Team System Unable to install Team Explorer
Hi Guys, I installed Team foundation server on SQL server 2005 evaluation version successfully. When i try to install Team Explorer (that comes along with Team Foundation Server)on Visual studio team suite beta - 2 version, it says to uninstall the pre-release products. In this case it is pointing to the visual studio 2005 beta2 -- ENU. It is allowing me to only install Team Explorer (Not allowing to install Team Suite 2005 beta version ). How can i install team explorer on beta version of Team suite My intention is to execute the Test cases using MSTEST.exe while the team explorer is installed...Please do respond... Re ...Show All
Visual C# Zipping files from C#
I need to zip files programatically from C#. The files I need to zip can be very large 4 Gb+. Are there any classes in .NET that would allow me to do that I've tried various third-party components, but every one of them had issues. Most don't support Zip64, some don't publish progress events, some have issues with the CRC stored in the local header vs. the central header etc. etc. Any help would be appreciated. I'm open to using CAB files if someone could point me to good documentation on it. Actually, the third-party components I looked at did not hold the entire file in memory. ...Show All
SQL Server SQL Express and Bulk Insert
Does SQL Express support bulk insert If not is there any suggestions of alternative way to get data from a text file to SQL Express in a manner that can be automated Thanks Tom ...Show All
Visual Studio Team System Visual Studio and Design view
I all community members! I have been using VS2005 B2 for the two month and found it extremely proficient in our development enviroment. I don't know if this thread is in the correct place, but I've been having some difficulty working on a user control designed by another team member, who's also using VS2005 B2. The problem is that the user who created the user control checked in back into VSS2005 and can work on it fine on his side, that was for argument's sake 4 days ago. Yesterday morning I could still help him out on this control with a design fault he was experiencing, checked it in so he can continue then later that same day I, for ...Show All
Visual C++ Very simple webserver code
I am making a very simple webserver -it does not need to have any sort of cross-platform compliance, it simply needs to work with IE6. I have the following code which is simply supposed to read in a web page stored on the disk and serve it to the client. Code follows (I cannot figure out how to format the text.. it's ugly): void SendLogin ( int clientNum ){ ifstream file ( ".\\HTM\\login.htm" ); if ( file == NULL ) return ; int pointer = 0 ; char ch ; char buf [ 2000 ]; pointer = strlen ( buf ); while (! file . eof ()){ file . get ( ch ); if ( ch == '\0' ) break ; if ( ...Show All
SQL Server rsExecutionNotFound
I can preview a report I've written in VS (BIDS) without error. However, when I've deployed it to the report server, I'm unable to execute the report. I receive the following error: Reporting Services Error What are you using to view the report The HTML viewer What happens if you close IE and try to render it again ...Show All
Visual Basic When using a Splash Screen, you can't cancel the Application.Start
I have Splash Screen selected in the Windows Application Framework properties of a VB 05 (RTM) project. I've put the database initialization code in the Application.Startup event handler (in ApplicationEvents.vb) and the Splash Screen will display fine while it's connecting. But if I can't connect to the database, I want the application to shut down. But when I set Cancel = True in the Application.Startup event handler, the application doesn't close. The Splash Screen just sits there forever. From what I gather, the Splash Screen will stay open until the Startup Form has been fully initialized. But if you c ...Show All
Visual Studio Team System Why buttons are disabled in Web Test
I'm doing a load test for my website. When I was recording the web test via Internet Explorer, the data entry screen looked fine(submit button was enabled), but after the test was recorded, if I run the web test, the submit button is disabled. Any idea why that's the case Any suggestion on what to do Jason, That bug could occur if a web page had multiple forms containing hidden fields with the same name. It was fixed literally about a week after beta2 shipped, so the upcoming July CTP should work much better for you. Josh ...Show All
Visual Studio Express Editions How to get and set the top-left cell on a DataGridView?
Hi! I' m using the DataGridView on a Windows Form. I want to return a DataGridView to former state of the display. How to get the position of the Cell that the top-left on the current DataGridView and how to set the state The 'top-left' does not means the top-left of 'the data', but 'displayed top-left'. Thanks. hi, i didn't understand what do you mean by your question but you can get the top left cell in your datagrid view through its coordinates something like this this .mydatagridview.Rows[0].Cells[0].Value = "hello" and it also have .state but ...Show All
Visual Basic What is causing this error Unhandled exception
An unhandled exception of type 'System.NullReferenceException' occurred in Beam Calculations.exe Additional information: Object reference not set to an instance of an object. These are the type of lines causing the problems. I dont know how to attach the file and it is too big to post. cbxMaterial.Text is a combox on a windows form. myBeam(i, j).Material is a Structure (BEAM) I have created to simplify things a little. The structure is not an array but contains around 36 properities. The first 18 are DOUBLE and the 2nd 18 are STRING. j is 1 for doubles and j = 2 for strings dim myBeam as BEAM i=1 j=2 If ...Show All
Visual Studio Displaying All (unique) Values From a Field
Hi, I'm new to Reports & I'm hoping that someone has an answer to a problem I'm having. I'm using a local report to display a matrix. However there are more fields used as parameters than are shown on the report (i.e. there are 7 different fields for the user to select one or more values from, but there are only two actually shown on the report - the two making the rows/columns of the matrix). What I need to do is to also show on the report the other options the user chose. It has to be on the report so the options are exported to excel when the report is. I've tried putting a one-column table on for each field & setting 'Hide Dupli ...Show All
.NET Development How to retrieve innertext from the xml tag enclosure url?
Hi All, I want to get InnerText of the tag enclosure url.For example consider the sample XML < xml version="1.0" > - < rss version =" 2.0 " > - < channel > < title > XML, RSS and Podcasting </ title > < link > http://staff.washington.edu/trauma/podcasting/ </ link > < description > A web page with descriptions on how to utilize XML and RSS to create a Podcast. </ description > - < item > < title > Craig's Sample Podcast &l ...Show All
Visual C# Translate Code: Convert of type
I have the follow in VB: pt = CType (sender, TreeView).PointToClient( New Point(e.X, e.Y)) I want make in C#, I make it: tv = (TreeView)Convert.ChangeType(sender, typeof (TreeView)); pt = tv.PointToClient( new Point(e.X,e.Y)); I can make it, just in a one line David with your code, don't appear the follow lines: IL_0017: ldtoken [System.Windows.Forms]System.Windows.Forms.TreeView IL_001c: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) IL_00 ...Show All
Visual Studio Team System To detect the use of 'return' keyword
Explicitly using return allows the JIT to perform slightly more optimizations. Without a return statement, each function is given several local variables on stack to transparently support returning values without the keyword. How to detect whether a method uses 'return' keyword (of course irrespective of language). Can Fxcop do this Using the visitor pattern to traverse the Method.Body, you would override VisitReturn. Otherwise, you would iterate over the Method.Instructions, looking for OpCode.Ret. ...Show All
.NET Development reset form after record deletion
I have a datagridview on a form. the form is bound to the parent record, the datagridview is bound to the child records. My parent record is loaded using a S qlDataReader by reading each value into the controls (unbound controls). I was wondering, when I delete a parent record (using a sproc), I want to clear the form and the datagridview just like it was when you initially open the form. I can't use the AddNew method since it is an unbound form. Current, I am clearing each control in code by setting it's text to "" or selectedIndex to -1. this works ok for the form, but how can I reset the datagridview A ...Show All
