Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,459 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,802 people online right now. Registration is fast and FREE... Join Now!




Calculator assignment ..other problem

 
Reply to this topicStart new topic

Calculator assignment ..other problem, memory function

SNOOPLE
29 Jul, 2008 - 04:16 AM
Post #1

New D.I.C Head
*

Joined: 26 Jul, 2008
Posts: 7

Hey,
This time im having trouble with making a memory function
so far ive got 1 button saying "memory" in the calculator
i want to be able to store whats in my textbox when i press it.
then be able to put it back in later like they do on normal calculators

User is offlineProfile CardPM
+Quote Post

Zhalix
RE: Calculator Assignment ..other Problem
29 Jul, 2008 - 04:22 AM
Post #2

D.I.C Head
**

Joined: 7 May, 2008
Posts: 218



Thanked: 9 times
My Contributions
Make a form-level variable of the string data type. You can store the data in it.

CODE
Dim strMem As String

Private Sub Command1_Click()

    strMem = Text1.Text

End Sub

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 04:06PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month