| | |
Vb.net Help!!!!!
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
u mean that value from the numericupdown will read in next from?
i suggest to use public shared variable to accomodate the value from numericupdown.then u can call the variable in other form.
i suggest to use public shared variable to accomodate the value from numericupdown.then u can call the variable in other form.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
is it a web application or a regular program?
if it is a regular program:
dim whatever as integer
whatever = form1.dropdownlist1.selectedvalue
if it is a web application, pass the value
on the first form:
Context.Items.Add("VAL", dropdownlist1.selectedvalue)
Server.Transfer("~/form2.aspx", True)
on the second form
dim whatever as integer
whatever = Context.Items("VAL")
if it is a regular program:
dim whatever as integer
whatever = form1.dropdownlist1.selectedvalue
if it is a web application, pass the value
on the first form:
Context.Items.Add("VAL", dropdownlist1.selectedvalue)
Server.Transfer("~/form2.aspx", True)
on the second form
dim whatever as integer
whatever = Context.Items("VAL")
--
"Dummy."
"Dummy."
you cannot call controls directly cause friends status of controls.even if you change the modifiers to public. so i suggest to use public shared variable. you can access this variable form other form...
this declaration of the variable :
this assignment value from NumericUpDown1 to value :
this code to call this variable in other form:
this declaration of the variable :
VB.NET Syntax (Toggle Plain Text)
Public Shared value As Integer
VB.NET Syntax (Toggle Plain Text)
value = NumericUpDown1.Value
VB.NET Syntax (Toggle Plain Text)
Label1.Text = Form1.value
Last edited by Jx_Man; Jan 8th, 2008 at 9:48 pm.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
•
•
Join Date: Jan 2008
Posts: 4
Reputation:
Solved Threads: 1
•
•
•
•
hi
i have a numericupdown box on my first form and in the next form i want the number selected in the numericupdown box to produced that number of text boxs in the next form.
if it s windows application,use below code in form2
text box.text=form1.numericupdown.value
•
•
Join Date: Jan 2008
Posts: 13
Reputation:
Solved Threads: 2
you can do this as.......
on form2 load
textbox1.text=form1.textBox1.text
just try this i think you can solve your problem easily
for any kind of web related information you can visit
http://webdesigningcompany.net
on form2 load
textbox1.text=form1.textBox1.text
just try this i think you can solve your problem easily
for any kind of web related information you can visit
http://webdesigningcompany.net
![]() |
Similar Threads
- Freelance .NET / MS SQL developer (Web Development Job Offers)
- .Net Application Developer (Software Development Job Offers)
- .net Software Engineer (Software Development Job Offers)
- .NET Consultant (Software Development Job Offers)
- Software Engineer (.NET , SQL) (Software Development Job Offers)
- ASP.Net / C# Web Developer (Web Development Job Offers)
- ProgrammersTalk.net Recruiting Forum Posters (Internet Marketing Job Offers)
- .NET developers team searches projects (Post your Resume)
Other Threads in the VB.NET Forum
- Previous Thread: validate registraion form in VB.Net
- Next Thread: Challenging Project
| Thread Tools | Search this Thread |
"crystal .net .net2008 2008 access add advanced application array assignment basic beginner box browser button buttons center click code combo convert cpu cuesent data database datagrid datagridview datetimepicker designer dissertation dissertations dissertationtopic dosconsolevb.net editvb.net employees excel exists firewall forms html images isnumericfuntioncall listview map math memory mobile module msaccess mssqlbackend mysql navigate net number opacity open pan pdf picturebox picturebox2 port print printpreview record regex reuse right-to-left save search serial settings socket sorting sqldatbase sqlserver storedprocedure temp textbox timer timespan transparency txttoxmlconverter upload useraccounts usercontol vb vb.net vb.nettoolboxvisualbasic2008sidebar vba vbnet vista visual visualbasic visualbasic.net visualstudio.net web wpf wrapingcode xml year






