473,396 Members | 2,158 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.

Visual Basic form

Hi, I want to create a program enabling the user to enter their name, address (first line of address) and date of birth. Their details will then appear in 2 output boxes, their name and address together and the DOB separately.

I don’t know how to code it!

any help will be appreciated =)

Thanks
Nov 18 '07 #1
3 995
lotus18
866 512MB
So, you didn't try? Don't look for a codes. Just try what have you learned and we'll try to make solution for your mistakes if any. : )
Nov 18 '07 #2
Hey, this is the coding...

Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2.  
  3. End Sub
  4.  
  5. Private Sub LblOutput_Click()
  6.     LblOutput.Caption = strName + strAddress
  7. End Sub
  8.  
  9. End Sub
  10.  
  11. Private Sub LblOutput2_Click()
  12.     LblOutput2.Caption = intDOB
  13. End Sub
  14.  
  15. End Sub
  16.  
  17. Private Sub TxtInput_Change()
  18.     Dim strName As String
  19.  
  20. End Sub
  21.  
  22. Private Sub TxtInput2_Change()
  23.     Dim strAddress As String
  24. End Sub
  25.  
  26. End Sub
  27.  
  28. Private Sub TxtInput3_Change()
  29.     Dim strDOB As String
  30.  
  31. End Sub

Once the user enters their details, it isn't displayed.

Thanks
Nov 18 '07 #3
AHMEDYO
112 100+
HI...

try to check about variables scope you declare in your code
Nov 18 '07 #4

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

Similar topics

1
by: nicole bissell | last post by:
Hello, I am working in a new form and still making changes to the visual basic code of the form. Not always, but very often when I try to save my changes in the visual basic window and press the...
5
by: john | last post by:
I searched http://www.sellsbrothers.com. and could not find anything about this subject. How do I make C# User Controls Visible to Visual Basic 6.0 Applications? Thanks, John
4
by: MikeB | last post by:
I've been all over the net with this question, I hope I've finally found a group where I can ask about Visual Basic 2005. I'm at uni and we're working with Visual Basic 2005. I have some books, ...
16
by: AirborneBob | last post by:
I just installed MS Office Enterprise on my system today and jumped right in to MS Access. Because I am familiar with Access I had very few problems navigating around. Here is the big question. ...
0
by: bdhassan87 | last post by:
how can i insert data to datagrid from text box using visual basic 6.0
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?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.