VS 2010 Display And Hide Object-group In Separate Layers?

Feb 7, 2011

I want to create a game using visual basic 2010. I'm a specialist in VBA and Excel but not VB 2010.I want to display and hide a whole group of objects. In Acces I used for such cases the TabControl. For example in Tab1 the Game, in Tab2 the highscore and in Tab3 the options. Then I made it transparent, so that the Tabs (Buttons) are not visible, only the objects in Tab1 Tab2 and Tab3. With VBA I select the Tabs controlled by my own buttons (jpg). I tried the same in VB 2010. Without success.What can I do to switch between game, highscore and options without using popups. I want to display them at the same positions. So game objects and option objects should hide and highscore objects should be shown. And the other way round. Like the handling is with different layers in photoshop!

View 2 Replies


ADVERTISEMENT

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

Create Separate Object Instances For New Objects In Separate TabPages?

Sep 17, 2010

I have a TabControl object on my form with many tabs created in code (TabPages) and my problem is that the same objects that are in the initial TabPage needs to be in the other TabPages created in code, I have this done in code when the user clicks the 'New Tab' menu option, however the same code is used for any new tabs created. The problem created here is that I have an event against one of the objects that appear in the other TabPages, but because the same code is used to create any new tab pages, the event will only work on the newest tab page, if that makes sense? By the way these objects that appear on the other TabPages are properties at the top so events can be handled against them in the respective subroutine.

[Code]...

View 5 Replies

String Manipulation - Separate Three Fields Of The Phone Number And Display In Three Separate Text Boxes?

Feb 23, 2012

I created a telephone number form where the user enters the telephone number in a text box as (nnn) nnn-nnnn. The first 3 digits in parenthesis are the ISD code, the next three are the area code and the last four are the local number. I need to separate out these three fields of the phone number and display in three separate text boxes labeled appropriately. Now, suppose the user enters the phone number in a text box as a continuous string of 10 digits, where the first three represent the ISD code, the next three represent the area code and the last four represent the local number. I'm lost as how to change this string into the form (nnn) nnn-nnnn. This is what I have

[code]...

View 3 Replies

VS 2010 Multiple Layers Of Controls On Form?

Oct 1, 2010

How would I go about doing multiple layers on a form?Say the first layer contains a command button that when its click, it changes to the second layer hiding the command button and showing the controls on the second layer?

View 6 Replies

Create A Global Object But Have The Events Within That Object Fire On A Separate Thread?

Oct 26, 2009

I have an object that is defined as a global variable based on custom class. Within that class I have an event that gets fired a certain intervals. These events are fired on the same thread as where the object is declared. How do I create a global object, but have the events within that object fire on a separate thread?

View 2 Replies

Display A Separate Table For The Year?

Jun 4, 2009

Create a combo box that contains the values:

- Year 7
- Year 8
- Year 9
- Year 10

Thats easy enough, but i need to then need to do the following:When a option is selected, i want to display a seperate table for that year.For example, if i select "Year 7" a table specificly for "Year 7" is displayed.(Using visual studio)

View 11 Replies

Get The Group Box On The Bottom To Display?

Apr 10, 2009

I have several group boxs, that are stacked on top of each other. They are all hidden until the user clicks the appropriate item to display a certain group box. The problem is I can only get the group box on the bottom to display.

View 6 Replies

Can't Separate A Single Person To Display On My Listbox

Jul 2, 2009

I have problems figuring out how to separate a single person to display on my listbox.

I am currently working on an assignment called "Douglas Resort Reservation" and we are supposed to select a query from the combo box Guest Search. For example, when I select Barb Allen, I get the info to display properly, which is good. But, I still have a problem.

When I try to click my button 'Prepare Invoice', I want Barb Allen's info to be displayed in my listbox 'Invoice'. But, now I don't have that complete. I have a whole list of items generated when I load my whole thing from my Form Load event from the textfile RESORT.TXT. I get a whole list of items instead of individualized items.

My question for you is: "How can I get just ONE name and person's information to show up?" when I press the button 'Prepare Invoice'.[code]...

View 2 Replies

Separate A Single Person To Display On Listbox?

Jul 2, 2009

how to seperate a single person to display on my listbox. I am currently working on an assignment called "Douglas Resort Reservation" and we are supposed to select a query from the combo box Guest Search. For example, when I select Barb Allen, I get the info to display properly, which is good. But, I still have a problem.

When I try to click my button 'Prepare Invoice', I want Barb Allen's info to be displayed in my listbox 'Invoice'. But, now I don't have that complete. I have a whole list of items generated when I load my whole thing from my Form Load event from the textfile RESORT.TXT. I get a whole list of items instead of individualized items.

"How can I get just ONE name and person's information to show up?" when I press the button 'Prepare Invoice'.and display information like this:

