?
Solved

getting text to text.. (McRider)

Posted on 2000-04-25
6
Medium Priority
?
130 Views
Last Modified: 2010-05-02
Private Sub Command2_Click()
Open Text2 For Append As #1
Print #1, Text1.Text  
Close #1
'Save to a file.
End Sub

But now i will to open a textfile , i already know how but how can i display the contents it must look as:


Private Sub Command2_Click()
Open Text2 For input As #1
??????? #1, Text1.Text  
Close #1
'Save to a file.
End Sub

where the ??????? is the question
0
Comment
Question by:markyvt
  • 3
  • 3
6 Comments
 
LVL 9

Expert Comment

by:Dalin
ID: 2748755
Line Input #1, Text1.Text  
0
 
LVL 2

Author Comment

by:markyvt
ID: 2750640
Dalin as it works the points are for you i'm gonna test it now see ya.
0
 
LVL 2

Author Comment

by:markyvt
ID: 2750647
This gives an error, the text is not one rule (text1) is an text block


Private Sub test_Click()
Open Text2 For Input As #1
Line Input #1, Text1.Text
Close #1
End Sub

This works not
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 9

Accepted Solution

by:
Dalin earned 200 total points
ID: 2750982
I see.  Try this:
Text1.Text = Input(LOF(1),1)
0
 
LVL 2

Author Comment

by:markyvt
ID: 2758868
Thank you man your the best.
0
 
LVL 9

Expert Comment

by:Dalin
ID: 2758934
You are welcome. Good luck in your project.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question