Import text file with non-standard file extension

From: Richard (richard_at_discussions.microsoft.com)
Date: 12/30/04


Date: Thu, 30 Dec 2004 11:17:06 -0800

The TransferText method will not permit the import of an external text file
that has a non-standard file extension (e.g., custom ext used by a separate
program). If I manually change the file extension to .txt, it is accepted.
I only want the user to have to select a file that is then programmatically
imported and processed, not to have to intervene in any manual manipulation.

Can an additional file extension be added to the list of acceptable text
file extensions? Or what other means is available to complete the import?



Relevant Pages

  • Import text file with non-standard file ext.
    ... The TransferText method will not import into Access a text file with a ... non-standard file extension (i.e., custom ext for a separate application). ...
    (microsoft.public.data.ado)
  • GetCompiledPageInstance and Custom IhttpHandler
    ... I have written an HttpHandler to process page requests for a custom ... page within the ProcessRequest method of the custom handler. ... custom file extension) and saw that the custom handler was being ...
    (microsoft.public.dotnet.framework.aspnet)
  • Add/Modify Intellisense
    ... I am trying to customize my companies visual studio ide. ... would mock a .cs file extension. ... 2)When the project is compiled i would like to look for some custom ... I would like the keywords to be availabel through intellisense. ...
    (microsoft.public.vsnet.ide)
  • Re: Add/Modify Intellisense
    ... - How about writing a Custom Tool? ... such as the one used for XSD ... - don't believe that's possible, since Intellisense relies on some form of compilation of the source file ... would mock a .cs file extension. ...
    (microsoft.public.dotnet.framework)