Answer Questions
michaelos How to implement copy, paste, undo, redo?
hi, can anybody tell me how to implement / enable the edit menu (for "copy", "cut", "paste", "redo", "undo" and "select all") on menu toolStript Thank you in advance. You could use the ClipBoard.SetXXX() and ClipBoard.GetXXX() methods to implement cut copy paste. for redo - undo you need to hold a stack of operations you preform and y ...Show All
protugy dataset designer
Hi there, In TableAdapter Query Configuration Wizard, the " SELECT which returns rows " option was disabled. Is it just temporarly disabled or I'm missing something here Thanks ps:I'm using visual studio 2005 ctp june I am having same problem... is any one know what's issue with this... Thank you... I am looking for an answer to this as well. I tried manually going into the XML and setting ...Show All
charlie_mtz What is the proper way to change what ListBox.Items holds?
In an effort to get rid of VB6.Get/SetItemData from a VB6 project upgraded to .NET, the project has been changed to use custom object classes (e.g., with Name and Data members) in collections. This works fine, but has the performance-overhead and type-unsafety arising from the ListBox.Items member being a generic ObjectCollection . What would be better is to create a subclass of a Listbox that is exactly the same as a normal one, except with a t ...Show All
Maria24 TreeView
Hi, I have created a TreeView object in VB 2005 Beta 2. I have also created a Listview control. My problem is that I can't figure out how to display the treeview items in the listview. Please help. Prospery. The out-of-box ListView doesn't support DataBinding, so you have to build the list manually. Here is a code sample to help you along. It assumes you have a form with a TreeView named treeView1 and a ListView named listView1: ...Show All
K.N. Johansen DataGridViewComboBox - different items each row
After trying desperatly to manipulate the underlying datasource and anything else.... I give up... I tried even to exactly reproduce this example: http://forums.microsoft.com/msdn/showpost.aspx postid=60076&siteid=1 But it simply does not work. Did the behavior of the DataGridView change from the time of that post to now Or do I do something wrong all day long Please help... After giving up on manipulating the underlying DataSource, I ...Show All
Dinesh BCG Install Content Files In A Directory Structure
I am using c# Express. I have created an application that searches for content files(images and sounds) in folders located in the same directory as the application's .exe file. Is it possible to have Clickonce install my application's content files as part of a directory structure rather than a bunch of loose files in the same place as the exefile such as: Appfolder << Dont Care if this is unknown I'm using Directory.GetCurr ...Show All
moreno1978 C# and vb.net problem
am doing a winform in c# and my friend id doing othere winform in vb.net (we r both using VS2003) is there a way so my form can come out in his for (when a user clickes a buttom in his form mine comes out)(i don't want his form to only excute i want him to be able to change my form apprence (my friend in vb.net)) is there a way u can u give me a site that shows that or show me here thanks i ...Show All
Fabita Treestyleview in a datagridview?
Hi I'm looking for advice on how it might be best to go about implementing a tree-view style structure in a datagridview. Currently have an app that displays an array in a datagridview - I use a DGV as it makes displaying, sorting and selecting child's play. The underlying data has changed to now support a sort of folder like string e.g. Project\subproject, to any depth and it would be nice to let the user have the option of a folder li ...Show All
Randy the new guy Panels In Panels
I suspect my question has been answered before--perhaps many times before--but I am new to the site and to VB.NET programming so pointers to previous answers, or a direct answer, will be much appreciated. Here is what I am trying to accomplish: 1.&n ...Show All
Tobisen How to add text to an Image as in photoshop using c#
Hello, I have been trying to create a small paint program. I have finished all of it except just how to add text to the image. I want to add text to the Image through a tool bar button [A] button and then by clicking on the image ...Show All
dannyp accessing a form and its controls knowing the formname
In VBA I used to pass the form object to functions for further manipulation sub cleaform(frm as form) dim ctl as control foreach ctl in frm.controls ctl.value=null ..... May I replicate the same behaviour in .NET, I mean, using the form name to manipulate its controls.... thanks thanks, but I can't see how, In the calling form I pass the Me reference, but in the r ...Show All
Mark.OSVATH Changing Statusbar from MDI Child
Hi, probably a simple question but have not found the solution for it. I try to update components ... in bellow case a status bar from an MDI Child. The forms were created with the Form Designer and I don't see a way to make the ...Show All
NarasimhaMurthy Paint() with UserControl
I wrote a Usercontrol that paints gradient texts via DrawString but have two questions: 1. I want it to print what I enter into a a property called "Text". There is currently no visible Text property that shows when I go into design mode. I also tried using "override" but could never get a property called Text and had to use one called Text1. 2. How can I force it to Paint when each time I perform a KEYDOWN. Currently it only ...Show All
icools.tw Creating a C# Chat Application...
I am wondering exactly how I would create a Chat based windows application using C#. Also if anyone could point me in the direction of any code samples or anything that would be very helpful. Thanks in advance. I'm afraid there is no simple answer to your question. There would be a lot to do, both from the UI and the networking side. You need to have a solid understanding of both areas, as well as general .NET programming, before jumpi ...Show All
Jayne Data grid problem
private void Mousedownhere(object sender, System.Windows.Forms.MouseEventArgs e) { DataGrid myGrid = (DataGrid) sender; System.Windows.Forms.DataGrid.HitTestInfo hti; hti =  ...Show All
