Answer Questions
surajguru How do you merge a ContextMenuStrip with a MenuStrip?
I have a MenuStrip with 3 items on it: File, Edit and Help. I'd like to merge a ContextMenuStrip I've created with the Edit sub menu. I've been scratching my head and trying without success now for over an hour. I've been attempting to use ToolStripManager.Merge() am I on the right track Please help! merge menu will create submenu item, for Example if Main menu contains - File,Edit and Hel ...Show All
Sumedh Barde - MSFT Exception Assistant not showing
I'm running some code that I know should be throwing an unhandled exception. However, the Exception Assistant never shows up, and the application keeps running normally as if I chose to continue running in the Exception Assistant. I tried resetting the settings to default in Tools -> Import and Export settings, but no dice. Any ideas on how to get the Exception Assistant back (Trying to debug code when you don't know an exception is being thr ...Show All
Scorpion Prince obfuscate dll
How can i obfuscate dll in vs2003 You can use Dotfuscator Community Edition including in vs2003, open your project in tools->Dotfuscator Community Edition ...Show All
Vishalbhambure Object Test Bench and arrays as parameters
Hello! How do I pass an array as a parameter to the method of the instance of the class in Object Test Bench I.e. say there is a method that accepts parameter of type byte[], how can I come up with it I tried typing something like new byte[] {10,20}, but it was not helping. I though about using Framework's Array, but it does not have constructors. Will try ArrayList and then calling ToArray, but I feel that there is gotta be so ...Show All
boon3333 Updating a database from dataset
I seem to have spent forever trying to get this to work. I have a data table in a form that is bound to a query that combines some data from two tables. However, I absolutely can't get Update to work! To make things simple, suppose the query lets the user enter a score for say, an NFL team. It take a score for every NFL team every week. That's no problem, it can be easily entered into a data table that's on the form. But how do I update the info ...Show All
Lewis Lee Dynamically moving controls
I have six panels, each panel contains a textbox and its label. Each panel has a checkbox associated with it on the form, but outside of its respective panel. I only want the panels whos checkboxes are checked to be visible. If another checkbox is checked, I want that respective panel to be displayed directly under the last panel displayed. Once that checkbox is unchecked, I want the panel to disapear, and all the other panels that come after, t ...Show All
Atmapuri Need Help Learning C# after Java
I would like to learn about C# and .NET. I'm coming from a Java background. I know this question has been asked many times, but I couldn't find anything with the search. What sites can help a Java developer learn C# and how to use the .NET framework I'm not interested in Windows GUI programming, just Web programming. Also, I'd like to know more than the syntax difference between Java and C# and some discussion about .NET and the available libr ...Show All
Pavel Brokhman Console commands
hi ppl.. i have a prgram that needs to be able to emulate console (cmd) commands... i want to execute cmd commands but do not show cmd... for example... run the command dir.. and retreive the result without using the Run() method. .. cause it shows the cmd,, is there any way to do this thx mig16 I have tested it now, but i don't receive the full output iether. Check this example at GotDotNet: netstat in C# ...Show All
Cory Dixon XML in Application Tutorial/Example?
Are there anygood Tutorials/Examples on reading and writing XML files in C# applications Mateusz functionx.com has some quite simple tutorials for you to get started on XML in c#. check out: http://www.functionx.com/vcsharp/index.html ...Show All
Shan0315 How to retrieve an image and display from a table in Microsoft Access DB?
In a table of Microsoft Access DB, images are stored in an object-type column. Now I want to retrieve them out and display in C#, how to do Had better give me some sample codes if possible. Hi, AfterBurner, Your codes is to display images on Web page, but my purpose is to retrieve & display images on a pictureBox of Windows Form. Do you have any idea In addition, do you know whether OLE objects ...Show All
Nectuss Questions on DXVA2.0 and Media foundation
Hi 1. How does IDirectXVideoAccelerationService, IDirectXVideoDecoderService and IDirectXVideoProcessorService differ 2. Will IDirectXVideoProcessorService make it possible to program the Video Processor as such on the nVidia Geforce 6/7 series, so ISV's could implement their own algortihms for tasks like noise reduction and deinterlacing 3. How does the different DXVA2_SURFACETYPE's differ 4. What are the main differences between t ...Show All
Brandon H. char in C# vs chr in Studio 6.0
Greetings, Does any one know why does chr(92) in VS 6.0, VFox 9.0, and MS Query Analyzer etc return \ while in C# char(92) returns \\ What can I do to fix it This issue is causing my decryption routines to return erratic data. Thanks foro your help I will lock this thread because it is a double post. Please take a look at your other post where i posted the answer. ...Show All
Andy Thevelein Retrieve Host Address
i am using C# Express Beta 2 and i am looking to resolve a website address but i don't know how to do this. please advise Could: System.Net.Dns.GetHostEntry be what you are looking for http://msdn2.microsoft.com/library/ms143998(en-us,vs.80).aspx Best regards, Johan Stenberg ...Show All
Mr.Sun Error executing myQuery.ExecuteQuery(...).
I'm a newbie. I tried this simple console code. The compilation was ok, but the code crashed when it invoked myQuery.ExecuteQuery(...). Any hint for me QueryBuilder myQuery; myQuery = new QueryBuilder(); DataSet dataGrid1; dataGrid1 = myQuery.resultSet; myQuery.clearColumns(); myQuery.addColumnList(ColumnType.GeneralColumnList); myQuery.addColumnList(ColumnType.MusicColumnList); myQuery.sortColumn = ColumnType.GeneralColumns.DocTitle; string yq ...Show All
Steve Cook MSFT Best practice
Ok, I have a question on what would be the best practice for a translator... If you have 5 languages: English, Chinese, German, French, and Swedish and you have different methods for converting each one into each other what would bet he best practice Heres an example: If you selected Chinese as the starting Language and English as the Ending Language it'll return "zh-CN%7Cen" as the code needed to post. I'm thinking i'll create an enu ...Show All
