Answer Questions
jan_alex Making a window the background
I have a main window that is maximised and I want it to be the background, so that other open windows of the application remain in view even when the menu in the main window is used. There seems to be no BottomMost property for windows. If I set the TopMost property of the main window to false and set the same property of other windows to true, the main window will remain in the background. But Message Boxes and predefined Dialog Box ...Show All
Elham Sarikhani Floating Toolbar Can't Edit Text! Suggestions?
Hello Everyone! I was wondering if you could help me with something. I'm writing a floating toolbar control in c#. I have used a standard form, overridden CreateParams, and set the style to WS_Child (along with a few others using WinUser.h definitions). This very nicely prevents the toolbar form from taking focus from the main form and still allows me to click buttons and checkboxes on the toolbar. My problem is this, by ...Show All
kidrupe ***FIX*** Error installing Winforms 2.0 application with ClickOnce deployment
Hi. I have an Winforms 2.0 application that I want to deploy using ClickOnce deployment. I have tried it and the deployment seems to work. I get the webpage where I can install the application from, but when I try installing the application I get an Windows error dialog and a '.NET Runtime 2.0 Error Reporting' entry in my Windows eventlog. Detailed error message: EventType clr20r3, P1 app.exe, P2 1.0.2211.28810, P3 43d0fb04, P4 mscorlib, P5 ...Show All
Berinfo77 Process Problem
I have a C# Application that runs a process as another user(using CreateProcessWithLogonW API) and takes control of this process , passing paramters to it( with another API). The application works fine under Windows 2000 , but when I tested with Windows& ...Show All
Miles P. Thornton Editing Inherited Properties in the Propertygrid
Hi, I'm using the propertygrid to edit a objects propertys. The grid shows all inherited properties in gray (read only). Is is not possible to edit them. What I can do to edit those properties Thanks in advance Tommy Are those properties 'complex' if yes you have to asign (and possebly write) a property editor and typeconverter Remco you can use for instance ...Show All
glebd Genetic algorithms in Terrarium
Hi, i wonder if anybody tried to introduce creature with genetic algorithm and if he are, what was results of this. I planing to introduce soon one such creature but it needs to bi trained in local farm to get some advanced behavior before some ...Show All
MatHobbs Getting Extended System Colours
Does anyone know how to get the "extended" system colours in managed code If you open the Display dialog (Appearance / Advanced), quite a few of items contain Colour 1 and Colour 2. I need to get both to make my "Custom&q ...Show All
VB Worker DataGridViewComboBox in DataGridView problem
the following code gives me 'DataGridViewComboBox Cell value is not valid': //getting a dataSet this .dsVerificationProcessInfo = DALcompany .GetVerificationProcessInfo(company.CompanyID, country); //setting dataGridView's dataSource to dataTable this .gridVerificationProcess.DataSource = this .dsVerificationProcessInfo.Tables[0]; ; //getting data for a dataTable from dataSet this .dtYearsLookup= this .dsVerifica ...Show All
Mark Cann reading text...
Hi, I have this text file: 12-04-1999 blablabla asdaklfjolksdfsgdjaf sfgkljsdgfdsgsg 03-08-2001 asdkjashdkjhaksjhf sgsfgsdgsdgsdgsdgg How can I read only the dates Thanks I think I will use a (I would say) less expensive way: StreamReader sr = new StreamReader(path); while((line = sr.Rea ...Show All
Dan Wood How to make it so an app installs for ALL users, not just the current one?
I noticed when I create a setup.exe and install it, the app goes into \Documents and Settings\myUsername\... etc. How can I make it go into \Documents and Settings\All Users\ And have the shortcut available for all users as well, on a global level BUT still have the application settings on a per-user basis. This version of ClickOnce does not support control of All Users vs. Current User, you ...Show All
SufferTheFools how to chang two listbox focus?
I want to click a button to display item in any one listbox in details. one listbox is inlistbox, other is outlistbox. how to change the focus on the two listboxs public void viewbutton_click(Object sender, System.EventArgs e) { if(this.inlistbox.SelectedItem.GetType()==typeof(Bird)) this.infotextbox.Text = ((Bird)this.inlistbox.SelectedItem).getBirdTotal(); else if(this.inlistbox.SelectedItem.GetType()==typeof(Snake)) this.infotextbox ...Show All
dlesko Inside datagridview - filter value of 1 combobox based on 2 combobox selected value
Hi friends, Please note that both the comboboxes are unbound and are inside the datagridview. I have a datagridview with 2 comboboxcolumns - one showing the "category" and other the "sub category". Category and Sub Category are related tables - 1 to many. When I select the value from Category comboxbox, the sub category comboxbox should only display values which are applicable based on the selected category. An ...Show All
RacingJack Identifying open windows
I need to be able to iterate through all the open windows on my desktop to see if a specific window belonging to a certain app is open. I have tried using Process.GetProcesses() but this only gives the MainWindowTitle of the currently active window for a given process. The particular app I am interested in (a multiplayer game) may have multiple windows open at any given time, each with it's own window title which indicates the game being played ...Show All
Pranky How to Hide/Show the node of the TreeView?
Hi , I want to show and hide the particular nodes in the treeview. How can I achive it Can you anybody help me Looks like it's not possible: http://www.dotnet247.com/247reference/msgs/26/133699.aspx http://groups.google.fr/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/a6b49cc8ee2e8f05/ac2ba7d29684dcfa lnk=st&q=hide+node+in+treeview+%2Bdotnet&rnum=2&hl=fr#ac2ba7d29684dcfa You need to change its style p ...Show All
akinbahri Installation aborts: "The parameter is incorrect"
When I install the TaskVision Source for VB.NET, the progress bar almost completes but stops abruptly. A dialog box saying "The parameter is incorrect" appears and everything rollsback. I have .NET Framework 1.1, VSNET 2003 on WS03. Here is the eve ...Show All
