Hi.. I really don't know what to do with my Program, it is needed to have a excel file on MDI Form, But i really don't how to. Can somebody help! Highly Appreciated. : ) Thanks! :)

Member Avatar
Member Avatar
+0 forum 1

hi! i am creating a program that need to import excel file. i really don't know how to. Can someone help? Thanks in Advance! God Bless!

Member Avatar
Member Avatar
+0 forum 2

I have a login form , i want to limit privileges of the user based on their type (e.g ; admin, encoder) wherein when the admin login, the mdi form will load and all the control buttons are accesible for him, while when the encoder login , only one button is enabled for him. this is what i've gone so far If cmbposition.Text = "Administrative Head" Or cmbposition.Text = "HR Head" Or cmbposition.Text = "Team Leader" Or cmbposition.Text = "General Manager" Or cmbposition.Text = "Operation Head" Or cmbposition.Text = "Asst. Operation Head" Or cmbposition.Text = "Programmer" Then MDIEBatch.Show() Me.Hide() txtuser.Clear() …

Member Avatar
Member Avatar
+0 forum 4

Hi all I Currently have a MDI Form that contains a DataGridView. When I open a dialog form as a MDi MdiChildren the dialog form partionly hides behing the Datagridview. (I also tried with a windows form same thing happens). Can any one help me solve this with out having to move the datagrid to a different form. Here is the Code that I use to open the form. Private Sub btnRoom_Click(sender As System.Object, e As System.EventArgs) Handles btnRoom.Click Dim frm As Form Dim opn As Boolean For Each frm In Me.MdiChildren If TypeOf frm Is dlgRoom Then opn = …

Member Avatar
Member Avatar
+0 forum 1

Hello, I am trying to create an MDI application and am having problems with one of the frames. Walking through the errors, the first error points to a list generated by Netbeans code that I think is the null problem. When I look further down the error list, I get to code that I have added in the main frame of the MDI. I was thinking I need to initialize this list from the MonthlyBudgetUI Frame in the MainFrame (at MainFram.<int>). But what I have tried isn't working. I have googled this error message and it seems initiliazing whatever is …

Member Avatar
Member Avatar
+0 forum 3

here's the problem: iam able to make my panel transprent on my main mdi container but when i move my panel to the place where my mdi child form is being shown in my mdi container the panel isnt transparent or i cannot see through the panel. any solution you can gave...

Member Avatar
Member Avatar
+0 forum 3

hi I am using An mdi form which contain many child form and mdi form contain ToolStrip1 in that redo & cut button are not working plz help me out of this Private Sub toolredo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles toolredo.Click Dim activeChild As Form = Me.ActiveMdiChild If (Not activeChild Is Nothing) Then Try Dim tb As TextBox = CType(activeChild.ActiveControl, TextBox) If TextBox.CanRedo = True Then If TextBox.RedoActionName <> "Delete" Then TextBox.Redo() End If End If Catch MessageBox.Show("You need to select a TextBox.") End Try End If End Sub

Member Avatar
Member Avatar
+0 forum 5

hey, i am creating one project where i am using MDI system, so when i am opoening MDICHild in MDI Parent it adds new title bar for MDI child. I tried formborderstyle, have hide controlbox, max - min button but it dident worked ? so can anyone have any solution ??? Thank You....

Member Avatar
Member Avatar
+0 forum 12

Good day to you all, am currently working on a windows application. I used sql compact edition for the database. But the first problem i got was that it kept giving me errors i copied and pasted to error code on google and I got an article that says I should change the cpu type from "Any CPU" to x86. That solved the error thingy. But each time I added things to the DB, closing and re-opening the app, or probably editing the DB schema always result to lost of all records. If I add a new record, I will …

Member Avatar
Member Avatar
+0 forum 4

Hi, I have a MDIParent and forms that i want to show as child. But because each individual child performs heavy tasks I want each child to have it's own thread. here's what I am trying to do... [CODE] void showStartPage() { Form1 p = new Form1(); p.MdiParent = this; p.Show(); } private void ShowNewForm(object sender, EventArgs e) { Thread t = new Thread(new ThreadStart(showForm)); t.SetApartmentState(ApartmentState.STA); t.Start(); } [/CODE] Here showForm is the function that needs to be started in a new thread so that i can start a new form. But i get an exception when using the line …

Member Avatar
Member Avatar
+0 forum 1

I have a problem with MDI forms and their location. I have a container form within which I open several child forms. Also note that in the container form I have a ToolStrip at the top and it is also docked to the top. In each of the child forms I have set the following properties. I have set them at design time as well but it wasn't working for some reason so I put them in the form_load event as well. Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None Me.Dock = DockStyle.Fill ReSizeAndArrange(Me.Width, Me.Height, False) The function ReSizeAndArrange is called on form_load and form_layout …

Member Avatar
+0 forum 0

how to minimize child form inside of parent mdi form in vb.net...? I change the property of "IsMdiContainer" to "True". but when i minimize parent mdi form, it is not minimize the child form... Please help me. Regards Pra$ad.

Member Avatar
Member Avatar
+0 forum 2

