Francisco73's Q&A profile
Windows Forms DataGridView : Bug at the last row and last Column ?
Hi ! I think I found a bug again. try to press ENTER at the last row and last visible column of a DataGridView and try to move to another cell using the arrows. What happens ANSWER: "The cursor stay locked there !!!" MANUALLY SOLUTION: You have to press the mouse again into the grid PROGRAMATICALLY SOLUTION: It's amazing ! Best regards, Joao Araujo There must be a bug in your code. I've tried all I could to duplicate this but couldn't do so. -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
Visual Studio Team System Error TF84037 with Excel Team Foundation AddIn
I get the following error when I try to open Excel documents stored on the TFS. TF84037: There was a problem initializing the Microsoft Excel Team Foundation Addin. Re-installing the Team Foundation Client may be required. I've attempted a full uninstall and re-install but that have no effect. Please provide more information on the TFS version you are using and the steps leading to this error. Does this happen for every Excel file or a specific file If you open Excel and try to connect to a particular TFS project, does that work ...Show All
Visual C++ C# to C++
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace Map_Maker_Worker { /// <summary> /// Dialog for a useless application that runs a checksum on multiple maps. /// </summary> public class frmSigner : System.Windows.Forms.Form { private System.Windows.Forms.Button btnSelectMaps; private System.Windows.Forms.Button btnRemove; private System.Windows.Forms.Button btnSign; private System.Windows.Forms.ListBox lbx; private System.Windows.Forms.OpenF ...Show All
Windows Forms How to play a .mp3 or .wav file
as title Sure you can play mp3 or wav with Media Player. Add the control to the Toolbox by right clicking the Toolbox, selecting "Choose Items...", picking the COM Components tab, and checking the box for the Windows Media Player control. Place a Windows Media Control onto your form. Play a music file by setting the Url property on the player, e.g., AxWindowsMediaPlayer1.URL = " http://www.microsoft.com/rockinmusic.mp3 " or AxWindowsMediaPlayer1.URL = "C:\test.mp3" If you want to hide the media controls and have your own buttons or user interface to limit functionality say Only a play button ...Show All
.NET Development Access Denied - (HTMLAnchorElement).click(); Why?
I am trying to create automated testing of an asp.net website by using the mshtml classes. Specifically I am taking the <a> anchor elements on a website and trying to just anchor_element.click(); However, when I do that, I am getting an access denied message during runtime at that exact line. Essentially, this is what I have: HTMLAnchorElement anchor_Watch = ( HTMLAnchorElement )theDoc.getElementById( "ctl00_LoginArea_HyperLinkWatch" ); (other code) documentComplete.WaitOne(); anchor_Watch.click(); Anyone know why it would be doing this or possibly how to get it to stop doing this Thanks all, Brenton Well, I figu ...Show All
Visual C++ Display an int in a MessageBox?
Hi, I'm new to C++, have started to use VC++ 2003 at work and dont know much about it because i have only used Java and VB before now. I cant use the debugger for reasons that arent relevant here but all i want to do is use a MessageBox to display an int! I cant seem to do this no matter what i try. I dont care if i have to use the AfxMessageBox function instead but please some one tell me how its done! I'll give you the example below int back_color = 2; how do i display that 2 or rather back_color in a messagebox thats all i am asking! Many thanks Will Yes, format is a me ...Show All
SQL Server SQL - Business Contact Manager
I downloaded Business Contact Manager. With the download an SQL server is part of the download. When I rebooted my machine. The SQL server is not connected. It's asking for: Server Service How is this process completed to operate correctly Thank you, Golf4Dee You should ask this question on an Outlook forum. They should be able to help you troubleshoot any issues you find with the installation package for Business Contact Manager. Thanks Laurentiu ...Show All
.NET Development WSE Asynchronous Server Methods
I can't seem to find anything out on the google web about how to do asynchronous server processing use WSE. For example, lets say I get a request to do something that is potentially long running. I would want to have an asynchronous method with a callback that returns the response without blocking the processing thread. ASP.NET has Asynchronous WebMethod's here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconCreatingAsynchronousXMLWebServiceMethod.asp Where is the WSE equivalent Hi, AFAIK there is no such support in WSE if you are hosting in IIS, you can imple ...Show All
Visual Studio 2008 (Pre-release) How much does Vista itself use WPF/Avalon (managed and unmanaged)?
Hi, Will there be any actual examples of WPF/Avalon being used in Vista (even an WPF/Avalon-ized Notepad would be something :) Is it correct that managed WPF/WCF will be "present" with the shipping Vista, but not actually used by any of it Apparently Vista does use some of the unmanaged DLLs underneath WPF/Avalon, rather than going through the managed interfaces presented by WPF If yes, how widespread is that usage Assuming there is no managed WPF usage in Vista (and presumably no managed WCF usage either), what if anything does this imply about the current "OS-grade" viability of managed WPF code How is this expec ...Show All
SQL Server Standard compliant
Hi, SQL Server 2005 is compliant to which standard Ansi92 / partially ANSI 99, ISO HI, SQL2k5 is ANSI99 compliant. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
.NET Development Troubles extracting data in correct order
Hi everyone, i'm using vb.net 2003, i'm constructing a application, but now i have troubles extracting the data in the correct order. I need to lookup values from one table, either as is, or with DISTINCT, then, while the reader is busy reader (table1), it must also read (table2), but this time, if there is 3 values in (table1), eg categoryid = 1, 2, 3. And in table to is 50 items, it must first extract all the values from (table2), where catid = 1, then, after it has extracted all the values where catid = 1, it must extract the values where catid = 2, etc, etc. I need the values to be extracted in that order, cause once they are extra ...Show All
Windows Forms DataGridViewComboBoxColumn Sorting
hi Is there a way how to sort a DataGridViewComboBoxColumn by its DisplayMember instead of the ValueMember The problem is, that I can't just call the datagridview.Sort Method because the datagridview is bound to an external datasource. The DataGridViewComboBoxColumn is bound to an external datasource as well, and the ValueMember is an Integer. thanks Manuel No there isn't any way to do this. When databound, the DataGridView doesn't perform the sort -- the datasource performs it. -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
Windows Forms e-book
Hi, I would like to know how can I develop a e-book sample using webbrowser control in VS 2005 using C# or VB as preferred language. Any pointers would be highly appreciated. ...Show All
Software Development for Windows Vista Problems with Tutorial Lab03/Ex02/Task02
I am having problems with Lab03/Ex02/Task02. Following the directions I get different problems with different connection strings. For reference, I am using SQL Server 2000 sp4 and has a name of (local)\Tutorial. I have a Data Connection in the Server Explorer to the database, so I know I can connect and view data. Any thoughts would be appreciated. Dave ================================ static string connectionString = @"Integrated Security=SSPI;Persist Security Info=False;" + @"Initial Catalog=TrackingStore;Data Source=(local)\Tutorial"; static string connectionString2 = @"Provider=SQLOLEDB. ...Show All
Windows Forms textboxes, comboboxes, ... return key and tab key
In vb.net textboxes (and other controltypes, I suppose), pressing Return doesn't cause the focus to be passed to the next control (and, therefore, the events related to validation and the like to be fired. On the other hand, pressing Tab key works that way, so.... is there any way (configuration, properties,...) that would make textboxes react to Enter the same than to Tab thanks You can add an event handler for the KeyPress event of each textbox. Then use this code: private void textBox1_KeyPress( object sender, KeyPressEventArgs e) { if (e.KeyChar == '\r' ) {   ...Show All
