Developer Express - Dustin's Q&A profile
Windows Forms TextBox Context Menu
How do I remove the context menu of a textbox in VB.NET How do I disable/remove individual items in a textbox context menu Using your custom properties inside WndProc method has no conflict, logically it should work. Be reminded that the other window messages (WM_PASTE, WM_UNDO, etc.) are the actions not the context menu entry itself. You& ...Show All
Windows Forms Can someone please tell me why my debugger stops code execution
I am using Async client server programming and opening a form in the receive data event. But the debugger just stops code execution at this point. I am pasting the code below. If anyone could share any ideas it would be great. Everything works perfectly fine till I reach Sub DoMsgProcessin() for Case 2 when I try to set a paramString for the ...Show All
Visual Studio Express Editions Activation
Hello everyone This may seem like an extremely daft question but, I've just installed VWD and i've activated it, and i remember seeing this page http://lab.msdn.microsoft.com/express/register/ and as you can see it says that there are a few books that i can view. great i thought, One thing where are they and how do i get to them Sorry for this. thanks Tom I have the same problem with "VWD 2005 Express Edition Beta 2". I need the "Activation Key" but I keep getting "Pending limit exceeded". ...Show All
Visual Studio Express Editions Free and good Tutorials
hi, i hope if anyone counter a good free tutorial that talk about the new concepts of "OO" to share it in this thread . this is a very good online Tutorial its free and covers almost of basics in brief and good explanation the best dictionary to explain computer terms note :- this dictionary have other sections so search for technology sections there a list of terms that used in computer field its not good like the previous one, but it helps hope that will be helpfull hi, i forgot to add those links (regesteration benifits) get vb.net build a program now ...Show All
SQL Server A "not in"-lookup?
Hi, This may be an easy one, but I can't seem to crack it: What would be the best way to implement a "not in"-loopkup. I want all the rows in my dataflow, where the key is not found in a specific table, to proceed in the data flow. I could modify my data source only selecting the rows I'm interested in. However I don't like this solution as it is not very transparent. I could also just use a Loopup transformation and then just use the Error Output for the rest of the flow. I don't like this solution either as it is a reverse approach. Is there a third, and better, solution or will I have to go with one of the two above Regards, Sune ...Show All
Windows Forms Custom MainMenu control positioning
Is it possible to customize the location of the MainMenu control I'm not positive but I think the MainMenu control is drawn in the non-client area of the form. What I'd like is a MainMenu that draws itself lower in the form. An example of this would be Internet Explorer, where you can place the MainMenu below the toolbars. In m ...Show All
Visual C# Problem with LRC-Checksum
Hello, I try to get an LRC-Checksum (XOR of each string) of the following hex 41 30 31 54 30 30 30 30 30 30 30 30 30 30 30 31 30 39 39 34 35 30 30 03 and my result is 05 which seems to be wrong. I calculate it with string GetChecksum( string sentence) { // Loop through all chars to get a checksum //char Character; int Checksum=0; foreach ( char Character in sentence) { // XOR the checksum with this character's value Checksum = Checksum ^ Convert .ToByte(Character); } // Return the checksum formatted as a two-character hexadecimal return Checksum.ToString( "X2" ); } This string will be sent over RS232 to anot ...Show All
Visual Studio Team System Check for true sentence
I want to know how can I check a sentence like that on the code: if(isInt == true) I mean, I want to know if that sentence exist on the code... Rodrigo, What are you tried to achieve Are trying to determine the unnecessary comparision to true For example, you would fire on the following: if (isInt == true ) { } but the following would be okay: if (isInt) { } If so, then this is not possible. FxCop analyzes the end binary and not the source code, and both conditional statements above compile into the same IL. If this is not what you are trying to do, can you provide more information ...Show All
Visual C++ noob question
Iam using Visual C++ 2005 expresss editon beta. My problem is that when i build my program where does it save the exe to i've already looked into my project folder but it is not there Is there a certain button or something, your help would be greatly appreciated. I need to be directed to a site that defines and shows the commands for C++ ...Show All
Visual FoxPro How to access VFP popup errors?
Hi all I am writing an external application which can detect Foxpro errors. The problem I am having is the native VFP error popup. I can not access the message text in that popup. Windows API can only return the handle and the title of the main popup window. It does not detect any children of that window. Sample: Is there a way that I can access to the "Variable 'A' is not found." text message from an external app This screen shot is a sample: http://img.photobucket.com/albums/v306/xedap/fox2.jpg Windows API can detect and access other appplication popups. With the MESSAGEBOX in VFP, I can access the text message without any problem. It h ...Show All
Visual Studio 2008 (Pre-release) Multicast in WCF
Hi, all How to implement multicast with WCF i have been playing with the UDP sample come with the Feb SDK but seems can't get it work. im new at this so need advice and help. I understand MSMQ 3.0 support multicast, anyone have experience to apply it in real project and hows the performance. another question, does it true that MSMQ doesn't support multicasting transactional messages thanks a lot try the following: <client> <endpoint name="MyEndpoint"   ...Show All
Windows Forms ClickOnce ... endless frustrations
Hi, if ClickOnce was a person i'd certainly give it a knock out right now ... I'm so frustrated with that thing, using it since the early alpha bits and always having problems with it ... now in beta 2 it doesn't work again the way it's supposed to. The specific problems I have right now are: As soon as I activate ClickOnce security settings, setting them to full trust and debugging the applicatin with this permission set, as soon I try to launch my application I get: "This application has failed to start because the application configuration is incorrect. Review the manifest for possible errors." In the EventViewer i get 4 SidebySide err ...Show All
Windows Forms Can DataGridViewComboBoxCell be able to edit by user (like a normal Combobox)?
Can DataGridViewComboBoxCell be able to edit by user, like a normal ComboBox If can't, how to customize a cell/column to get this feature Thanks a lot! The DataGridView does not support this by default. You'll need to customize parts to get this to work. Check out the DataGridView FAQ for more details: http://www.windowsforms.net/Samples/Go%20To%20Market/DataGridView/DataGridView%20FAQ.doc -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
Windows Forms DataGridView: Access Value property of cells.
I have a DataGridView that is bound to a table from a dataset. The user is allowed to add new rows to the DataGridView, and as such I have followed the code example given here to validate user input: http://winfx.msdn.microsoft.com/library/default.asp url=/library/en-us/dv_fxmclictl/html/a4f1d015-2969-430c-8ea2-b612d179c290.asp When I try to access the Value or FormattedValue properties of a cell in the CellValidating event handler, they always return the empty string and not what was input in the cell. Anyone know why this could be happening I've also hit another problem, I've added an expression column to the DataTable underlying the D ...Show All
Visual Studio 2008 (Pre-release) Why the reverse German-like syntax?
Why do the LINQ queries have to look like a SQL query in German If you are trying to make it easier and are adding SQL-like keywords to the language, at least keep the ordering the same as SQL. The way this is, I have to know C#, SQL for triggers and stored procedures, and LINQ for the in-code queries. I don't see how this is going to make my life any easier. > .... why then has VB decided to do it the wrong way This would hardly be a first for VB and cannot be taken as a guide for what C# should do. I am not on the team, and am not from MS, but what's clear to me is tha ...Show All