Barb Allen 604 777 1234
# of Adults 3
# of kids 1
Check In 2008-12-01

[code]....

View 1 Replies

Separate A Single Person To Display On My Listbox?

May 10, 2012

I need to connect to a SQL Server from a network drive, I'm unable to due to the security settings on the network drive and I'm unable to have these changed.Is there any other ways of connecting to this SQL Server?

View 13 Replies

Using StringConcatenation - Display Separate Word Into Different Line

Oct 31, 2010

This is what I'm trying to accomplish. When the user enters 4 words into a textbox such as "hello my beautiful girl". I want it to display it into a label and I want each separate word to display into a different line.

View 6 Replies

VS 2008 Separate And Display Array Contents?

Oct 28, 2010

I have an Array called myDat

It contains Name and date of birth;

Joe
12/15/80
Tom
7/11/65

and so on ... Keeping the same order so they match I want to put the names in one array and dob in another

View 7 Replies

Group Boxes Make Object Invisible?

Oct 7, 2009

I put some group boxes on a user interface and now labels and pictures that are set to visible can't be seen even when the group box is set to visible = false. (I have the group box and the pictures and labels in the same place on the form and was planning on using buttons to make them visible and invisible but the pictures and labels stay invisible no matter what while being in the same place as the group box.)

Does anyone know why group boxes do a sound job of making things invisible and how to correct it?

View 24 Replies

Group By Over Anonymous Type With Linq To Object?

Feb 25, 2010

I'm trying to write a linq to object query in vb.net, here is the c# version of what I'm trying to achieve (I'm running this in linqpad):

void Main()
{
var items = GetArray(

[code].....

View 1 Replies

SelectIndexChanged - Separate A Single Person To Display On My Listbox?

Jul 2, 2009

how to seperate a single person to display on my listbox.I am currently working on a homework assignment called "Douglas Resort Reservation" and we are supposed to select a query from the combo box Guest Search. For example, when I select Barb Allen, I get the info to display properly, which is good. But, I still have a problem.

When I try to click my button 'Prepare Invoice', I want Barb Allen's info to be displayed in my listbox 'Invoice'. But, now I don't have that complete. I have a whole list of items generated when I load my whole thing from my Form Load event from the textfile RESORT.TXT. I get a whole list of items instead of individualized items.My question for you is: "How can I get just ONE name and person's information to show up?" when I press the button 'Prepare Invoice'.and display information like this:

Barb Allen 604 777 1234
# of Adults 3
# of kids 1[code]............

View 4 Replies

Use A Treeview To Display Information In A Separate Table On The Same Form?

Mar 10, 2010

I'm just starting out at vb.net but have done programming before. i am trying to use a treeview to display information in a seperate table on the same form dependant on which nod of the tree is clicked. Secondly is it possible to import the information from an excel spreadsheet or does the information have to come from an access table.

[Code]...

View 2 Replies

Covering One Group Box With Another And Using Visible Property To Display One

May 2, 2012

WinForms. VB.NET VS 2010 Professional. So I am building a form that has 3 radio buttons on one side of it.Then on the left side I have 2 group boxes named Group1 and Group2 for this question that I have placed in the designer so that the one covers the other one and have set both of the groupboxes visible property to false.. When a user click on the second radio box group1.visible changes to true and group2.Visible changes to false.. When a user clicks on the third radio group1.visible changes to false and group2.visible changes to true. If the user clicks the first radio button both group1 and group2 visible changes to false.Only one of the group boxes shows.If I open the designer and ONLY change which one is on the bottom then it will show and not the other.[code]

View 2 Replies

Display A Modal Msgbox When Called From A Separate Thread Process?

May 14, 2010

I'm using VB.net 2005, .net framework 2.0

I'm currently having a form that has a button starting a long process, with feedback into another windows textbox (call frmProcessLog).

I'm using a Background worker to laucnh the process, upgrade the status of the process and display feedback on the frmProcessLog textbox, and to know when the thread process ended up, (from the cancel button, from an error or normal termination).

the main thread process has some msgbox in it, asking questions to the operator (yes/no/cancel).

I've added the msgboxstyle.systemmodal to the msgbox call which works "ok" excpet if the operator decide to ignore the showing message box and click the cancel button on the frmProcessLog form, which is still clickable even though I supplied "systemModal" to the msgbox. this makes the msgbox hidden behind the frmProcesslog form and the process can still continue.

If I close my frmProcessLog form, I will see the previously msgbox behind it and If I end up click one of the button it will end up at an application error because the thread that called it is not existing anymore.

So I would like that the msgbox to be launched from the thread making it as if it was launched from my frmProcessLog window in a modal way.

View 4 Replies

IDE :: Partial Class Code Behind A Dataset Object / Is It Running In A Separate Thread

Jan 27, 2010

I am instantiating a form object in my code behind the dataset just to access some form level variables and to occasionally set a label in the navigator bar. Recently in the b2 Team version of VS2010 there are some strange errors thrown in the immediate window and then I'm tossed out of debug mode and back into the IDE. This code has been operating for some time in this project without this behavior. A team member has just reproduced the behavior in his development machine also.The error that starts the shutdown of the debug instance is this: Control accessed from a thread other than the thread it was created on.

View 4 Replies

Cash Register Program With Separate Forms For The Items And The Display Form?

Jan 15, 2011

I have this cash register program with separate forms for the items and the display form. The code works untill you press the button 2x. It says 5.5 + 5.5 = 11.5??? Can you fix this code?

CashReg.ListBox1.Items.Add("Item 1")
Dim cash As String
cash = (5.5)[code]....

View 3 Replies

[2008] Hide Window From Alt-Tab Display

Jan 26, 2009

Is there anyway to hide your window from the alt-tab window display? I have it set to not show in the taskbar but it still shows up when pressing alt tab and getting the window previews.

View 3 Replies

Display A Label In Group Footer When The Detail Band Does Not Have Any Data?

Dec 1, 2009

If a have a lable called: lblWarning. I'd like to display it (Visible = True) when the detail band does not have any records. The label is in the group footer.

View 2 Replies

Constructor String - Create An Object And Use The Object To Display All Methods

Sep 21, 2009

Under component services, a COM+ component is used by the company, right-clicking it and choosing 'Activation' tab will show the 'constructor string' that is used for DB server connection by all applications. How can I access it the simplest way possible?

[Code]...

View 1 Replies

LINQ Query To Group Data Between Two List Collections, Populating A Nested Object

Oct 26, 2011

I have these objects:[code]Using LINQ I need to take a List(Of MakeInfo) and a List(Of ModelInfo) and aggregate the StockInfo from ModelInfo into the List(Of MakeInfo).So for each MakeInfo I will have a total count of all stock where MakeInfo.Name = ModelInfo.Make, and also a minimum price.I think it's going to be something like this, but I'm having trouble accessing the nested object and not sure if it's going to be possible with a single query.[code]

View 2 Replies

Two Layers Of Graphics?

Apr 8, 2011

I am trying to do a game application similar to chess, where i need to move the game peaces(graphics) over another graphics which is the game board. using the mouse. How can I do multiple layers of graphics and control their movement(without direct x)?

Note: I have visual basic 2010 express, windows xp home

View 2 Replies

Hide Month Calender Object When Mouse Click On The Form?

Nov 11, 2010

May i know under what event i can set month calender object to invisible when mouse clicking on any where (mouse click not on the month calender object) on the form? Below is my code to set it to invisible when mouse clicking on the form.

But it does not really work as i have objects like textboxes and labels.

[code]...

View 4 Replies

Picture Box Transparency Layers?

Aug 15, 2011

i got a large picture box sent to the back with a default image.i got a few picture boxes set to transparent and they are placed in front of that large picture box. these picture boxes have no images, just set to transparent in the properties.

I use the mousehover event on those picture boxes so when one is hovered over, it will change the image of the large picture box which is behind it.the problem is that even though those picture boxes in front have been set to transparent, when the large picture box behind them loaps a new image due to an event, it doesnt show through those picture boxes which are in front of it!

View 2 Replies

3 Layers Treeview Nodes Checkboxes?

Sep 5, 2011

I have a 3 layer treeview and is using the code below. I am getting it to do the following,

1) If parent is checked, check all child nodes.

2 If just one child node is unchecked, uncheck parent node.

3) If all child nodes are checked, check parent node.

Code below only works for 2 layers. Would appreciate if you can guide me how to make it three. There are much information on treeview but most of them seems irrelevant =/ Will be great if you can show me a good guide on treeview control.

Private Sub TreeView1_AfterCheck(ByVal sender As Object, ByVal e As TreeViewEventArgs) Handles TreeView1.AfterCheck
RemoveHandler TreeView1.AfterCheck, AddressOf TreeView1_AfterCheck
For Each node As TreeNode In e.Node.Nodes
node.Checked = e.Node.Checked

[code]....

View 1 Replies

Adding Security Layers To Database

Aug 12, 2011

I am developing a simple database with typed datasets. My employer wants to put two security layers in my database for a verifier and administrator. Anyone can change the database. But later it will be rechecked and marked as verified! and once every record has been verified, the administrator will append those verified records to the actual database. Can any bro devise me a proper method to do that? Right now what i have in my mind is that i put a verified and authenticate boolean in my database. For each edded/edited record, i mark/unmark that verified/authenticated entity as being set or unset. This approach is easy to implement and gives an option to undo any record changes but i'am afraid will compromise the database in space and time.

View 2 Replies







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