Thread: [help] windows form , pass a string from a file .txt to a textbox

  1. #1
    Registered User
    Join Date
    May 2012
    Posts
    1

    [help] windows form , pass a string from a file .txt to a textbox

    hi,

    i'm developing a software for a class in the college.

    i'm trying to pass a string that i have in a file to a textbox.

    the programa works, but when i try to use the function to this , dont work :\

    help ?

    http://i47.tinypic.com/jq3y4i.png

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    You need to decide if you want to program for the .NET framework or native. If your target is .NET, use C# or if you are a masochist use C++/CLI. If you don't want to target .NET, use plain C++ and some C++ GUI framework (MFC/GTK/wxWidget/QT). Right now you are mixing it. And that's bad, because you take the worst of both worlds.

    .NET is easy but not as powerful.
    Native is powerful but not as easy.

    Currently you are struggling with the fact that your mixture is neither powerful nor easy.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows form C++ - referencing the form
    By rocketman50 in forum Windows Programming
    Replies: 2
    Last Post: 05-22-2010, 11:58 AM
  2. Replies: 2
    Last Post: 04-02-2009, 04:40 AM
  3. Pass a List<double>^ to an opening Form
    By franse in forum C++ Programming
    Replies: 4
    Last Post: 01-07-2009, 11:32 AM
  4. how to make a button,textbox,form in C please help
    By wilen in forum Windows Programming
    Replies: 6
    Last Post: 09-17-2006, 04:20 AM
  5. accessing windows forms textbox properties
    By luigi40 in forum C# Programming
    Replies: 5
    Last Post: 04-19-2005, 04:53 PM