Problem in using Application.LoadFromText

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sureshrajR
    New Member
    • Apr 2006
    • 1

    #1

    Problem in using Application.LoadFromText

    Hi,
    I created a VB Application. In that VB APplication, I am opening a access
    MDB file, and delete a form object from that mdb and then create a form object with deleted form object's name.

    the coding is as below:
    appln.DoCmd.Del eteObject acForm, strObjName
    appln.LoadFromT ext acForm, strObjName, strOutputFilesP ath & "\" & strFileName & "_Temp\" & tempstr & ".txt"

    This coding is ok for some files. But one or two files, the following error arise

    error: LoadfromText of application object is failed.

    Can you please correct this error.

    From
    R.Sureshraj
Working...