Call Diferent Things In Other Forms

Jun 3, 2011

i have form1 - Form2 and Form3 Form1 appears and i have to pick a color and click the button to go to the form2, then in form2 it shows the color and in form3 too..which is the best way to do this ? My.forms.Form2.SomeCodeHere or just Form2.SomeCodeHere

View 1 Replies


ADVERTISEMENT

2 Forms 2 Diferent Screens?

Jun 25, 2010

I want to develop a score card to s small stadium it will have 2 42'' LCD i one lcd i want to put the team's name and score

the lower screen i wan to to elapsed time, remain time and first or second time is it possibel Visual basic 2010 (visual studio 2010 Pro), to display on form in one screen and the other form on the other screen

It must be to setup, so that the user does nothing but to put the name of the team's, the the score?

View 3 Replies

VS 2010 Online Fill Forms Select Things And Repeat?

Aug 13, 2010

What it will do:It will go to the penndot website.Fill in those two forms with what the user inputed in the textboxes. Click login Then tick either reschedule, unless there isn't a reschedule then it would tick schedule Click Continue Tick the right DMV(Not going to post this because of my location If there's an error at the top It won't do anything.If there are available choices.Then it would send an email to the email in the email textboxSo.. after writing all this out...

View 2 Replies

Making Different Things Happen Depending On If Things Have Been Set?

Jun 17, 2012

If NewEntryName.Text = "" And OpenFileDialog1.FileName = Nothing Then MsgBox("Please choose a name for your game.", vbExclamation) MsgBox("Please find your game.", vbExclamation) Else Button1.Text = NewEntryName.Text

[code].....

View 1 Replies

Forms :: Make A Notification System - Aim - New Little Box Will Show Up To Alert The User Of A Couple Different Things

Feb 10, 2009

I want to do is make a notification system, kind of like aim were a new little box will show up to alert the user of a couple different things.

This is how far i have gotten :

Dim popups As ArrayList

Public Sub newEvent(ByVal title As String, ByVal description As String)
popups.Add(New Form())

[CODE].........

I use an arraylist because i dont know how many messages will come around the same time, but i could switch to an array if i must. this is the form that i made as kind of a template :

[CODE]..........

Its just got a couple text boxes for now. how can i make these new forms every time i have a new message to display and the clean up after them when they are done.

View 1 Replies

VB Textbox Property In Diferent Class

Dec 15, 2011

I have created a web application and have a number of textboxes on a web page. I have created a new class with carries out a number of calculations and if there is no text in the box it enters 0.00 so I dont get a null exception.

[Code]...

View 7 Replies

Copy Data From 1 Listbox To Another On A Diferent Form?

Apr 30, 2012

I am having problems trying to copy data from one list box to another using mutliple forms an a module for the global variables and arrays. At this point it is telling me that when I select and item form a secondary listbox and try sending it to my main list box it says that I am outside the bounds of the array.[code]...

View 1 Replies

Shopping Cart Sending Data From Listbox To Another On A Diferent Form

Apr 26, 2012

i havent had problems in visual basic all the ay up to this point. I have been given a shopping cart program that I must use: a MainForm, MP3From, AlbumForm, and a module

I finally got my program to send data from the listbox on my MP3Form to the listbox on my MainForm but something isnt right still. I need to be able to click an an item from the lstMP3(listbox on MP3Form) to lstShoppingCart(listbox on MainForm) multiple times without having to close the MP3Form everytime to add the items to lstShoppingCart. Here is what I got so far on my MainForm:
[code...]

This assignment makes me mad cause we have not even covered half the stuff I am having to use in this form at all this semester. If i can get a little explanation on instantiate, inheritance, and declaring and object variable and how its used to transfer data from one to the other.

View 3 Replies

How To Call Usercontrol In Forms

Jun 24, 2009

Am doing windows application in vb.net,then created the user control but i don know how to call the usercontrol in forms.

View 3 Replies

Forms :: How To Call Form Load

Dec 8, 2009

how can you call a form load event in vb.net? when I'm vb6 i only use Call Form_load()

View 2 Replies

Forms :: MDI - How To Call Save Method

Jan 22, 2011

I have MDI form in different project and child forms in different project which is dll project. How can I call save method of my child form from MDI form when I click on save from toolbar button of mdi parent form. I can't access child forms save method at run time?

View 11 Replies

Forms :: Unable To 'Call' From Another Location

May 13, 2009

I have a form which has a button and a toolbar.

The button has code which works and deletes a record in a database:

=======================================
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click

[code]....

I can put similar code into the toolbar button just changing the Button5_Click to the name of the toolbar button but I thought it would be better if I 'called' the already written code.

I changed the Private Sub Button5_Click etc. to Public Sub Button5_Click then in the Toolbar button click event I put 'call Sub Button5_Click()'

I get errors stating that ' argument not specified for parameter 'e' ' and can't progress.

I will be using this code in a few other forms so would like to 'call' possible.

View 1 Replies

Forms :: Call A Function Whos Name Is In A Variable?

Apr 11, 2011

i would like to call a funtion whos name is in a vairable.

Dim Car_service As String
Private Sub ComboBox_Spray_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox_Spray.SelectedIndexChanged
Car_service = ("Spray_" & Me.ComboBox_Spray.Text)
end sub

Call spray_Standard 'this is what i need to change standard is what comes from the combobox 'but i would like to call the funtion depending on what the combobox.text was eg,' if combobox.text was Parkingsensors i would like to call the function call spray_parkingSensors

Private Sub Spray_Standard()
Price_Subtotal = 0
Price_Subtotal = (Damagecount * 65)
Car_Price_Subtotal.Value = Price_Subtotal
End Sub

View 7 Replies