Let's think about a small program that has a form and two panels. There is a menu strip at the top and under the "File" menu there are 2 options: "New Form" and "Admin" (and "Quit"). There are 60 fields in different groupboxes in panel1 (a detailed registration form). A new form, panel1, is automatically shown when program is run. From the file menu, when user clicks "admin" option, panel1 should disappear and panel2 should become visible. Since both panels have common fields and functions to control/restrict input, I think I should use the same form. My current algoritm is …

Member Avatar
Member Avatar
+0 forum 4

A little poll, which do you guys prefer to use for an application that uses 2 or more windows at the same time? MDI or modeless dialogs? And the reason why.

Member Avatar
+0 forum 0

Hi All, Can anyone throw idea to make the form as Resolution Independent? Thanks..

Member Avatar
Member Avatar
+0 forum 5

Hi, I have a dilema, I have an MDI app and I open new forms as [CODE] In modBas.bas: Public frmD(50) As frmDocument MDI Form Load (frmMain): Static lDocumentCount As Long lDocumentCount = lDocumentCount + 1 Set frmD(1) = New frmDocument frmD(1).Width = 320 * Screen.TwipsPerPixelX frmD(1).Caption = "Page - Home (" & lDocumentCount & ")" frmD(1).Show lDocumentCount = lDocumentCount + 1 Set frmD(2) = New frmDocument frmD(2).Width = 320 * Screen.TwipsPerPixelX frmD(2).Caption = "Page - About (" & lDocumentCount & ")" frmD(2).Show [/CODE] I can refer to each form as [CODE]frmD(Index).SetFocus[/CODE] [CODE]frmD(Index).Show[/CODE] etc. no problem. However I cannot read …

Member Avatar
Member Avatar
+0 forum 3

Ok So I am trying to save text from a textbox to a rtf file. The Saves Text would come from the active mdi Child. However I can not figure out how to Save using active child just calling the actual form name. Below is my code so far. [CODE]Private Sub SaveAsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveAsToolStripMenuItem.Click Try Dim myfile As String Dim saveFileDialog1 As New SaveFileDialog() myfile = ActiveMdiChild.Text saveFileDialog1.OverwritePrompt = True saveFileDialog1.FileName = myfile saveFileDialog1.Filter = "Rich Text Format (*.rtf)|*.rtf|All files (*.*)|*.*" saveFileDialog1.ShowDialog() If saveFileDialog1.FileName = "" Then Exit Sub End If ' this …

Member Avatar
Member Avatar
+0 forum 4

Hi all i'm trying to make a plugin supported windows MDI application but my brain has stopped! i can't build algorithm! First of all my program will read dll's from plugin directory which is located at the same directory of my MDI parent application, i don't know what will i use for interfaces and classes, for the moment i created an interface which has to set name and i use that name for placing a button on a panel and i created a dll with that sdk, now its working but i want to add forms to that dll and …

Member Avatar
Member Avatar
+0 forum 2

Do you know a book that talks about application development using mdi form? I have a system project at school and I want the system to use mdi forms.

Member Avatar
Member Avatar
+0 forum 1

Here is the issue: I have a multi-form application developed on C# with two forms, after I press a button I hide the first form and show the second, but how can I show the first form again if I close the second one pressing the red close button on the upper right of my window? The FormClosing event doesn´t get this action... Plz help me and Thanx for any answer

Member Avatar
Member Avatar
+0 forum 10

Hi I Have MDI file it has menuitem on click of this I open my form1, again on form1 i have a button which open childform form2 I open my form2 on button_click form2 frm = new form2(this); frm.Location = new Point(0, 45); frm.TopLevel = false; frm.TopMost = false; this.MdiParent.Controls.Add(frm); [B] frm.Show();[/B] But My form2 border looks lighter in color compared to original color. also forms location how to set at Center of screen.when I open my form2 directly from MDI menuitem it open at center of screen also form borders also looks dark. also How to disable form1 when …

Member Avatar
+0 forum 0

I have an MDIParent form with a button in it. I have it so that when i click the button it gets disabled. What i need help on is that, I need to know how to re-enable the button after i exit out of the form that opens when i click the button. Thanks, NH1

Member Avatar
Member Avatar
+0 forum 6

//My project is in C#.NET 2.0 I have multiple forms in my mdi container window . [COLOR="Red"]When I tried to close mdi form , form closing event of a child form (which has current focus/active child ) occurs before the form closing event of mdi form.[/COLOR] Can anybody help me out there?

Member Avatar
Member Avatar
+0 forum 2

i want that when i click NewToolstripbutton it run active child form newbutton procedure Note: newbutton is a userdefine Procedure. Help if any body known Ammad Iqbal

Member Avatar
Member Avatar
+0 forum 3

I've been having problems figuring out a way to do this. I need it so that if the user opens form a and then later on buries that form under others, and they click the menu to open the form again that it just sets focus to it instead of opening another instance... This is what I have now, is there a better, more elegant way of doing this or is this pretty much it? [CODE] //see if the form is already open, if it is, set focus to it, if not, open it foreach (Form a in MdiChildren) { …

Member Avatar
Member Avatar
+0 forum 3

The End.