473,396 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Code for Retrive data from from the controls(Ex:Text box, Dropdowns) in Visual Basic

Hi
I need the code for retieving data from controls(form controls) in Visual Basic.
I tried in Google, But didn't get it. I am waiting for it. Plz send asap.
Jan 16 '07 #1
2 1435
Dököll
2,364 Expert 2GB
Hiya!

Can you give us a little more? You may also find mopre specific answers here if you search beforehand.

(1)If you are referring to dropdowns where user must select, you should use Form_Load and add the data from which users must choose from, form runs and add data to select from

(2)When user selects, and submits...the data selected will then be added to file or location of your choice

(3)A Text box therefore will collect whatever the user adds in, and you shall have it in file/location of you choice.

Again, search this site, if this does not solve your problem

Note: You are asking the right question, there may be different ways of achieving. Please write or if you have already begun part of your code, add it here for more specifics. Good luck!

Dököll
Jan 16 '07 #2
Killer42
8,435 Expert 8TB
I need the code for retieving data from controls(form controls) in Visual Basic. I tried in Google, But didn't get it. I am waiting for it. Plz send asap.
Generally by just referencing the appropriate property of the control. For example, if you have a form called Form1 with a textbox on it called Text1, you can access the data in the textbox from just about anywhere in your code by using Form1.Text1.Text.

If this is not the sort of answer you are seeking, please explain in more detail what you are trying to do.
Jan 16 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: ziggs | last post by:
I have an asp form that has a text box called "colorBox". Just before text box is the word "Color" that is hyperlinked and will run the color.asp if pressed to show all of the colors in a...
8
by: Steph | last post by:
Hi. I'm very new to MS Access and have been presented with an Access database of contacts by my employer. I am trying to redesign the main form of the database so that a button entitled...
1
by: Jeff Kiesel | last post by:
Has anyone used three textboxes for phone number input and successfully validated it? One textbox for area code, one for exchange, one for number. (yes, we're only doing US numbers) :o)
8
by: John Wildes | last post by:
Hello all I'm going to try and be brief with my question, please tell me if I have the wrong group. We are querying transaction data from a DB3 database application. The dates are stored as...
17
by: MLH | last post by:
From time to time, I find myself cross checking one block of code against another. Usually older stuff in which I've made modifications that don't work. I don't remember what all the changes were...
2
by: Manuel | last post by:
I'm using Visual Basic 2005, is there a way to run dynamic code? Ex: Dim strToRun as String ="" strToRun &= "dim s as string = ""Hello World!""" & vbcrlf strToRun &= "Messagebox.Show(s)"...
6
by: Mukesh | last post by:
Hi I have Microsoft Enterprise Library 2005 installed on my local system. I m also using ASp.net 1.1 And C3 as coding language , I have MS Sql Server 2000. I am developing a web application...
3
by: Mukesh | last post by:
Hi all As per my earlier conversation with Ciaran (thx for reply) I have installed the MS APplication block on the server , when i ran Build Enterprise Library file and Install Services from...
1
by: semomaniz | last post by:
I have a form where i have created the form dynamically. First i manually added a panel control to the web page. Then i added another panel dynamically and inside this panel i created tables. I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.