Open Form In Tab Control?
May 4, 2009Is it possible to open existing form in new tab of tab control....?
View 3 RepliesIs it possible to open existing form in new tab of tab control....?
View 3 RepliesIn my form1 has a control....and my Form2 has a control also how can i put a control in Form1 by clicking a button event...to make them in one forms only...
View 3 RepliesI have three forms named, MainForm, Form1 and Form2. In MainForm there is one TabControl. I want to open the forms: Form1 and Form2 as new tab in MainForm. I am using Visual Studio and language VB.Net. Is there any way to open the forms as new tab?
View 1 RepliesIs there a way to have a desktop vb application take control of an already open browser window? For example, have it mouse click certain coordinates in the window or check if the window contains certain elements.
I've looked at using Microsoft Internet Controls(shdocvw) and MSHTML(IHTMLDocument2) but I am struggling on how to access elements of the browser window (e.g. body.innnerHTML).
There is probably a good reason for this but I haven't worked with multiple forms while keeping controls from unloading before.
The process I've always used to open new forms and go back and forth is below. Once I open a new form, get a value from the user and go back to the original form, the checkedlistbox.checkedindices value on the original form is then 0, though it was a positive value when going to the new form (I can tell that the original form is reinitialized when coming back to it so it makes sense that the controls would be empty at that point).
What is the best/proper way to control multiple forms and keep control properties available the entire time?[code]...
how to open a control form when click on Link label....How to open a pop up when click on button?
View 7 RepliesI am developing a software using microsoft visual studio basic 2010. I used a datagridview control to display a list of data from product table. What I want to do (actually I am not sure how to do it, or is there a way to do it), when I choose one of the value in one of the column inside the table, I want it to open a form that contain data(details) based on that value.
How to do it? How to call the value that I pressed, so it can be used to open a new form containing the details of that value
Example of the data: (the "system" column) SYSTEM
topaz
nex1300
Nec
If I pressed "topaz" system, it will prompt me to a new form containing the details of that "topaz" system.
I've got a VB.Net form application that dynamically loads user controls based on which navigation link the user clicks on. I'd like to make it easier to use at Design time by putting a link of some sort to open the User Control at design time. The link would go onto the form in the space where the User Control will be going. This just saves a little time from having to browse through the files to open the correct file.
View 2 RepliesPrivate Sub LinkClicked(ByVal sender As Object, ByVal e As EventArgs)
Dim link As HtmlElement = WebBrowser1.Document.ActiveElement
Dim url As String = link.GetAttribute("href")
[code]...
Okay so here's the question how do I get the links that open in a new window to open in my main webbrowser control. The above code does some, but it's not fool proof.
How I Can open the same form in my application one time only can not open the form tow time in same time
View 5 RepliesI saved a file with the extension .doc. I use the RichText to write and save the text. I did not set any encoding type when I saved it. When I tried to open the file in the Richtextbox again, I got all the formatting characters in the RTF file. How do I correct this? How do I open and re-open a .doc file in the Rich Text box control without the formatting showing up in the box with the document contents?
View 4 RepliesI'm try on Ultimate version and Express version. Reinstall many time from web install and offline install. What should I do ?
View 10 Repliesget a button on form A to open form B and then close (not hide) form A when clicked?Background: I am coding a VSTO application for Excel in VB2008.
Private Sub FormAButton_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles FormAButton.Click
Dim FormB As New FormB
[code]....
I have mdi application, on main form which is mdi container and has a tree view. i open the child form on afterselect even of treeview. the issue i'm facing that i open the form but focus remain on tree view until i click on the the form. my question is how i can give focus to form rather it stays on treeview. i tried frm.focus also activatemdichild(frm) no sucess.
View 21 RepliesWhen I open my child form,
frm_Analogs.ShowDialog()
It opens up the new form, but now I can not interact with my main form. It will not accept focus or allow me to interact with it.
Do I need to change the form type?
I have a MDI Parent form created with a MenuList, I also have the MDI child form created.ow do I go about using the MenuList to open the MDI child form within the parent form?
View 1 RepliesPrivate Sub Button3_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
'Para abrir un formulario independiente /Open independent form
[Code].....
I have a date selector on mdi parent that updates a property when date is changed. When I open a child form, it grabs the property just fine. However if I change the date again after the child is open the date does not change on the child unless I close and reopen the form as expected. What would be the best way to automatically update all open child forms when the date is changed on the parent at anytime? running a timer to parse the date property is impractical.
View 2 RepliesI have form A that has a datagrid on it, I want to be able to double click a row in form A and open form B to that record.
I know how to do that in VBA in Access 2007, but I am having trouble comprehending the procedure for VB 2010.
Im Using VB 2008. I have MsgBox() statements in all Mouse & Form Click events to TEST & NOTHING FIRES during Form Load when I click on Form or Button Controls !!! The Form Load event contains code for Displaying the Label.Text control many times with changes in the Text to simmulate annimation.
[Code]...
Using the code below:
Private Sub ShowDropDown()
Using f As New DropDownForm
f.Visible = True
Do While f.Visible
Application.DoEvents()
[Code]...
This was a guess, after looking at the Form.ShowDialog method in reflector.My question is, is there a managed call I can make to acheive the same result, and what does a button click do that other clicks don't?
ETA: The problem does not occur if I open the form using a key.
disable the parent window form as soon as the user will open the child form....
for eg...consider daniweb...when we click on member login the background form gets grayed out....
Disabling the form is not the option cause it will just disable all the controls of the form....but I need a grayed out screen between the current child form and the parent form....
note - the parent form is not the MDI form...it is just a normal window form and when the child form is open and if the user clicks on the main form without closing the child form then the screen should show some movement...
I tried disabling the form...changing the background of the form to opaque....but could not get through it....
I have read a lot of the prior questions/answers on this topic but it only took me so far. I have a solution to which I added 2 additional programs. These 2 added programs in essence create a PDF2TIFF converter using GS. I wish to call that form and use it as a utility from my main program. After reading other answers in the forum, I added these two programs as references in the main program and imported everything available, into the main program. I have what seems to be a correct build order set up. I want to open the form in the utility project(s) from a link on my main form. I tried a few things but the only way I could write the code without errors was to instantiate the second program then call that with a button click.
[Code]....
I've been looking all over the internet, and I couldn't find any decent answers. Obviously, two things to know:1) I'm using VB.2) The Forms are all FULL SCREEN, with the code
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
Me.WindowState = FormWindowState.Maximized
Me.TopMost = True
[code]....
Can i open the vc++ exe in vb.net control like part of the vb.net exe like user control
View 3 Replies(Visual Basic )want to open a user control in a tab page..i added two panel in tab page.in left dock panel i put some buttons i want to open a user control in right dock panel when click on a button in left panel
what command i should writ in button click..panel are not splitcontainers panel...
I have created simple windows form control with some events.
This form has button which opens Form with some settings.
Now, I need to raise the events inside the control when I click some buttons within the settings form ..
What I want is -
Dim filename = System.IO.Path.GetFileNameWithoutExtension(Application.ExecutablePath.ToString)
Dim openForm As Object
[Code]....
how can i do that? first form close and second open........i did that but first is only hiding not close
View 2 RepliesI have designed my app for multiple gridviews. When a user double clicks a row it opens up the data in a modal form and when they commit changes the row gets updated.While they have that modal window open they can not go back to the grid.But I have a alerts/messages window always running (like outlook tasks). As soon as I open the modal window I can not access that tasks window. (Default behaviour)How can I open the modal form and still let the user access/view the tasks window while they work on the modal window.(I tried creating it in a differant thread, but got a lot of cross thread errors so decided to abandon that approach.I thought that 2 modal form can run at the same time as long as they have differant parents. But aparently the main GUI thread pauses as soon as you open a modal window on it.
View 10 Replies