Answer Questions
computerbill Prevent Child form from leaving Parent form bounds
I have a couple of child forms in a MDI parent (main form) . I wnat these child windows to be movable. But I want to prevent the user from moving them to outside the bounds of the parent. When I try to move the child outside the bounds of the parent, scrollbars appear in the main form.Can I stop from this to happen I thought of disabling the Autoscroll property (setting it to false) but that did not work. I think it can be done ...Show All
Ludwig Bringing controls out from design-time
I'm using standard DesignSurface for control design in my custom editor and I'm trying to serialize designed controls with my custom serializator that simply recursively parses the root component and emits custom serialization data for each and every component. The problem is that some components contain objects that were created by their designers. For example, the MenuStrip in its Items collection has a DesignerToolStripMenuHost object tha ...Show All
Jacky Chau set client area of control that inherits from panel
Hi everyone I have a control that inherits from the panel control, but I need to be able to do some custom drawing in the top 30 pixels of the control and add some controls, the rest of the control area is for controls to be&nbs ...Show All
modtran SplitContainer Panel MinSize Defect?
I have a vertical split SplitContainer inside the top panel of a horizontal split SplitContainer and am trying to set the panel2 min size for it. I'm getting the following designer error: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize. This is somewhat confusing first of all, since the change was made in the designer. In the first instance therefore, I'm assuming this is a bug in the designer. The logic o ...Show All
John P. Nelson NO BussinesRules Separation!
Hi! I have been reading the code of IssueVission I can not find a clear separation between Model View, and Controllers (all bussines logic is mixed with the Views)... Why hiya, a bit late, I know... I think that the biz rules se ...Show All
garethadams Creating a Bindable Control
I've been searching and can't find anything on the subject. I'd like to make a control that has a DataSource, ValueMember & DisplayMember just like all the regular WindowsForms Controls. Is there a standard way of doing this Any links&n ...Show All
evans databinding to labels does not update datasource
Hi, I have a windows forms on which i update some dataset. I have another window on which i update just one row of data from the first form(collision resolution). There are some textboxes, comboboxes and labels on the second form which i databound to. Although the changes from editable controls can be seen on the first form, the changes associated with labels can not be seen, or is not available when the control comes back to first form. I ch ...Show All
Matt Attaway Changing ToolstripButton BackgroundImage
Hi, I have a problem whe I try to change the background image of a toolstripbutton. I implemented the MouseEnter and MouseLeave events change the backgroundimage: System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid)); this->toolStripButton1->BackgroundImage = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripButton1.newBackgroun ...Show All
Ed Maia Access sql mobile from winforms applicacion?
Is that possible, I just want to test if I can isert, update and delete, to a sql server mobile with activesync or connected via wifi ...Show All
jeffwu how to bind datareader to datagridview in vb.net2005
how to bind datareader to datagridview in vb.net2005 Hi! You can't bind it to data reader, look for alternative like dataset, datatable, BindingSource or any class that implements any of IList,IListSource,IBindingList or IBindingList interfaces. Sohail. ...Show All
PRASAD_VIZAG How to change the keys in the config file
Hi, We are using the ClickOnce technology in Visual Studio 2005 to deploy the C# Windows applications. Here we are getting the problem in the clint site when we need to change the configuration settings. The files in the server deploy with the extention .deploy, when we open the app.exe.cong.deploy file with the notepad and change the keys and save, it is loosing some of the keys. When we try to connect to server and install the applicatio ...Show All
Silver Accelerate File Upload/Download
Hi all, I would like to create an application client/server that exchange files. File size is beyond my control so the only solution I can imagine is to accelarate download and/or upload of this files. Any suggestions or recommendation will be appreciat ...Show All
rtnews0423 Tabs Voluntarily Rearrange Themselves...
I've heard of lots people with this problem, but I've never seen an official (or unofficial, for that matter) reason, work-around, or bug confirmation for it. My tabs in my application randomly rearrange themselves randomly in debug mode somewhere between F5'ing, saving, and closing/opening Visual Studio. I can go into the collection in the tab properties and arrange them back the way they belong, but then 15 minutes, an hour, a day lat ...Show All
LA-3243 Jerry Dynamically switching queries and databases
I am using VS2005 and am able to bind a complex query to a DataGridView at design time. What I ultimately want to do is: (1) Select a named query from a drop-down box then reconfigure the DataGridView for the appropriate number of columns and repopulate with the new query. (2) Select a database from a drop-down box and refresh the DataGridView with data from the new database. (Assume I have created the appropriate DataSources.) I see wh ...Show All
ksrksr Urgent: ThreadPool
Hey, I really need to be able to make a button that stops my ThreadPool but i am really stuck on how to do it. Any help would be greatly appreciated as this is really urgent Chris ...Show All
