Show Or Hide A Title Bar On Demand?
Sep 8, 2009
I want to add an option to my windows form application (written in vb.net) that will give the user the option to hide the menu bar and the title bar. I can do the menu but i'm not sure what the best way is to hide the title.
I could just change the FormBorderStyle to none, but is that the best way of doing it?
View 2 Replies
ADVERTISEMENT
May 5, 2012
I'm curious if it is possible to hide a group of text boxes from view in a form until a particular condition is met, and to have a custom set of text boxes for that condition. To give an example; I want radio buttons offering choices for a manner of searching records, the user selects one and then a specific set of text boxes are displayed for the user to utilize, if a different option is chosen a different set of text boxes will be shown. Is this something that can be done?
View 7 Replies
Oct 4, 2011
A question in the textbook asks me to use a check box to hide the form title. This is not a homework or test question. I'm doing the book's programming exercises in order to further my knowledge of Visual Basic.
I have completed the entire project, but this alone stumps me. I can't use IF statements or anything beyond what I have learned up to Chapter 2 of this book. The book is Programming in Visual Basic 2010 by Bradley and Millspaugh.
If anyone has this book, can you assist me in learning how to hide the form title by using a check box?
View 38 Replies
Jan 16, 2012
The application (Visual Basic) im currently working is a text document editor (ex. Notepad)And I want the form's title to show the file name thats loaded followed by the application name like this.
View 4 Replies
Jun 24, 2009
I has been looking for the codes which it avoid the system menu to be showing on title bar when you click on your right mouse button. The only one I found is removemenu method. I don't want to use removemenu as it would disable the title bar close button. I only needs the code to avoid me to click the right mouse button on the title bar so I still has no luck.
View 2 Replies
Nov 15, 2009
Have experimented, but none of them has worked.
View 16 Replies
Sep 6, 2009
what can i do with 4GL that i cant do with VB? what industries are seeking for 4GL programmers?
View 4 Replies
Aug 29, 2011
I have a problem to show and hide some div. The only thing i have is a span with a class. Where we need to click on, to show or hide the div below the parent h2 I can't add some classe's to the h2 or div (this come from some cms, where we can't add a css class), so we need to do it with some jquery.
<div>
<h2>
<span class="h2toggle">Heading (This shows an hide the div below)</span>
</h2>
[Code]......
View 4 Replies
Mar 16, 2010
Just playing around with VB and have made a program for playing "pairs". The program displays lots of face down cards, then the user can click on them to reveal their face and try to find pairs. This is done by hiding or showing the "card reverse" picture
If the user finds a pair, the cards should stay face up, however if they do not match, they should be returned to facing down.
The pictures need to be loaded dynamically through an array...
The code I have so far is as follows...
Form1...
Code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code].....
View 1 Replies
Mar 16, 2010
Just playing around with VB and have made a program for playing "pairs". The program displays lots of face down cards, then the user can click on them to reveal their face and try to find pairs.If the user finds a pair, the cards should stay face up, however if they do not match, they should be returned to facing down. This needs to be done by hiding or showing the "reverse of card" picture..[code]
View 3 Replies
Sep 18, 2009
Is there a way to compile code on demand, like i could enter a string into my program and it would compile it?
View 4 Replies
Sep 8, 2009
i started using Visual Basic 2008 last weekend, and im still learning (ofc, i bet everyone can learn more that they already know about the program ) but still, i can make my own BinaryConverter, Spammer, TextEditor, Webbrowser...and so on But now i want to make something abit harder, i want to make a program that changes your Wallpaper on a button click.
Heres my code of the wallpaper change:
Public Class:
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Integer, ByVal uParam As Integer, ByVal lpvParam As String, ByVal fuWinIni As Integer) As Integer
[code]....
So, basiclly, this buttonclick changes the wallpaper to the file in path: "c:\picture.jpg" But i need to know how to drop a imagefile from resources down to this, or any other path. Otherwise it wont work, since the target dosent have the imagefile already on their computer.Ive tried out with this code:
Dim Location As String = "C:\Folder\file.exe"
My.Computer.FileSystem.WriteAllBytes(Location, My.Resources.File, False)
But this one does only seem to work with .exe files... and i need one that works with imagefiles.
View 2 Replies
Apr 30, 2011
I'm using Visual Basic 2008 for example i have running notepad.exe, can i hide notepad window, and then if i need it to show it again?
View 1 Replies
Jun 6, 2011
I want to create a button that can hide an exe application. As example: this application will start spider.exe when page loads. I need a button that can hide & show the spider.exe. How can I do it with VB.NET, C#, or Java?
I tried to use:
myProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal
myProcess.Start()
in page load part, and use
myProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden
in button part but it does not work.
View 2 Replies
Jul 23, 2009
i was wondering this: what is the difference as in response.. should i use the .visible or the .show/.hide option.. by setting the .visible to true/false, the controls (in my case) will only appear visible or not.. by setting them to .show./hide, i guess they unload from the form, and reload in their previous state.. do correct me on this .. is this more memory use than the .visible option or the other way? i am currently designing a project containing a lot of panels/buttons/etc., that has the .visible option included for these controls. should i be using the .show/.hide option instead, or does it even make a difference, since i cannot tell from the response of my project when using either/or..
View 8 Replies
Aug 23, 2011
I have this labels in my project[code]...
What's the best way to hide/show them?
View 2 Replies
Apr 12, 2010
I have a form called form1 when i press button1 i open a new form [code]..
now this new form is owned by Form1 so that i cant use form1 till the new form is closed.[code]...
View 8 Replies
Dec 19, 2011
I want to create a simple utility app that emulates a right click on the desktop -> view -> show desktop icons - so I can by the click of one button hide and show the desktop icons.[code]...
View 16 Replies
Mar 9, 2012
how to hide and show listbox in specified location? on a form in visual basic 2010
View 6 Replies
May 3, 2010
I'm building a console application. How can i hide the window for like 10 seconds and then show it again? This code is only working on a form not a console application:
Me.Hide()
System.Threading.Thread.Sleep(10*1000)
Me.Close()
View 1 Replies
Aug 8, 2010
Private Sub FavoritesToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FavoritesToolStripMenuItem1.Click
FavoritesToolStripMenuItem1.Visible = False
[code].....
View 1 Replies
Apr 2, 2010
I'm trying to make a tray application to allow me to easily show and hide my icons. I did a bit of research and found this [code]...
View 6 Replies
May 11, 2010
how to hide/show tab in a Tab Control?
View 1 Replies
Jan 28, 2012
CODE:
Is there an easy way to do it or better code than mine because this is just a simple there will be like 400 button and to show and hide every 70 will be long code.
View 9 Replies
Oct 27, 2010
Goal: I want to Copy text from clipboard and paste into RichTextBox but am having trouble getting the ContextMenu to show up. What am I doing wrong?
[Code]....
View 1 Replies
Jan 29, 2012
I want too allow my users to be able to choose wether they SEE VISUALIZATIONS in the player in my app when listening to Audio through the Player. Also, how doo I let them choose different visualizatins for the player?
View 1 Replies
Jul 19, 2010
I try using Icon.Visible = True. But it will only show icon in the taskbar for a brief period of time before Windows will hide it automatically. How to programmatically make show icon permanently?
The effect is the same as doing it manually, by click on task bar icon button -> Customize Notifications and set behavior to = "Always Show / Always Hide / Hide when inactive" for each taskbar icon on the list.
How to set it to "Always Show" programmatically?
View 1 Replies
Jan 6, 2012
I have a Gridview in which a specific column of name "Date".I have set the Visible Property of Column to false because i want to show on different conditions of page.Please tell me how can i do it using vb.net that my Date column should show or hide on runtime
Update
My current code is
If Not Page.User.Identity.Name = "bilal" Then
GridView1.AutoGenerateEditButton = False
GridView2.AutoGenerateEditButton = False
[Code].....
View 1 Replies
May 21, 2012
How to hide/show a groupbox of radio buttons on clicking another radiobutton ?
View 1 Replies
Dec 18, 2009
I have a form (Form1 class) which has got a "next" button (like we have setup wizards) which shud take me to other form. Now that other form has two buttons , next and back , and it shud take me to the previous and the next form. And I want to preserve the states of each form. What I did was that I instantiated the Form2 class in the click event of the next button : [code]That does the job of showing the second form . In the click event (of the back button) handler of the second form , I have the following [code]Now , when I press the back button , the program hangs. And nothing happens. how to hide/show forms with .NET. In VB6 it's quite easy using Show/Hide methods.
View 6 Replies