How to open save text data in C: in to text box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sirimanna
    New Member
    • Apr 2007
    • 21

    How to open save text data in C: in to text box

    hello,
    i'm new to VB...i like to know how to open some text data save in c: in to text box.. i know to save cord's to save data in text box in to c:..but i don't know how to get back that save text data in c: in to vbtext box
    thank u.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Put your questions clearly.

    Write in clear concise language using correct grammar and spelling

    Comment

    • sirimanna
      New Member
      • Apr 2007
      • 21

      #3
      i want to know the cord's for command button called open..
      this is save cord's

      cdlfiles.filter ="files(*.srt)\ *.ami"
      cdlfiles.Defaul tExt="str"
      cdlfiles.dialog Title="save str notepad file"
      cdlfiles.Dialog Titel=cdlOFNOve rwritePrompt + cdlOFNPathmuste xist
      on Error GoTo e
      cdlfiles.showsa ve
      Open cdlfiles/FileName for Output As #1
      Print#1,Text1.T ext
      close 1
      Exit Sub
      e:
      Resume Exitline
      Exitline:
      Exitsub
      end sub


      I WANT OPEN CORD'S..IF YOU CAN PLEASE SEND ME
      THANK YOU VERY MUCH

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        Do u mean to say CODE


        Please......... Please Write in clear concise language using correct grammar and spelling

        Please don't use any other language here

        please
        please

        Comment

        • sirimanna
          New Member
          • Apr 2007
          • 21

          #5
          yes i want vb cord...can you give me cord? please...my english is poor...
          thank's

          Comment

          • ajusingh222
            New Member
            • Jun 2007
            • 3

            #6
            plz send the the code as per above discussion.


            code for open a file

            Comment

            Working...