Alster Posted December 31, 2008 Author Share Posted December 31, 2008 Hai!So I've been learning a bit of C++ (annoying because I'm having to unlearn most of my Visual Basic Logic), given up on it and I'm moving back to VB.So I thought I'd start off with a simple program which makes a story, with info you enter, saves itself into a .txt document which you can open up and edit in the same program (for fun).And now I'm stuck on the most basicest (huh?) principle, implementing a variable into other words.Example:Private Sub Form_Load()Dim aName As StringDim wootAnOnlineTest As StringEnd SubPrivate Sub makeTehStoriee_Click()aName = yourName.TextwootAnOnlineTest = tehBox.textstoryBox.Caption = One Day VariableONE stopped for a VariableTWO. Link to comment Share on other sites More sharing options...
1472000 Posted December 31, 2008 Share Posted December 31, 2008 @Alster:> storyBox.Caption = "One Day " & VariableONE & " stopped for a " & VariableTWO:D There ya go! Link to comment Share on other sites More sharing options...
Alster Posted December 31, 2008 Author Share Posted December 31, 2008 Cheers very much.*Makes Excuse* It IS 4AM, no wonder I can't code. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now