Please Any One Give Me Open Code

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

    Please Any One Give Me Open Code

    Hello ,
    This is save cord,

    [CODE=vb]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.FileNa me for Output As #1
    Print#1,Text1.T ext
    close 1
    Exit Sub
    e:
    Resume Exitline
    Exitline:
    Exitsub
    end sub[/CODE]

    I want to know what is the cord for open
    Last edited by Killer42; Jun 19 '07, 08:36 AM. Reason: Added [CODE=vb] tag
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Can u please specify what is CORD in VB 6.0

    I never came across that in my entire carrier.

    Comment

    • sirimanna
      New Member
      • Apr 2007
      • 21

      #3
      I jest want to this;
      i want to get save text data in to my VB form...how can i do it? i know how to save data's..i want code...
      thank's

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by sirimanna
        I jest want to this;
        i want to get save text data in to my VB form...how can i do it? i know how to save data's..i want code...
        Let me see whether I'm interpreting this correctly. Are you saying that you have saved some data to a text file using the code you listed, and now you want to know how to read the information back from the file?

        If so, have a look in the index of articles at the top of the VB forum. It contains a couple of samples showing how to read a text file.

        By the way, if you want to post code, it's usually better to copy and paste rather than typing it here. Too many errors creep in otherwise.

        Comment

        Working...