Barry Gervin's Q&A profile
Windows Forms How can I open a context menu by left-click?
I hope to open a context menu by left-clicking button of mouse, what do I do Thank you very much! But, you know I add a ToolBar component in my form, there are many buttons in the ToolBar, I hope to open the context menu when I left-click a button, If I use you code, the context menu always is opened whichever button is left-clicked. Maybe what I need to know is how to get the cursor's position, in screen ...Show All
Windows Forms Validating event not fired
I have a form with a number of textboxes, an errorprovider and a button. Each textbox has it's Validating event implemented like this private void TextBox1_Validating(object sender, System.ComponentModel.CancelEventArgs e) { if(ValidID()) { ErrorProvider.SetError(this.IDTextBox,""); } else { ErrorProvider.SetErr ...Show All
Visual Studio Tools for Office How to the Spreadsheet Control as datasource to the Chart Control?
How to the Spreadsheet Control as datasource to the Chart Control thanks. “It is helpful to remember that this forum is mainly for issues that directly pertain to the Visual Studio Tools for Office tools per se. So you will be best served by posing this question to a forum or newsgroup wholly dedicated to application-specific issues such as yours. Here is a link to resources that will help you: http://msdn ...Show All
Windows Forms how to display cursor in the datagrid cell
Dear all, I want to display the cursor(when form loads) in the last row of the datagrid so that user can identify the position where he should enter the data.How to do this. Thanks, Maha Hi, Thanks for ur response. I got this thing wit ...Show All
Windows Forms Databinding on object help
Hi all, I got a problem that needs a solution :) Let's say i have a component that has an instance of a DataSet. I have a Form with a datagridview. I'd like the datagridview to bind to the DataSet of the component. I've tried to expose the DataSet as a property and then use my component as a datasource. but that doesn't work. thanks ...Show All
Software Development for Windows Vista Service events missing event handlers? - [code included].
"In Beta2, when you add a service to the ExternalDataExchangeService, the events are assigned event handlers that, when invoked, enqueue a message onto the workflow queue created by the HandleExternalEventActivity." I'm not seeing my HandleExternalEventActivity getting invoked and I believe it might be because the initialization step in the workflow creation is not creating these handlers for me. So my event sin ...Show All
SQL Server Combine Data and Split into separate txt files for each header/detail row groupings
I’ve created with the help of some great people an SSIS 2005 package which does the follow so far: 1) Takes an incoming txt file. Example txt file: http://www.webfound.net/split.txt The txt file going from top to bottom is sort of grouped like this Header Row (designated by ‘HD’) & ...Show All
Visual Studio Pulling Release via Labels through Remote Access
We have worked through all the common issues to get the remote access functioning for VS2005. Currently my developers pull their release down through VSS2005 via a label. Now that we have remote access available can they pull a project via a label name through VS2005 remote access We have successfully checked out and in individual solutions, but do not see the labels. I assume when we did this we were just getting the t ...Show All
SQL Server Establish connection to the server
Hi, I have a problem editing my SQL databases in Visual Studio 2005, i have searched the web for answers, but those were not clear enough to me, somthing about changing my settings for SQL server, but i didn't follow it all to well, the current error mesage I get when i click in the Server Explorer on my data connections is: An error has occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure ...Show All
Visual C++ System.IndexOutOfRangeException
I'm trying to view the data in a very basic Access Database, but after executing the project, navigating to the form reading from the DB (with a DataGrid via Visual C++ .NET), the application throws this error: An unhandled exception of type 'System.IndexOutOfRangeException' occurred in system.data.dll Additional information: Cannot find table 0. I have double and triple checked my config file and I know the path to the DB is correct so I'm p ...Show All
Visual Studio Team System Get Latest Version is not..?
We have been experiencing some issues with Get Latest Version not actually doing a Get Latest. If we compare 2 files that we know are different between a Workspace and the Source Repository we can see differences in the compare tool, but Source Control Explorer indicates that the latest version is on disk. If we delete the file from disk (well, move it), and perform a get, we still do not get the latest copy. The only way of getting the file wit ...Show All
SQL Server Will Work for Help SQL 2k5 SP1 Installation issue (log attached)
The upgrade to SQL 2k5 SP1 fails to upgraede the Database Services. Attached is the log. Will work for help. 05/24/2006 16:19:47.500 ================================================================================ 05/24/2006 16:19:47.500 Hotfix package launched 05/24/2006 16:19:53.687 Product discovery successfully completed during the install process for MSSQLSERVER 05/24/2006 16:19:53.687 SP Level check successfully completed during the ...Show All
.NET Development DWORDS and Sockets
im quite new at programming in C# and .NET so i need some help. in the application that i am writting, i need a way to send multiple types(bytes, dwords, words, etc...) in a packet. a friend of mine reccomended using the BitConverter Class however that caused problems for me. i dont know how to add values to the byte array which then caused me to find a new solution. it was this. simply make a string which contains all the data and then con ...Show All
SQL Server Error Processing Dimensions
Hi, I'm getting an error when processing a Dimension (translated from german): Origin German Error Message: Fehler im Back-End-Datenbankzugriffsmodul. OLE DB hat den unbekannten Status '' fur die 1-Spalte gemeldet. Fehler im OLAP-Speichermodul: Fehler beim Verarbeiten des RATED CDR-Attributs der RATED CDR-Dimension aus der CubeTest2-Datenbank. Translation: Error in the Backend Data Access Module: OLE DB has returned the unknown St ...Show All
SQL Server Error Message is not Displaying in this Query? why?
Hello all please see this query select * from Table1 where Table1ID in (select Table1ID from Table3) Step1 )select Table1ID from Table3 output->Giving error as Table1ID is not valid column in Table3 . Step2)select * from Table1 where Table1ID in (select Table1ID from Table3) Output-> Giving all records of Table1 as i am expecting error from this query . Please check with your demo database and reply. Thanking ...Show All
