Forms :: Prevent FrmMain / FrmBundleSearch From Stacking In Taskbar?
Jul 29, 2010
I have a main form called frmMain from which all other forms and actions are launched. In the menu bar on frmMain there is a text box where the user can enter an inventory item number. This shows a new instance of frmBundleSearch. This frmBundleSearch may get multiple new instances opened at a time. What I would like to see is the frmMain in the taskbar separate from the frmBundleSearch when it has enough open instances to begin stacking in the taskbar. Right now, when I debug, when the taskbar starts stacking the application's forms, all of them are in the same stack, so right-click and "Close All" nukes the whole app. Is it possible to keep them separated?
View 6 Replies
ADVERTISEMENT
Dec 16, 2009
Is it possible to make my app only have one tab on the taskbar? I have already created all the forms and now i am 'tidying it up' and i want there to only be one tab for the whole app. Will i have to set one form as a parent and all the others as child forms? Or is there a setting that just needs to be turned off?
View 2 Replies
Jul 4, 2012
The problem in my program is that if I choose another pen size/color, what I've written previously on the picturebox changes also its size/color.Here's my code
Dim my_picture As New System.Drawing.Drawing2D.GraphicsPath()
dim my_color As New Color()
Private Sub pbPen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pbPen.Click
[code].....
View 3 Replies
Feb 19, 2011
I m working on a windows application using VB.NET. Using borderless forms. Can anybody tell me how to minimize / restore that application by clicking from taskbar. (I already added minimize button into the form
View 2 Replies
Jun 19, 2010
I am trying to stack panels on top of each other, but they keep becoming children of the one I put them on top of. I am stacking three panels. I want to show each based on certain criteria. The showing and hiding works if they are not directly on top of each other. However, I would like to have them on top of each other. They are all exactly the same size and same position
View 2 Replies
Nov 18, 2011
I want to make a form fullscreen and cover including the taskbar. Can anyone help me with this?
[XCODE]
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
Me.WindowState = FormWindowState.Maximized
Me.TopMost = True
End Sub
[/XCODE]
View 3 Replies
Jul 18, 2009
i want the icon of my application to flash when an event triggers (upload complete) like this for example i use VS2008 and i've been guess-working the code.
View 4 Replies
Aug 22, 2009
i have a program with multiple forms (OS) but only the main One appears on the taskbar how can i make all the forms show on the taskbar.
View 12 Replies
Mar 8, 2012
I've created a form that plays some internet radio. The thing is the user wants an extra form for volume control that is docked to the side of the main form. This is no problem, i've made that, but im having some trouble making this form shown at the same time as the main form.In short what i want is that when you set focus on form1, form2 should also get in the foreground. Not focused, it should just follow form1
View 6 Replies
Dec 3, 2010
I have a program with which I can open a second form on a beamer, this works perfect, but what I do notice it that on the taskbar (I have windows 7) I see the main icon of the app but also the form that is created.What I would like is that the second icon is not displayed on the taskbar thumbnails, this way I can't close the second form by the X but only by a button on the main app.
View 2 Replies
Mar 29, 2011
I have a form in an application I'm working on that normally displays full screen without a taskbar but provide the option to switch to a minimizable window with a taskbar. When I switch from full screen without taskbar to minimizable window with taskbar everything is ok. When I try to switch back to full screen the border disappears but the taskbar is still there and the form is not aligned properly.The text at the top is cut off somewhat and there's a small margin at the right edge that shouldn't be there.I put this code in a keydown event for the form.
If Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None Then
Me.ControlBox = True
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable[code]....
How do I get the taskbar to disappear and the form to display properly when I return to the full screen mode?
View 2 Replies
Sep 12, 2011
I've got this little 'Sticky Notes' type of application and the form I have is a borderless, taskbarless form and for Windows 2000 compatability I'm using VS 2008 and targeting the 2.0 framework. One of the hurdles I have is that in XP, Vista & 7 when you click the Show Desktop button all of my note's windows get minimized and without a taskbar icon, it's not easy to get them back (at least not for a normal user) & I'm looking for a way to either right after the windows minimize I just have them all show again or if I can skip the minimizing message in the wndproc altogether that'd be great.
I've put together a test app that'll show the messages in a listbox for the form, but I'm not sure how to go about skipping sending the message to the form's base class. Here's a snippet, listMessages is the listbox on the form:
Private Const WmSize As Integer = 5
Private Const SizeRestored As Integer = 0
Private Const SizeMinimized As Integer = 1
[code]....
View 14 Replies
Aug 23, 2011
I am using MDI forms and I would like when a button is clicked, if the form is already open. it just puts it on top instead of opening the same form again.
View 2 Replies
Aug 18, 2010
The below code allows me to prevent a textbox to only allow numerics, backspace. I would also like to have the textbox to accept ":", but struggling to find the correct way to do this. Could anyone advise? Below code is in the Keypress event.
If Not Char.IsDigit(e.KeyChar) Then
If Not e.KeyChar = vbBack Then
?????????????
End If
End If
View 2 Replies
May 5, 2010
I have a lot of forms that get placed in specific locations at run time. I need to disable relocating these forms, but I would like to keep the borders and titlebar.
I have tried jmc's codebank submission called "immobilise" but did not work for me, forms were still draggable (could be my mis_use, but no errors were thrown)If this isn't doable, is there a way to hide only the titlebar, but maintain the 3D blue borders all around?
View 8 Replies
May 19, 2010
I am making a webbrowser,how to prevent my browser from opening new IE windows. Because what happens is, there are some links that will open new windows and therefore IE comes in place because it is set as default windows browser which I really don't want because my browser looks really bad if it opens links in another webbrowser.I want it to be just a basic browser, it has only one window, and it should navigate within that window. This is because the browser is integrated in a bigger application only for some website applications that are related to this main application.I am using VB.net 2008 Express Edition?
View 9 Replies
Feb 7, 2009
how to prevent duplicate RECORDS in datagridview cell vb.net
View 2 Replies
Dec 14, 2010
I am trying to figure out how to add radio buttons to the frmMain_Load. The 2 parts of InputBox will show up. The first one show up with the Consult's Name entered, then a student's name enter. At that Student InputBox, I wants to add the 2 groupbox/6 radio buttons (3 radios each box) such as fall/spring/Summer and so on. How do I add it there?
Here is what I got
[Code]...
View 2 Replies
Jun 11, 2010
i do have a frmMain and several classes...Object(x) gets created and sets several objects at startup too. Object(x) just has a frmMain which contains an GUI...im trying set the controls of frmMain out of Object(x)..all of them are added with the toolbox (labels & textboxes)
i can not access them like
frmMain.txtTextbox1.Text = "any"
neither with a sub that is called:
Sub set_text(ByVal id As Integer, ByVal x As string)
Me.txtTableEvents.Text = x
Me.txtTableEvents.Refresh()
[code].....
View 2 Replies
Jul 6, 2011
Background: I have an web form that autpostbacks a list of bundles to a listbox based on the carriers selected. When Postback happens, all user entered data is cleared. How do I prevent the AutoPostback function from clearing entered data from the forms? [code]
View 1 Replies
Feb 6, 2011
I'm looking for a reference that tells you the proper way to name form elements in Visual Basic.
View 1 Replies
Sep 9, 2011
what is code i should use if i want to prevent user not to leave empty word in text box after user click save button.Oh ya, i am using visual studio 2005, databse sql 2005 .Here is my code
Private Sub btnregister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnregister.Click
If MsgBox(" Are You Confirm", MsgBoxStyle.YesNo) = vbYes Then
[Code].....
View 1 Replies
Jun 3, 2009
Currently I declare my main class on frmMain. as public MyClass as new clsMyClass Thus anywhere in the application I would address it as: frmMain.MyClass.Function(MyParam) This does not look as neat as I would like it. Where can I load this Class so that I can address it as: MyClass.Function(MyParam) from anywhere inside the application.
View 6 Replies
Jan 15, 2010
In frmMain:
Private Sub DBReadAccountInfo(ByVal strAccountID As String)
Dim tmpaccountInfo As New PublicFunctions.clsAccountInfo
tmpAccountInfo.strAccountID = strAccountID
Dim ReadAccountInfo_Thread As New Thread(AddressOf tmpAccountInfo.DBLookupAccount)
ReadAccountInfo_Thread.IsBackground = True
[code]....
In "sub UpdateAccount", frmMain.InvokeRequired is always false. There's a MenuStrip control I'd like to update the .Text on.
View 6 Replies
Feb 23, 2012
I have a basic asp.net web page. I have a menu bar divided into 3 columns. Each column displays an xml file. However instead of showing them side by side it displays them one on top of each other. i think it might be to do with my css?
My asp.net web code:
<div class="menubar">
<div class="menuleft">
[code]....
View 2 Replies
Sep 17, 2009
I have various Forms in my application (MDI and normal) what are hidding the Windows taskbar when I dont want it, and I dont know why it is happening.
This Form have set the next relevant properties: WindowState = Maximized, MaximizeBox = False, FormBorderStyle = FixedSingle.
I have to say that when I call the form to show, the taskbar is still visible, but when I minimize the form, and then restore it, the form is in "Full Screen" and i cant see the taskbar, why it happens?
View 1 Replies
Feb 1, 2012
This is an IDE question for VB Express 2008. It might be a bug in the IDE, or maybe it's my fault somehow?
My main form is named FrmMain and in my application's properties I have set frmMain as my startup object. All of that seems like what a lot of coders do.
But while debugging I hit Ctrl-Break, as I have done for years, and I get an behavior in the IDE that I wasn't expecting. Upon doing so, I get the green background text and the green arrow indicating in a tooltip: "This is the next statement to execute when this thread returns from the current function." Even if I didn't have the designer document open, it automatically opens frmMain.Designer.vb in the editor and hihglights line in green. The line is of course: Partial Class frmMain which is line 2 of the file. (Yes, it's highlighting the second line of the designer-generated code.)
The thing is, frmMain seems to have fully loaded and it's my startup object. As far as I know there shouldn't be a "next statement to execute" at all because code should be idle. I don't want to see the Designer.vb document... I want to edit my own code. Even though my form is behaving just fine, could there somehow be an unfinished aspect of loading the form such that it is "not returning" from a function?
Edit: In response to a couple comments, I'm adding three screen shots:
View 3 Replies
Feb 1, 2012
Is it possible for to click a button on frmmain and it also clicks a button on frmnew?.
View 2 Replies
Nov 26, 2010
As i'm learning more and more about developing ive just got my head around creating classes and modules, i started wondering about something to do with configuration of applications where deployment is in a more diverse environment say in a company where different branches dont need access to all parts of a program, so i thought id throw the question out there in a basic sense and get some feedback. so i can go off and do some more reading and learning.
So the scenario in my head is like this.
So we have for arguments sake FrmConfig which is the master configuration form, then we have FrmMain which is the root menu our application general user interfaces with. So here based on what options are checked as enabled in FrmConfig effects what controls (like buttons/menu options) are enabled in FrmMain.
View 2 Replies
Jul 24, 2009
How can i top the windows taskbar with the form???Like media players do(i dnt want to make a media player)
View 1 Replies