kobhan's Q&A profile
Visual Basic Determine a DataTable Row index from a DataGridView
I have a datatable with 10 records linked to a datagridview. When i intially load the datagridview, row 0 in the datagridview = row 0 in the datatable - based purely on the order they load, and the datatable's default sort order. I then filter my datagridview and am left with 5 records. Is there a way of determining programatically, the actual datatable row number of a row displayed in a datagridview, considering that row 0 in the datagridview is now not necessarily row 0 in the datatable Cheers Mc It may or may not be what you want but the DataGridViewRow.DataBoundItem Property http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridviewrow.databounditem.aspx may be w ...Show All
SQL Server Developer licensing
Ok, simple question: We have 10 developers. All 10 use ONE server to do development work (design, coding, testing ONLY!). We have a Developer Edition licence for EACH developer. Is this OK We have 10GB plus in test data and do not want to replicate that to each desktop. According to the Developer Edition EULA, I would say NO. It looks like you can only have one developer (and a few testers, I forget the number) per server. It says NOTHING about having more than one developer access the same server under this license. The Developer Edition EULA appears to be designed around installing a database on a desktop just for that developer, not installing a central database that all developers use. AFAIK thats fin ...Show All
Windows Live Developer Forums Suppressing dialog using VEMap.FindLocation
Is it possible to suppress the dialog asking the user to choose a location from the similar values to the value passed to VEMap.FindLocation I am allowing the users to select from a drop down list from cities in Illinois, so type-Os are not a concern. For example, the user selects Chicago from the ddl, I do not want VE to ask if they mean Chicago (City), Illinois or Chicago (River), Illinois. I just want the first result to be displayed. Thanks in advance. Version 3.2 hey They snuck that one out. Explains a few outages i had on the 2nd.... http://www.microsoft.com/downloads/details.aspx FamilyID=4d640c59-c3cc-4438-8113-5828d4a0f20a&DisplayLang=en onmousedown Event Ne ...Show All
Visual Studio Team System Drop Location Problem with Automated Testing
I have set up a foundation server and a build server and have been able to successfully execute a few different build types. However, when I try to incorporate automated testing, I run into problems. The build says "0 errors, 0 warnings, build failed" and the only useful thing I could find in the log is this message: The drop share directory "..........." could not be accessed. I have noticed that if I run the tests locally and attempt to publish them, I get the same error message. I have given full sharing privilleges in the security tab as well as the permissions button menu for the folder and the folders work fine for build types that do not include automated testing. From a previous post, I learned th ...Show All
Visual Studio Express Editions Help on code
I have written this case statement and the only result I seem to get is access denied when I place number in the text box I have a text box a lblDisplay and a button Private Sub btnPush_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPush.Click 'declare variables Dim pass As Integer 'Input txtPass.Text = pass 'Process Select Case pass Case Is < 1000 lblResults.Text = "Access Denied" Case 1001 To 1500 lblResults.Text = " Welcome Technician" Case 1501 To 2000 lblResults.Text = " Access Denied" Case 2000 lblResults.Text = " Welcome Custondian" Case 2001 To 2999 lblResults.Text = &q ...Show All
SQL Server SSAS Poor resource usage
Our users use Excel 2003 pivot table to analyze data on our SSAS 2005 database. They experience poor performance as soon as the products dimension is involved (800.000 leaf members), query performance is worse than with AS2000. At the same time, we notice that msmdsrv.exe only occupies 350 Mb of memory at the peak, and only 25% of processor time (bursts above 25% of processor time do occur, but are extremely rare). This is on a dual-core x64 Opteron, effectively a 4-way processor, with 16 Gig of memory. Why is msmdsrv waisting time constantly allocating and freeing-up memory at the 100 to 400 Mb level, where we have about 12 Gig of memory on that server sitting idle How can we make msmdsrv aware of those available 12 Gig and 7 ...Show All
Visual Studio Team System Error: TF30177: Team Project Creation Failed
Hi Experts, I have Team foundation Server and team explorer installed on my server. I was trying to create team project from vs 2005 .net, and i have the TF30177 error (Project creation wizard encountered a problem while uploading document to the Windows sharepoint service server on ATDEV070.) This error seems like, permission issue. But I don't know how to grant and to whom to grant permission. Your help is appreciated. NOTE: ATDEV070 = My server name While creating a team project I logged in as corp\chintan (administrator of the server). But while installing TFS, when asked for TFS admin, I have inserted corp\TFSAdmin. Does this conflict Who can create team project 1) you'll want to include the exact ...Show All
SQL Server Sql Reporting Services 2000 Using VS.NET 2005
Hi i am working in vs.net 2005 (c#.net & asp.net), my application need reporting functionality, for that i am using Sql Reporting Services 2000 in vs.net 2005, and i am not able to generate the report, can any pls tell me how to use sql reporting services 2000 in vs.net 2005 and configuration setting etc... it would really help more to build my applications in sophisticated way kinds regards sy From Microsoft's website: http://msdn2.microsoft.com/en-us/library/ms143520.aspx Report definition (.rdl) files that you create in the SQL Server 2005 version of Report Designer can only be published to a SQL Server 2005 report server. Jarret ...Show All
Visual Studio VSS2005 - Binary Checkin speed issues
When checking in big binary files like pdb and lib with sizes above 6 MB (limit not tested) there is a significant speed reduction. Example: I copy one of two similiar files as tmptest.lib, size is ~12MB . File options in VSS are set to binary, no autodetection of unicode. When checking in with VSS2005 (ss or ssexp), it takes 720 seconds . If I do the same with VSS6.0d , it's 2 seconds . In both cases cpu util is 100% all the time. VSS6 and VSS2005 are installed on the same machine. VSS2005 checkin was tested also direct on server with local database path - no difference. Richard, there is a bug in VSS2005 which manifests exactly as C. Hoffman described. We have the fix for it (I think it was checked in ...Show All
Visual Studio Express Editions Problem wif my counter
I display the result of my calculation inside textbox2. I have textbox1 displaying the values inside buffer list. I observe that it only calculates the average for the first two value from the buffer list. It has no effect on the next 2 values and so on.. Something wrong wif my counter Private counter As Integer Private total As Integer Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick total += buffer(counter) counter += 1 If counter = 2 Then TextBox2.Text = (total/2) counter = 0 total = 0 End If End Sub "EDIT. Sorry ReneeC. I just saw the same answer from you to th ...Show All
.NET Development How to read an existing xml file using Visual C# 2005?
How to read an existing xml file using Visual C# 2005 I know how to write to one, It's just reading that seems to be problematic, as I want the data to loaded into various text boxes when the user opens the file with an OpenFileDialog... The XML Document looks similar to the following; <XML DECLARATION> <gun> <cannon> <rifle>air</rifle> <handcannon> <one>one</one> <two>two</two> </handcannon> </cannon> </gun> Thanks in advance Regards Jason I am not sure if you have any specific problem in reading or writing the xml files. But here is a simple code to browse the file from open dialog box and read that xml, ...Show All
Architecture web client software factory
hi everyone, can any one tell me what is the purpose of web client software factory... thanks for your valuable information Why don't you take a look at the article that describes the factory at http://msdn2.microsoft.com/en-us/library/bb264518.aspx I think you will find it is pretty clear on the benefits and functionality. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How am I supposed to expose objects as properties?
Ok, here is the situation. I have a GameComponent that does 2D collision processing called Collisions2D. It requires that an object implement the interfaces IPhysical and ICollidable. Included in these interfaces is the property of type List<Vector> Vertices. This property needs access to other objects in the class that are not created yet since this is not at runtime. I also need to expose the position vector for the object which is held within an object in the class. The designer did not like this at all and had to set up a layer of abstraction so that the properties affect simple types in the class which are then used to update the inner-object's vector. Is this really how we have to do this How are we supposed to expose object ...Show All
Visual Basic why my clickonce downloading not completed?
I made publish for new version of my application, what happen is, One of my customer download 60% of my new version, and stop. what is the problem dear Mr. spotty; do you think, the huge or large number of updates at same time (many customers download the new update, and sharing same files) will make that problem, I mean excessed maximum number allowed to share files because, it sometime gives error = timeout to download file !!! ...Show All
Visual Basic Using labels
Hi- I'm really new at programming (this is my first time making one) and I was wondering if anyone knew how to have text in a button displayed on a label on your form rather than having it displayed in a message box. Thanks! ...Show All
