CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Location
    Holland
    Posts
    34

    Textbox or variabel?

    Hi, I'm developing a program that has to read a text-file and write to it. I do not have to display the file to the user. So I'm wondering, would it be better to load the file in a textbox or use a string variabel to store it? Thanks.


  2. #2
    Join Date
    Sep 1999
    Location
    Red Wing, MN USA
    Posts
    312

    Re: Textbox or variabel?

    A String Variable has more Adavantages over the Textbox in Terms of Storage Capacity and Speed.

    Textbox has a Maximum Length and it's a Control, so has extended properties, taking up more memory, making it slower to access.


    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Aaron Young
    Senior Programmer Analyst (Red Wing Software)
    Certified AllExperts Expert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured