Anthony Whalley's Q&A profile
Visual Studio Team System Feature request: Right-click on a message -> "Turn off this rule"
Currently, to turn off the rule that produced a particular message, I have to click on it, look down to see its RuleFile, find this rule group in "Rules" tree, expand it, find the rule and uncheck it. Too many actions for such a common task, don't you think so Andrew, You're right this would be a great feature. I'll add it to our list of requests for future versions. Thanks for the feedback! ...Show All
Visual Studio 2008 (Pre-release) View sorting does not work for me
Hi, I created a ObservableCollection and all items implement INotifyPropertyChanged . Then I bound this list on a ListView and all updates made to items are displayed correctly. But I want to sort the collection bound to my listview by a property. So I created a ListCollectionView of my ObservableCollection , set Sorting and bound it on my ListBox. Captions are I still updated but my ListBox does not resort even after calling view.Ref ...Show All
Visual C# Very Flaky IDE problems
Whenever I provide a DialogResult MessageBox....YesNo... Whatever the result, Yes or No....my form will close. If result is Yes...the code IS executed...then the form will close. DialogResult = MessageBox .Show( "Are you sure you want to stop the engine " , "Stop" , MessageBoxButtons .YesNo, MessageBoxIcon .Warning); if (DialogResult == DialogResult .Yes) { } note* It appears this will only happen when th ...Show All
Windows Forms Activity Bar
I just got into visual C# and I've gone through the Microsoft tutorials to make a notepad app. I've enhanced it a lot and one feature I'm wanting to add is a little "activity bar" in the corner that activates while opening and saving and then deactivates when the action is complete. I've created the progress bar, customized it, and set its mode to Marquee, but I can't think of any code flow that would let it work! This is basically what I want t ...Show All
Windows Forms Multi-threading problem with Windows Forms (possibly SerialPort too)
I've been having a problem when updating a windows form from a different thread. Data is received on using a SerialPort class which fires the DataReceived event (on a different thread). This thread then calls a method on a form which updates a text box. The code used in the method is just like the sample from the MSDN below, which reroutes the call so that the textbox update is done from the same thread. private void SetText(string text ...Show All
Windows Live Developer Forums Submit an App - Get the Windows Live Messenger Beta!
Would you like early access to the Windows Live Messenger Beta Starting today, November 8 th and running thru 9:00am PST on Monday, November 14 th The first 5 people to submit Activity Apps to the Worlds Best App contest and successfully pass compliance checking will receive an immediate invitation to the Windows Live Messenger Beta! Be one of the first people in the world outside of Microsoft to run with the next version of Windows ...Show All
Windows Forms Working with SQL Database
Hi everyone, I am new to windows forms application. I don't have enough time to read a book I just want to know how to work with an sql database: delete, create,update from a vb.net application (I know sql, I just want to know how to update and create record from the vb.net application) Could you tell me about an article or a website or a tutorial that deal with this. Thanks a lot. Hi, look here: http:/ ...Show All
Windows Forms It works in localhost(local computer) but it does not work on internet.
Hi guys. I am trying to make some program to Deploy WinForms on the Web. What I am doing so far is that the program is working fine in local computer. However, It did not work on another computer using internet. I just follow the web page ...Show All
Visual Basic how to input chinese character into text box
i have made a program that support database, i'm using access for the database. when i want to input chinese character in text box, can't appear the character change into . so i want to know if i need a new installation or there is another way to make it. means OS does not have the character code page. To enable the code page, go to Control Panel -> Regional and Language Options -> Languages -> Check Install files for E ...Show All
.NET Development Traffic meter between clients and HTTP-proxy
Hi, I am trying to calculate traffic passing between clients (mainly Web-browsers) on computers in LAN and corporate HTTP-proxy server. The idea is to set new IP address and port in Internet Options/LAN Setting on these computers, start listening the port, catch client requests and redirect them to the proxy, catch proxy responses and redirect them to clients. I think redirection code could look like: void ListenClients() { Tc ...Show All
.NET Development Client requires callbacks
Hi, I've been developing an application for transfer files between server and client. The remotable object is hosted in IIS on server. The client uses a Windows application for transferring files. The client requires callbacks from server during transfers. This is required for displaying progress bar showing the amount of bytes being transferred. I've used the following configuration files for Server and Client and it works fine on my ...Show All
SQL Server SUM problem in SSRS 2005 report
I don't know how best to explain this but will try. In my SSRS 2005 report, i have one group in my table. In that group, I have a field that for each company record in my dataset, this field value is repeated for each record. This is a transactions table so you'd expect several records in the dataset for each company..that's not the problem. example data from dataset: TransID CompanyID &nbs ...Show All
Windows Forms Eventlog problem
Why do i get this problem when i'm trying to write to the eventlog The description for Event ID ( 0 ) in Source ( MyLog) cannot be found. The local computer may not have the necessary registry information or message DLL files to display&nb ...Show All
Windows Forms Position of context menu
Hi, How can I get the position of context menu Thank's Alexei Normally, the context menu will be shown at the center of the control when the keyboard is used to invoke the context menu of a control (Shift+F10, for example). You can customize the location as follows. Override WndProc in the grid and check if the Message.Msg is WM_CONTEXTMENU (0x007b) If so, check if the Message.LParam is -1, which means this was due to a keyboa ...Show All
.NET Development Is there anything wrong with this line of code?
Dim rsStudentInfo As ADODB.Recordset Dim strStudentInfo as string OpenConnection () call here rsStudentInfo = New adodb.recordset strStudentInfo = "Insert into Student (FName, LName, Age ) values " & _ "(" & FirstName& "," & LastName& "," & Age & ")" I just wanted to save all of the user inputs into the database table but it doesn't do anything and keep giving me 0 in the student ...Show All