Forms :: Call An Event TabPage1_Enter Dynamically?

Jan 12, 2010

I want to call an event TabPage1_Enter dynamically. To do this what are the arguments should I pass.

View 7 Replies

Forms :: Call The Function From Another Application With Automation

Mar 26, 2009

I have a simple program made in VB .NET 2003 with a few functions. I want to call these function from another application with automation.How can i do this?

View 3 Replies

Forms :: Call Vs2005 Form From Within Excel?

Feb 17, 2010

Just wondering if anyone has any tips on calling some sort of visual studio app (untimately a form) from within excel. so something along the lines of having a button in excel which calls this dll/ocx and opens a form for data populating.

View 1 Replies

Forms :: Correctly Call From A Different Project In The Same Solution?

Aug 18, 2010

I can have all the projects existing in the same solution, and it builds fine. I can have a reference added to the project that I want to show a form from and still builds fine, every time I do something like this: Dim form_to_show as new Project2.Form1 form_to_show.show() It appears to corrupt the RESX file and stops compiling...it's really getting anoying..

View 7 Replies

Forms :: Sub Call To Form Closing Event?

Mar 21, 2011

Going around in circles here. I have an Exit button (Barbuttonitem6) on my form and would like the FormClosing event to handle this. The code works fine for the FormClosing event but when i try to call the Formclosing event from Barbuttonitem6, it does not work (The form does not close if i choose Yes to save or No)

Public Sub BarButtonItem6_ItemClick(ByVal sender As System.Object, ByVal e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem6.ItemClick

[code].....

View 2 Replies

Create A Loop To Call Forms Based On A Value In ComboBox?

Dec 1, 2010

I am writing a program in VB 2008 and i need to be able to select different pages. i have a ComboBox with 15 values in it, and based on what value the user selects, that is the Form i want it to go to. for example, if i run the program and select the Value "electrical", then it will take me to the form that corresponds with that selection. [code]...

View 1 Replies

Error In When Make An MDI Parent Form To Call Other Forms

Nov 17, 2009

I'm trying to make an MDI parent form to call other forms. I have put this code which I found in a post here into the main form which I added to my project as an MDI parent form:

[Code]...

I get an error message which say FrmEmbed is not defined. How can I correct this?

View 4 Replies

Forms :: Call A Function To Save User's Setting

Jul 23, 2009

I am doing a alarm system project which allows a user to select a particular alarm and test the sound. It will also enable the user to save the alarm as the prefered type. So that the next time the alarm rings, it will be that tone which the user has selected.i have already done the select alarm button, play and stop button, but i am having trouble with the save button. [code]

View 1 Replies

Forms :: Call Mdi Form Toolstripmenuitem Name Using The String Variable?

Jul 8, 2009

i need to call mdi form toolstripmenuitem name using the string variable. for ex, mdi form is Form1. toolstripmenuitem is customer master if i do like that "Form1.customer master.Enabled=True" its working

but my issue is i stored customer master in a string variable like mystring="customer master" i need to enabled using the string variable like Form1.mystring.enabled=True

View 11 Replies

Forms :: How To Call Unkown Function In Another Class Dynamically

Jan 20, 2012

I've created a dialog which I'd like to popup from any function or sub in any class or form that I have in a project. It would nice to have it work exactly like a messagebox except it's got a progressbar and a cancel button on it. It's job is to display the progress of other functions so it should just stay open until I close it or the user selects cancel.Now I've found many of the basic examples on the net and have got the dialog working exactly as they have shown it. The trouble is that the examples are using a counter or thread.sleep which simply adds +1 in the DoWork sub. In other words, it validates that a worker thread can update a progressbar but it's a closed loop that only exists in the dialog's class.The examples don't show how to call an unkown function in another class dynamically, they're simply a hard coded 1+1 in DoWork. To me it's not a real world example because it doesn't show how to plug into the dialog or get a communication stream from other classes and functions that are running and wanting to increment the progressbar.[code]

View 3 Replies

Forms :: Mdi Call Active Child Form Method?

Aug 20, 2009

I'm trying to call a method defined within a child form from the menu strip of the parent form when the child form is active.

View 1 Replies

Windows Forms Printdialog Doesn't Appear When Call Showdialog

Jun 29, 2011

my windows forms printdialog doesn't appear when i call showdialog.[code]

View 5 Replies

C# - What Happens If Call Start() Two Times On Class System.Windows.Forms.Timer

Dec 28, 2010

Imagine that I have a System.Windows.Forms.Timer with 1000 ms interval. If I call Timer.Start() method and after 500 ms I call again Timer.Start() what happens? The second Start call will reset the interval or not? Are there any side effects?

View 3 Replies

How To Call WPF MediaElement From Windows Forms Application In Visual Basic 2010

Oct 23, 2010

I am a novice in programming and wrote several simple Windows Forms applications. I need to play mp3 file in Windows 7 x64 application.

Could you, please, explain in simple words, how to call MediaElement.Play() method from Windows Forms?

View 8 Replies

.net : Changing Certain Things To URL?

Aug 4, 2011

Like the browser url is

[URL]

how can i change when button press it will change the url: [URL]to : [URL]it will change M. to WWW.

View 2 Replies

Compare Things From Xml?

May 18, 2010

I'm trying to compare values from a single xml file.

Here is my xml file set up

<?xml version="1.0" encoding="utf-8"?>
<Updater>
<version>

[Code].....

View 11 Replies

Difference Between These Two Things?

Jun 15, 2011

When people use if statements on booleans, they either do this

if booleanStatement = true then
if booleanStatement then

I know that they both accomplish the same thing, but is one better than the other? Outside of 'good programming etiquette'

View 2 Replies







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