|
-
Feb 5th, 2000, 05:35 AM
#1
Thread Starter
Addicted Member
Can anyone tell med how I can declare a variable, i.e. a string in the (General) in one form and use it in another form?
I have tried Form2.txt (where txt is the name of a string declared in the (general) of Form2) but it doesn't work.
Is there other ways to get information from one form to another?
Also:
How can I load the contents of a sequential file into a string? I have one method, loading it into a RichTextBox, but now I want it to get into the string without showing on the screen.
To read it line by line takes to much memory (and time) with big files.
Thanks in advance!
------------------
Wilhelm Tunemyr,
Sweden
[email protected]
"Dort, wo man Bücher verbrennt, verbrennt man am Ende auch Menchen"
Heinrich Heine (1797-1856)
Pravda zvítezi!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|