Answer Questions
narva Delegate/Event string length?
Hi. I am using the .NET 2.0 functionality for dealing with safe cross threading calls to a Windows form control, the documentation gives an awesome example using the InvokeRequired method etc... ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxmclictl/html/138f38b6-1099-4fd5-910c-390b41cbad35.htm Just ran into a problem! If i have a string whose length is more than 64 characters long, I get an argu ...Show All
DreadnoughtX XP Style problems with treeview
In my application I have a treeview (with some nodes) docked on left on a winform. Before Application.Run, I call Application.EnableVisualStyles and then Application.DoEvents in order to enable windows xp style for controls. When I start the application, th ...Show All
LeibNiZ Redirecting from win forms to web forms
Hi i have a pblm here. I have a win form hosted in IE. When i click on the submit button on the win form, it will do some processing and redirect to another web form, which i can't achieve. Is there any way that i can do so   ...Show All
JVP Setting DatagridView column type as Combo after databind
Hi, We’re using a datagridview in our winforms prj .. Problem is this .. We have a grid say with 10 columns .. 3 columns are combo’s. ways to go about it are .. 1. set the column heading and column type at design time .. retrieve the records then databind. But in this case .. a new set of columns will be created. In this scenario, is there a way where I can set the column type of the datagrid view to a datagridviewcombobox colu ...Show All
dongdongdog Problems with remove() in System.Windows.Forms.TreeNodeCollection
Hi, I have a problem I seem unable to solve. The case is: I have a class extending System.Windows.Forms.TreeNode. public class GTreeNode : System.Windows.Forms.TreeNode{} My problem now is that when i remove an item from this nodes TreeNodeCollection by doing the following. GTreeNode nodeToRemove = (GTreeNode)myTreeView.selectedNode; int test = nodeToRemove.Parent.Nodes.Count; &n ...Show All
RoMo Form(s) trouble...
I have a problem that driving me crazy. I have one form (main form application), splash form and login form. On main form, I have put Application.EnableVisualStyles(); Application.DoEvents(); and ofcourse, Application.Run(...);. What I want is this. I want the splash form start first, then to display login form and if all datas (from login form) are correct, proceed to that main form. All this is easy to do, but I encounter some problem. I put t ...Show All
Appa quick way of detecting if any changes have been made to form
I am looking to see if there is a quick way of finding out if any changes have been made to a form. Thanks. LOL, I think he meant a change to one of the dialog controls while it is being used, not to the ...Show All
Ben Isbell Doing undo & redo operations....
I have designed one form designer application in C#.Net windows app. Now i want to do undo and redo operations in the form designer application.Is there any possible ways to do this in .net. Thanks in advance, Arun I'm not sure this is what you were asking for... Maybe you should try to use a stack, where you could save all the operations. Yes roxana, I have to use collection object to store the acti ...Show All
Ikram Shaikh Is there BeginUpdate() functionality for the DataGridView?
I have a DataGridView bound to a DataView. A certain points I temporarily sort the DataGridView on specific columns to build filter lists. During these "temporary" sorts on the DataView I would like stop the sort from being applied on the DataGridView, which causes it to redraw. Then after the filter list is created I reapply the DataGridView's last sort. ComboBoxes have BeginUpdate() and EndUpdate() for when changes are made t ...Show All
Mali Buda invalid menu handle
when i try to open a down load, i get invalid menu handle how do i solve this regards nicko I am having the same problem: When trying to view a media file off of the internet and click on "open" I get the following message: "Invalid Menu Handle" Anyone has a solution to this pesky problem i have been searching everywhere for this answer...it worked, thank ...Show All
zelda Splash Screen in VB 2005
I have a Small question i used the preset splash screen that is available in VB 2005 now when i run my project it only shows the splash screen for about 1 second how would i go about controlling the time to show the splash screen before it to continue. I wrote a Win32 component that solves the .NET framework startup problem. It shows a splash screen instantly, whilst loading your .NET application (and the frame ...Show All
Paddy E Record locking Access 2002 Via VB .NET
I am currently designing a windows forms based help desk system in Visual Basic .NET I have recently started testing in a multi-user environment and discovered that a pessimistic record locking scheme is required for this type of data entry. My dile ...Show All
Elyasse - MSFT file not found after setup installed
I created a setup project for my program that has crystal report dependencies. After I install it on a machine and try to view the report I get the following error: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral...or one of it's dependencies. I'm close to ditching Crystal Reports and building my own. This is a pain. I ...Show All
mhdostal Docking Windows in .NET
I would like the Visual Studio .NET like docking windows in my application. These docking windows has their own title bar, close button and also can be docked. Please help me to find out how to create these. Is there any controls out there  ...Show All
Cyber Sinh How to find is a form already open in a Multiple form application
hi, Please tell me how to find if a form is already open so I won't open multiple copies of the same form in the application. many thanks. -VJ As the form is modal, the selected text can't change, so something like this // inside the main form MyOtherForm f2 = new MyOtherForm(comboBox.SelectedText); // inside the class for the other form class MyOtherForm { private string _toolstript ...Show All
