Answer Questions
nirnet MDI + external exe
Hi can anybody give me the code so that i can load external exe's as MDI childs into my application. Also cn anybody give me code so that i can load exe's from .dlls as MDI childs into my application Thx I cant seem to load a vb6 exe into it How come. It's complaining about an assembly I'm not posting the whole code, but here is the code to add a MDIChild. This should appear in one of your menu selection. This is pre ...Show All
NickJensen Datagridview Listing Down to Up
Hi; When i add new record to database datagridview shows it at the last row of the list but i want to show it on the first row of the datagridview That means new records are must be show on the top of the datagridview. MyDatabase Table1 ------------------------- BOF record1 record2 ..... EOF Datagridview ------------------------ EOF ( First Row) ..... record2 record1 BOF I want datagrid like this. ...Show All
pezimadio Dynamically loading MDIchild forms at runtime
Hi all, I would like to create an application where i can easily add / update components (e.g. inventory component, customers component) to the application without modifying the main project. I tried to design the architecture based on a MDI-application where I define the components in MDIchilds. The MDI-parent is then the main project. Each MDI-child has to be registered in a database and subsequently based on a user's credentials, this MDI ...Show All
Terry Murphy Stop user from selecting another item in ListView
Is there anyone that knows how to stop the ListView from changing the current selection state. On the Form class you can stop the form from closing by using the FormClosing event. See the code below: private void SupportCallMonitorForm_FormClosing( object sender, FormClosingEventArgs e) { e.Cancel = true; } Is there something similar on the ListView for item selection changes ...Show All
XE Paul Visual Stuido Push-Pin Panel
Does anyone know if you can use the push pin panel that visual studio offers in your own programs If not, is there a good example on how to mimic the functionality Thanks Eric There is no such control in the standard Visual Studio control set. However, this FREE docking library offers all of its functionality, and it is very nice and well coded. Check it out! Thank you for the information.. I do ...Show All
Patrick F When/Where should I instantiate the control when placing on the designer
I'd like to pre-populate some properties of a control when drag'ndrop from the toolbox onto the custom designer. When should I set these properties During the onselection, drag event, or somewhere else Thanks, Alan This is going to be really tricky. The problem is that the TableLayoutPanelDesigner hooks OnControlAdded on the TableLayoutPanel. In this method, we set ColumnSpan/RowSpan to 1. ComponentAdded is ...Show All
frrobi The solution
Hey guys, Would it be too hard to put a status indicator on the web site somewhere indicating the availability of the server. Ie, a red or green light representing the server status being available or not would be a nice feature. I for on ...Show All
Steve Hale CaptionButton for WindowsForm
Hello everybody, how can I add a Button to the TitleBar of a WindowsForm. I do not know how to get access to the non-client-area of the windows form, and how to paint a Button with a image on it. Is there a way in manged code to& ...Show All
Catadmin Binding XML to a grid
I have a file with a *.fls extension that is actually just an xml sheet. I just want to read it into a grid. Nothing cute, nothing fancy just want to show it on screen in 3 columns. (time, speaker, text) I tried: Dim ds As DataSet&nbs ...Show All
N.S. Farr .NET Updater Component
I really think the self-updating component is pretty neat, and I plan to play with this feature over the weekend. However, I'm curious about the need to download all files when a new version is released. Version 1.0.0.0 of the app and 1.1.0.0& ...Show All
Efraim Kyriakidis ClickOnce updates all assemblys!
Hi, I am now trying to deploy with Click Once, and have run into 2 problems/questions. I have 6 projects 1 win and 5 class libs. I seem to think that with Click Once I should be able to make a change to library X and redeploy, in turn the user would only need to download that one assembly. The problem I am having is, a change to 1 library forces the user to download the entire application again. I must just be missing something, what is the wa ...Show All
Jimqjp VB.NET and VB interop
Is it possible to host a vb.net winform inside of a VB6 mdi application and have it load as a mdi child I am able to bring up the vb.net winform in the VB6 app, but it does not behave as a mdi child. Using a Windows Forms Form inside of a VB6 application is not a supported scenario. You could probably hack together something by grabbing the HWND the Windows Forms Form and parent it to your VB6 window, b ...Show All
edlegs Add/Insert Items to a ComboBox
In asp.Net I do it like this: DropDownList1.Items.Insert(0, New ListItem("Display Text", "Value")) I need to use the add and insert methods of the windows forms combobox to add both the Display and value items to a combobox. I know both methods ...Show All
Dave Heinemann Does WebBrowser control in .net 2.0 support blocking pop-up windows?
If yes, how to accomplish this Thanks in advance. Oops, why isn't there any response or just clew about my query Oh, come on. I can't believe that there's no official answer to this question, even no reply. Yes, i think so. the rtm version of .NET 2.0 has been released. and i don't find any method to block the pop-ups either. what a pity!!! yes,I got the "MVS 2005 RTM" via internet today,and i'm dreamimg the new one w ...Show All
ges what error in my code?
private void MoveNode(TreeView src, TreeView dest, bool isAll) { TreeNode root = null; foreach(TreeNode n in dest.Nodes) { if(Convert.ToInt32(n.Tag) == rootNodeId) { root = n; } } if(root != null) { if(isAll) { foreach(TreeNode n in src.Nodes) { if(Convert.ToInt32(n.Tag) != rootNodeId) { root.Nodes.Add(n); src.Nodes.RemoveAt(n.Index); } } } else { src.Nodes.RemoveAt(src.SelectedNode.Index); ...Show All
