branaugh's Q&A profile
Windows Forms Data Grid View with Databinding
Hi, I'm having a problem with Data Grid view control. Its is bind to a sql server 2005 table and it is displaying data. The problem i have is that I can't manage to capture that data and copy it into excel file. If someon knows how to capture it so that i can copy it into an Excel file. P.S I have one butoon which is select all, I want it to select all rows and then when i place copy it should export to Excel. Any specific prope ...Show All
Visual Studio Team System How to install sharepoint/team system in production server?
Hi, all. We have one server that many existing web application are running on. We have to install team foundation server and sharepoint on the server. The problem here, is that it disable all other web applications when I install sharepoint. Here, We don't need to consider team foundation server. Sharepoint itself gives me trouble. I don't want to dedicate new server to sharepoint. Is there any way I can run sharepoint (also te ...Show All
Visual Studio Express Editions How Export table as .csv file
I need export the data. Please help-me. Thank's You can use ADO.NET to interact with CSV files, although I've never used it to write on from scratch. I'd guess that it would be possible though. Alternatively, you can just use a StreamWriter, as you would for any normal text file. Just use an outer loop to iterate over the rows in the table and an inner loop to iterate over the fields in the row. ...Show All
.NET Development Simultaneous calls to services results in The request was aborted: The request was canceled
Hi Everyone I am making simultaneous calls to seperate web services on the same server. The services have WSE 3 enabled using certificate based security. After a minute or so of running one them returns with the error "The request was aborted: The request was canceled", I am completley stumped, if I just make one of the calls then everything is ok. Here is the stack trace from the exception: at System.Net.ConnectStream.Inter ...Show All
SQL Server How can I print a multi-value parameter
I have a multi-value parameter and I need to print its value in report. But if I put in a text box =Parameters!Mine.Label when rendering I obtain #Error How can I do it Thanks in advance Is Sales_Unit the name of a parameter on your second report BobP ...Show All
Software Development for Windows Vista Activity Position in Workflow
hi al, i wonder, how i can find out, whether an activity is the first activity of a workflow. does anybody have a clue thanks in advance, regards, .k I'm not sure why your parent property is null if the activity is contained in a workflow, then it should be valid. However, in the jan ctp, when you compile the activity, the validator gets called on it, and the parent will be null. So it depen ...Show All
Visual Basic VB2005 Express b2: Where are the libraries?
I'm doing some dabbling with VB, and I want to write a tiny windowless app that can intercept APM suspend events and deny them. This sounds like a very simple 50-line program, so I'm not too keen on dropping $800 for the full VB Studio to do it. :) I've download the VB 2005 Express b2 to see what can be done, and I'm not finding much of anything for libraries included with it (*.h or *.lib). My experience has so far been with the MSDOS ...Show All
Visual Studio Team System Code line statistics
We are interested to find out whether Team Foundation Server keeps any code line statistics stored away / locked away in the code repository - we may need to fetch this information out for reporting with Sarbanes Oxley Compliance (SOX) so we're intrerested to see whether this information exists or not, or whether we can manually create it. a) Are there any tables / fields which looks like it might store the 'total number of lines' f ...Show All
.NET Development Function that return a dataset problem
I have in my aplication two projects the first the presentation tier and the second the DataAcces tier So I have a form lets say my ProductForm (in my presentation tier) I have a textBoxes bindding to the dataset columns in designtime so In my DataAcces project I have a function that returns a dataset of the type of products, and in my Product Form I have this code for theload event. Try dsProduct ...Show All
Visual Studio Express Editions Using multiple data bound items
Hello! Im very new to programing in VB. I have a database with info about some persons. I've managed to let the user select the name from the listbox and other info apeears on the form. Now I want to build in a search. I want to let the user to select gander, hair color, eyecolor etc. But if i use data bound items on gander I get gander info of every person (of course :P). So how to get in the gander combo box only 2 options (male/female) and ge ...Show All
Visual Basic Relase the Fix for Visual Basic Compiler Error &H8013141e&
Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e& this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 .. JSB PS: this error pisses me of, i need to res ...Show All
Visual Studio 2008 (Pre-release) MaxItemsInObjectGraph
I'm getting the following error. Error while trying to serialize parameter http://tempuri.org/:GetByUpdatedDateResult. Maximum number Error while trying to serialize parameter http://tempuri.org/:GetByUpdatedDateResult. Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota. The method returns List<T> where t ...Show All
SQL Server Stored Procedure taking too long
I have a stored procedure that is taking too long to complete. I'ved narrowed the problem down to the following code. Is there any reason why this should take long to complete for about 40,000 records UPDATE Entries SET EntryStatus = 1 , reason = 'code entered more than once' WHERE TimeSubmitted > @StartOfPeriod AND TimeSubmitted < @EndOfPeriod AND TimeSubmitted <> @t and ShortCode = @ShortCode ...Show All
Windows Forms Location advice for a Custom Collection Class
Hello, I have a custom collection class, which I plan to bind to a datagrid. The datagrid will be used to present the end user with a list of customers stored in the system. The datagrid will be read-only because its function is sim ...Show All
Windows Forms Implementing roles in a client application
Hi, I am working on a client windows forms application. I would like to enable/ disable menu items according to roles of already logged in-users, and prevent certain actions from being performed. Is there a MSDN article that shows how to implement& ...Show All
