Answer Questions
Pzyber Click events on datagrid
Hi, In datagrid, if you click a column header, the rows of data will be sorted automatically. Now, I want to impletement a double click event on the column too, so that when double clicking, another window will pop up showing the detailed  ...Show All
Rob Lorimer Deny MessageBox in WebBrowser Control
Hi, I've been racking my brains & losing sleep getting a WebBrowser control (in a vb/c# vs2005 Windows App) deny MessageBoxs . I can do it really (really) messily, but would prefer having the following c++ code in a UserControl or something, anything //this Form contains WebBrowser Control public partial class WebBrowserForm : Form { protected override void WndProc(ref Message m) { if (m.Msg == 134 || m.Msg = ...Show All
Christopher Roberts TextBox Help
OK. HERES MY PROBLEM. I HAVE A TEXTBOX AND A COMBOBOX AND A BUTTON. WHEN THE USER TYPES SOMETHING IN A TEXTBOX, I WANT THE BUTTON TO BE ABLE TO FIND A CERTAIN WORD IN THE TEXTBOX, AND DISPLAY CERTAIN TEXT IN THE COMBOBOX. FOR EXAMPLE. SAY IF THE SPECIFIC WORD I WANT IN BLUE. IF THE USER TYPES ANYTHING WITH THE WORD BLUE IN IT, I WANT THE COMBOBOX TO READ "HELLO". REGARDLESS IF THE USER TYPES "HELLO, MY NAME IS BLUE", OR "MY FAVORITE COLOR IS BLU ...Show All
biyikli79 To Long for startup the Application
Hello people, I have troubles when I create a empty Windows Form Application in C# and I start this after a reboot the first time. It takes nearly 30 seconds til the Windows Form is shown. The second time the Windows Form is shown directly. Now my question is what can I do against the 30 seconds the first time. It would be help ful when I could show a splashform during this time or anything else so that the user gets a short reaction. Further ...Show All
Destroy89 Printing DatagridView
Hi, I'd like to print only certain columns of a DataGridView. How would something like this be done I couldn't find any code examples. Thanks Ok i have managed that too. If anyone will run into similar problem here is a way to set it right. In while loop in posted code you must set Do While nRowPos < DataGridView1.Rows.Count - 1 you must delet -1. It should look like this Do While nRowPos < DataGr ...Show All
Jasonhol Operation is not valid due to the current state of the object.
Somebody got a clue about this message: Operation is not valid due to the current state of the object. regards remco Remco, Are the complaints anything to be concerned about Is there something I can do to prevent them I'm assuming I'm probably doing something "wrong" in my class from the designer's perspective and that there must be something that I should surround with an if(!this.DesignM ...Show All
Gilch Property Grid Troubles
Hows everyone doing. I have a question that I'm hoping someone can shed some light on. I have been using the PropertyGrid object to display the properties of an object that is selected in a tree view. This works fine however here is my iss ...Show All
Dimitris DOukas Dreaded Failed to enable constraints!!
After wasting a few hours on this dang error, I thought I would post on here for some help! OK, here's the code in error: datagridBills.DataSource = Me .BillTableAdapter.GetDataByDateAs(e.Start.Date) This is a datagrid and NOT a datagridview. GetDataByDateAs: SELECT Bill_Name AS Name, Bill_Balance AS Balance,IsPaid, Bill_dueDate, Bill_ID FROM Bill WHERE Bill_dueDate = @date Now, I don't understand why this works perfect ...Show All
Shenry Docking one form to another
New to VB.Net programming. I want to open Form2 from a button on Form1. Got this far. Form2 has no border, I want it to appear to be part of Form1, (like a frame in a web page, everything else on the page stays the same exc ...Show All
Kamlakar Populating a textbox on one form from another form
What is the best way to do this I have a need to have an open forms textbox populated by another form. The 2nd form creates a Group (a team of 1-5 employees), adds members (employees) to it. When done the Group is saved to&nbs ...Show All
graphicsxp_too Deploying a Win Form via Web Server
I'm trying to setup a web server on my intranet to deploy windows forms applications. I've written a VERY simply app, the classic "Hello World" and have successfully tested launching the app from my local machine (ex. http://localhost/helloworld/hellowo ...Show All
Kujp Sucisv Treeview Nodes.Add Problem
I have a problem when I add a child node. When the tree loads the first time, all the child nodes display correctly. If I add a child node, it gets saved to the database, and I clear out the tree (treeview.Nodes.Clear) and repopulate it for the new node to show. However, now the new node I just added, appears in another location and I end up with 2 child nodes with the same name. Any ideas on how to make the treeview refresh cor ...Show All
Tom Gillespie Tear-off ToolStrips?
Is there a way to allow ToolStrips to be moved around and undocked as in Office and Visual Studio I would like to know as well. I've searched the web for literally 4 hours today trying to find *some* sort of example&n ...Show All
codoherty scrollbars in windowsforms
I have a form with a maximum height, the width always the same. When the maximum height is exceeded, scrollbars automatically appear. I want to keep the vertical scrollbars, but a horizontal also appears, because the vertical one is placed inside the form. (the width of the vertical scrollbar is the width which the horizontal appears for) How can i solve this problem Adjusting the width of the form doesn't help. I really want the hor ...Show All
WayneBrantley Losing reference to object on timer refresh after a long period
I have a particular form that is running a timer. On each set interval, it will get its underlying biz object to re-query the database so its DataSet of tables can be refreshed, and new results displayed in the DataGrid. private void timerRefr ...Show All
