VS 2010 Using A Drop Down Box To Hide And Show Different Components?

May 28, 2011

I've been trying to work out away off using a drop down box to hide and show different components, on top of one another, within panels using this

Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
If ComboBox1.Text = "Panel 2" Then
Panel1.Visible = False

[code]....

However this only works as wanted when the panels are separate from one another (one above, one below) but I want them to be on top of each other so I can switch between them. Essentially I want two forms within a form.Second question; I have an equation I wish to implement in my code (N = N0*e^-a*b) does vb have a way of calculating exponentials and logs? (Ie: log(a/b))

View 4 Replies


ADVERTISEMENT

VS 2010 Getting The Shockwave Flash Object To Show Up In The COM Components

Mar 22, 2012

I am having trouble getting the shockwave flash object to show up in the COM components i have installed the adobe flash player and adobe shockwave flash but the shockwave flash object is still not there.

View 2 Replies

VS 2010 - Hide Show Button

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

VS 2010 ContextMenuItem - How To Show & Hide

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

VS 2008 Hide Components At Design Time

Nov 25, 2010

OK maybe this is completely silly question that everyone knows the answer to but me! Is it possible to hide a component while in design view? e.g. I'm working with multiple components that overlap and would just like to be able to view/work on one at a time. Have I completely missed something or is this not possible?

View 4 Replies

Interface And Graphics :: How To Prevent Drag'n'drop Between Components

Jan 2, 2009

How can I check if the data in a drag'n'drop event originates from the same component?I've created a component containing two ListViews and the ability to drag'ndrop between them.The problem occurs when a progrem uses more than one of these components, it is possible to drag from one component to another, I don't want that to be possible.[code]I thought the "And (m_DragSource Is lviewSelection Or m_DragSource Is lviewSelected)" in the first if would prevent dropping from other components but it doesn't. How to do this?

View 4 Replies

Hide/Show Items - Possible To Hide A Group Of Text Boxes From View In A Form

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

Forms :: Loads,the Components Does Not Show Completely

May 24, 2011

I have a form that it do some calculations on datas,I create another form (for example progressform) that has a progressbar and a label with text:"Please Wait. I use progressform.SHOW() in first line of my analysis form load event, but when I run the project the progress form loads incompletely and you can not see the label and progressbar in the form! if I add a messagebox.SHOW("anything") after the line progressform.SHOW() the problem will solve and the label and progressbar apear in the form. it seems that before the progressform loads completely the computer starts the analysis...

View 2 Replies

Using Facebook API - Components Don't Show Up In The Toolbox Nor In The 'Choose Items' List

Oct 6, 2010

Give me some kind of tutorial for using the FB API with VB.NET (2008). I tried installing the SDK, but the components don't show up in the toolbox nor in the 'Choose Items' List...

View 4 Replies

IDE :: Lost Auto Hide Option On The Drop Down And Properties Menus?

Oct 30, 2010

I have lost the auto hide option (greyed out) on the drop down solution and properties menus. The Toolbox still has the auto hide option. I cannot find the pin to set auto hide on the Solutin and Properties menus.

View 3 Replies

Asp.net - Show And Hide Div With Jquery?

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

Show And Hide A Picture?

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

Show And Hide Picture

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

.net - Hide / Show Program Window?

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

C# - Show / Hide Another Application's Window

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

Difference Between .visible And .show/hide?

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

Hide / Show Labels In Program?

Aug 23, 2011

I have this labels in my project[code]...

What's the best way to hide/show them?

View 2 Replies

Hide And Show A Form Which Is Owned?

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

Hide And Show Desktop Icons?

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

Hide And Show Listbox In Specified Location?

Mar 9, 2012

how to hide and show listbox in specified location? on a form in visual basic 2010

View 6 Replies

Hide The Window For Like 10 Seconds And Then Show It Again?

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

Hide/Show And Shortcut Keys?

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

Show / Hide Desktop Icons?

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

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

VS 2005 Hide/show Tab In A Tab Control?

May 11, 2010

how to hide/show tab in a Tab Control?

View 1 Replies

VS 2010 - Cannot Remove Components With Uninstall

Jul 15, 2010

I don't know what's got into them but they decided to purchase vs2010 pro licenses in my company. Anyway i gave it a quick look and since i don't need to have it installed right now (service pack 1 first, Microsoft anti-bug law) i uninstalled it. The problem i see is that it leaves leftovers everywhere.C++ redist, ado components, sql r2 components etc. These will not be deleted if i just remove vs2010 but will be installed if i install vs2010 full.Anyway i ended up removing them one by one and it took about 30-45 minutes. So has anyone have done a removal? Is this the case? I cannot remove most of the components with one big uninstall?

View 2 Replies

VS 2010 Copy Controls And Components

Jan 9, 2012

I would like to create a new form within my project that is identical in terms of the controls and components of one of my existing forms. The difference will be in the code where I will change some constants.

Is there a way to copy the controls and components(text boxes...) so that I don't have to use the design mode to create the form again?

I've tried copying the code of the original form and pasting it into the new form, however it only pastes the code and not the actual buttons and texts boxes.

View 3 Replies

Allow User Option To Show Or Hide Visualizations In WMP?

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

C# - How To Make NotifyIcon To Always Show And Will Not Be Hide By Windows Itself

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

Gridview Show And Hide A Specific Coloumn?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved