Display Choice Of Forms?
May 20, 2009
I'm developing a form that displays conference attendee data.I have a panel control on this form and would like to put a series of buttons at the bottom of this form that will open other forms in the panel. So for example, there would be a button to open the Address form, another button to open the Email form, and so on.There will be 10 buttons total. I have the Address and Email forms set up so far and it seems to work pretty slick.
Before I go any further, is this the best way to do this? FWIW, all forms will have a datarepeater control on them since there can be multiple addresses per attendee, multiple emails, etc.
View 9 Replies
ADVERTISEMENT
Jan 17, 2012
I have a list of ID's which each ID represent an item in a game. For example, ID "4022" represents "Basic Wand" (Example). I have a list of ID's, now what I want to do is: Have a listview which has each line for an item. When you click on any item, the PictureBox will change according to your ID choice.
How can I use these ID's and store them for each item (text)?
View 2 Replies
Mar 12, 2010
I have four drop down lists here and I've assigned the datasource and displaymemberproperties so they are populated by a table. When I run the program and select a choice, all four of them get updated with the new choice.
View 3 Replies
Nov 10, 2011
We have an application that has a main form with a map on it. Right now the paradigm is to have forms that are displayed using menu items to display information to the user. Most of these forms are modal forms, but a couple are non-modal forms that interact with the map. For some of the forms, it really would make for a better user experience if we could dock them in the main form of the app and allow the user to see both the form and the map. For instance. We could have a list of map features in a docked window, and select one of the items on the list and have the map zoom to that feature. Or do the reverse: let the users select a map item and have a docked window that shows details of the feature. Sounds great, but I wonder about what sort of gotchas we may encounter. In particular, what if we have two windows docked at the same time? Could we get tangled up in our event code?
View 2 Replies
Jul 5, 2010
I've been trying to create a simple program with vb 2010 to play video's (when you use multiple screens) on the main screen (with controls) and the full screen (with no controls) on the second screen.I get it to work that I can open the second screen and play a video, but the video is only played on the main screen and audio is played on the second screen.I want to play the video on the main screen as well as on the second screen at the same time.
[code]...
View 8 Replies
Apr 8, 2009
I am about to start developing my second application in VB2008. The need is that it has to run on a network enviorment, probably under windows nt, the database has to be on the server so everybody uses the same data. The database is suppose to contain a lot of data on many tables, whatīs the ebst way to go? Access, SQL, foxpro dbf? Also what kind of project am I suppose to start? a windows app? or some kind of .net app.? I am sorry if I am saying dumb stuff itīs just that I am a rookie. Have in mind that after I build the application, many users have to have access to it from different computers and I also want the database to be availbale for a future website with forms and queries and stuff taken from the same database, is ASP the best choice for that purppose?
View 6 Replies
Feb 17, 2011
I have a combo box which is set up with the follow properties and is populated with data and one blank row.
DropDownStyle = DropDownList
sometimes i get a message box even thought something is selected, what could be wrong?[code]...
View 4 Replies
Jan 6, 2012
I have created a small sql database using new data source. i have placed buttons to move to next,previous,first and last row but i am wondering if there is a way of making a button which would randomly pick a row with information from database or just make it randomize them before they are appearing on the screen.
At first i have tried creating random number generator and then joining it with the coulmns in the database. I failed in the end even though i thought it was going to work. Then i thought maybe i have to change the query as in, instead of "Select that and that and that from database" i thought i have to write "Select that and that from database sort by rand", i also saw that some people write limit 1 or more afterwards but i have no clue what it is and didnt use it. Anyhow i tried that query and it didnt work.
EDIT: I also thought about adding all questions into array, or use some sort of indexing, but i have to use database as the requirement.
Also if anyone would be willing to give me an advise of what is best book i could buy, which would cover databases in sql and some beginner/intermediate programming in visual basic.
View 1 Replies
Feb 17, 2009
I made a combo box and i need to know how to set one variable for each choice in the combo box. for example, my choices are poor, average, good, and superior. I want to set the "poor" variable as the poor option in the combo box and the "average" variable as the average option in the combo box and so on and so forth.
View 3 Replies
Dec 24, 2009
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
If CheckBox1.Checked = True Then
[code].....
View 4 Replies
Sep 20, 2010
I am struggling to find out how to use a msg box to display the value of a variable.
I've tried a number of permutations, and searched for hours to find a tip.
My code is currently:
Private Sub btnShowTotalCost_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowTotalCost.Click
If (radCorpTravel.Checked) Then
[Code].....
View 10 Replies
Sep 1, 2010
When I open a project created on a PC of XP SP3 and 24" widescreen in another PC of XP SP3 and 22" widescreen, the design of forms including the form size and layout of the components (sizes & locations) changed.
View 5 Replies
Jun 1, 2012
Has anyone ever set up a Multiple choice test before?
View 4 Replies
Feb 24, 2009
I'm not great with VB and I'm having some trouble with my University assignment at the moment.I'm trying to code a multiple choice program with several forms with different questions and then a scoring form
I'm not sure how to tell VB what the correct answer should be and how to display the scores in another form, the answers need to show how many correct in each section out of how many the user attemped to answer, so they can check scores before completing all the questions.
View 5 Replies
May 13, 2012
I'm currently quite new to VB and am trying to create a multiple choice questionnaire for work. This is a depression survey in which there are 23 groups of statements with 4 options per group. Every time a patient clicks an option, the next set of 4 questions comes up on the screen.
I'm trying to convert the old VB4 code into the new VB 2010 code. Before we were using a control array and the code looks a little something like this[code]...
View 2 Replies
Jan 12, 2010
sample_form.rtf (1.48MB). Number of downloads: 36. I have a working form to give specific choices to the user and retrieve the user's choice. (See code below and attached image in WordPad file.) I know I can use a global ("Public") variable to pass the text of the three choices from the calling form to the called form, but is there a way to pass these from one form to the other exclusively? Of course, my main objective is to have as little memory being used as possible. I would like to make the form in my example (frmDialogChoice) a generic form that can display any set of three choices.
code within calling form:
Dim intSwitchToMake As Integer
Dim insFrmDialogChoice As New frmDialogChoice
insFrmDialogChoice.ShowDialog()
[CODE]....
View 5 Replies
Sep 10, 2010
No doubt a simple question, but I'm a beginner (I learnt GW BritingASIC in 3 months long ago - but after 6 months grappling with vb 2008 I am still bewidered).
I have written a program that asks the user at run time to choose 1 of 40 buttons. These are themselves defined at run time. Whichever button is chosen the same algoritm will run (using different data). Question: To save writing the same Button_Click routine 40 times, what code should I write - and where in the program - to detect which of the 40 the user has chosen?
View 2 Replies
Dec 20, 2010
How do I list the column name as a choice in a combo box?
View 2 Replies
May 10, 2009
I need a multiple choice quiz but I've ran into some problems. So far i have 5 arrays: one for the questions and four for the answers. The question is displayed in a label and the answers on radio buttons. Problem one: I am using a random number generator to pull them but this allows them to be reused. How do I stop repeats. Problem two, my grading isn't always working.
View 3 Replies
Apr 21, 2010
Like how can i make it so it changes the text box to anyone of these words randomly
bob
somethinghere
somethinghere
somethinghere
[code]....
View 4 Replies
Apr 10, 2009
I need my program to let the user choose a text file by browsing the computer then the file path of the file needs to be set as the New StreamReader path so that the computer can open the file.
[Code]...
View 1 Replies
Jan 5, 2012
The following code is a what I have done in order to show a MsgBox when an exit ITEM on a MenuStrip is clicked then it will give two different choices Yes and No. If Yes then it will close the application but if No then it should stay on the same page.
Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitMenu.Click
MsgBox("Are you sure you want to exit the program?", MsgBoxStyle.YesNo)
If MsgBoxResult.Yes = True Then
Application.Exit()
End If
View 2 Replies
Nov 22, 2011
I wanted to have one choice enabled to the user(radio box) in two Groupboxes, is that possible? Is looping the why i should do it?
Public Class Form1
Inherits System.Windows.Forms.Form
Dim version As String
[code]....
View 3 Replies
Mar 24, 2009
possible to display a link in ballonTipText?
View 2 Replies
Mar 7, 2009
i am developing a imageviewer like the one windows xp has. one thing i dont know how to do is: how do i display a big image(bigger then the screen) in a picturebox with bars on the left and the buttom side? like the imageviewer of windows xp does when you want to watch big images in full size.
View 2 Replies
Jan 19, 2010
Dear Experts
Table gpass has data as
gate-----date-----c----bno----acccode----tittle----weight-------qty
1----18/01/2010---a----2--------2----------abc-----10.00-------15
[Code].....
View 1 Replies
May 13, 2011
how to display an HTML in webbrowser class What i mean is something like a <html> and </*html> tags
View 1 Replies
Nov 24, 2008
this is so simple its embarrassing to ask. How do you display a picture in a picturebox? I want to have a static picture displayed on my single form application. I tried adding a picturebox control to the form and setting the InitialImage setting to my pgn file. But when the app loads they image is not displayed. I've googled around and found many references to adding pictures out of databases and etc, but nothing as simple as my. I just want to display the one image.
View 10 Replies
Jan 1, 2010
Datagridview1 has three columns as S.No-------Porducts--------Price
When I enter s.no in column1 then product name and price must display in relevant columns as
S.No-------Porducts--------Price 1------------Mango---------12
I wrote folloiwng codes as example
[Code]...
View 1 Replies
Jan 8, 2010
How to display INT value in textbox1 in this format 45,75,147.45 I do not want to use MaskedTextbox
View 4 Replies