Answer Questions
Haggerty Interface Problem. Can someone please help with this thanks.
Hi I have created an object model that I plan to use in an asp.net ecommerce site. Its manily all in vb.net/ado.net so still applies here. I have one object named visit and another named catalog. I have implemented an Interface on the vi ...Show All
laurie0718 Update dataSource from DataSet
I have a web service that returns a dataSet. I then merge it into another dataset. I'd like the merged dataSet (dataSet51) to then populate the dataSource (tblProperty). I get no errors but the dataSource isn't being updated. Here's the code: try { str ...Show All
Adam_Nathan auto compelete textbox in win forms vb.net
hello all, i am making a form inwhich some key word is typed and searched for. I want that if a key word is typed many times to search for, then it should be saved some where and when first letter is typed next time, the whole word or matching words should start appearing like: if three words (master,member,micro) are searched for frequently, then when type 'm' next time, master,member and micro should start appearing just below the ...Show All
Chumplybum Draw in MDIContainer won't work
I am trying to use DrawString and DrawRectangle in the interior area of an MDIContainer form. I can use these functions to draw on a regular form but not this Parent form. In the Paint event of the form I have tried these ways to get& ...Show All
Depassage Frustration With DLL Project
I have only been working with .NET for a few months now, but I am quickly learning to love most of it. Some parts however, I still think need some work. In my latest project I created a DLL file so it can be used by other&n ...Show All
FrankBru Paint Event Problem
I have a Windows application that overrides the Paint method to change the presentation of the form. Basically, it paints a red border around the edge of the form. I also have a couple of panels that fill up the form. One is docked to the left and the other fills the remaining space. Each of these panels also has an override to the paint event. The overrides are in the Form1 class. The problem: The project solution compiles and runs just ...Show All
AjitGadge Multithread
I' ve got a winform with 12 datagrids and I tried use multithread for populate datagrids simultaneously. I know that it's need use method invoke, but I don't can do this yet. Anyone can help me Hi Kamako, Can you explain the&n ...Show All
John LamTaiYin Sending data to a second dialog??
Hallo! I have a Main-Window. From there I call a new modal Dialog, to whom I want to pass some data, see below: private void btn_Prj_anlegen_Click(object sender, EventArgs e) { myProjekt.setDataFromLV(x81_LV); ProjektAnlegenForm prjForm = new ProjektAnlegenForm( myProjekt ); prjForm.ShowDialog(); } But I get the following error: Inconsistent accessibility: parameter type 'Projekt' is less accessible than method 'ProjektA ...Show All
twinsfan08 Modal Window in Another Thread
I have a requirement to open a modal window in another thread which will overlay on top of a panel created in the main UI thread. The application gives an appearance of as though there is only one window to the user. We have an application framework where different pages plug-in like a tabbed dialog mode. One of the page which is actually auto generated code from some rules will open many successive modal windows. When a modal window is ope ...Show All
Tommaso Caldarola right click context menu
hey all, how do i get the right-cliked menu pop down to include options from my application. Like winzip and other application, do it i believe it's handled by windows and you need to edit some entry in the registry for th ...Show All
Tim Roddick On Application End (User Initiated)
I'm currently writing a Windows Console application and I need to determine when the application is closed by the user (by clicking the X button). There must be an event that I can attach to (like on a Windows from, OnClosing) to determine when the application is ending. I've currently attempted handling AppDomain.CurrentDomain.ProcessExit and AppDomain.CurrentDomain.DomainUnload events, which works when the application is ending by i ...Show All
gmitchell7 OpenFileDialog -- file display order?
In the OpenFileDialog, there is a way to choose the order, in which files are displayed. It's the "View Menu", and my particular need at the moment is the "Details" option, Sort By Date. Is there any way to convince the OpenFileDialog control to come up in this configuration Or, at least, in the "Details" display mode Mine always comes up in the "List" mode. Thanks! ...Show All
Nick Tucker How do you catch the delete event on a datagrid
Hi All, I have a datagrid that works. When the user presses the delete button on their keyboard it seems to delete the row from the grid. How do I know what has been deleted from the grid so that I can actually remove it from my actual data. Is there an event I catch or can I compare the data in the grid with my data source. Please help, Danny PS. I am using VB.NET 2003 (C# answers are fine) Their is an event that is called when you hit ...Show All
thuyen How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn?
Hi all! I have DataGridView whose sourse I set to a datatable with 4 columns containing data. I then remove a column, create a DataGridViewComboBoxColumn and insert this into the same location as the column that was removed. I want to set as the selected value in the combo box of every cell in the DataGridView a specific value I have stored in the column of the datable that I removed in the DataGridView. How can I set a value in a cell of the ...Show All
soccerjoe XP themes and Label controls
I want to enable XP themes in an existing application. I know that I need to set the FlatStyle property of each control to System. What I would like to know is if this includes the Label control. Changing a Label's control's F ...Show All
