none
Convert a .txt file to .dll file

    Question

  • Hi Experts,

    Can somebody help me with this.

    I have one text.txt file and I want to covert it to .dll how I will do it?

    Monday, November 19, 2012 1:25 PM

Answers

  • You can't.  A text file is completely different than a DLL.  A DLL is code that has been compiled to a runnable format.  If your text file represents source code then you'll need to run it through the compiler for the language it was written in (VB, C#, C++, etc).  The process for this varies by compiler.  Most people just use a tool like Visual Studio to compile code.

    Michael Taylor - 11/19/2012
    http://msmvps.com/blogs/p3net

    • Proposed as answer by Alan Macgowan Monday, November 19, 2012 8:50 PM
    • Marked as answer by Ashis_K Tuesday, November 20, 2012 4:25 AM
    Monday, November 19, 2012 1:41 PM
  • A simple minded solution is just to change the extension from txt to dll. Of course that does not make it a DLL. :)

    CoolDadTx's reply is the answer if you want a DLL and the txt contains valid source code.


    Regards David R
    ---------------------------------------------------------------
    The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones.
    Object-oriented programming offers a sustainable way to write spaghetti code. - Paul Graham.
    Every program eventually becomes rococo, and then rubble. - Alan Perlis
    The only valid measurement of code quality: WTFs/minute.

    • Marked as answer by Ashis_K Tuesday, November 20, 2012 4:25 AM
    Monday, November 19, 2012 1:51 PM
  • Thank you all for your valuable answer,

    I also thought like that.

    • Marked as answer by Ashis_K Tuesday, November 20, 2012 4:24 AM
    Tuesday, November 20, 2012 4:24 AM

All replies

  • You can't.  A text file is completely different than a DLL.  A DLL is code that has been compiled to a runnable format.  If your text file represents source code then you'll need to run it through the compiler for the language it was written in (VB, C#, C++, etc).  The process for this varies by compiler.  Most people just use a tool like Visual Studio to compile code.

    Michael Taylor - 11/19/2012
    http://msmvps.com/blogs/p3net

    • Proposed as answer by Alan Macgowan Monday, November 19, 2012 8:50 PM
    • Marked as answer by Ashis_K Tuesday, November 20, 2012 4:25 AM
    Monday, November 19, 2012 1:41 PM
  • Hi!

    I don't think that is posible.. why do you want to convert it to a dll?

    Does the txt has code in it?

    In which language is the txt file developed?

    Regards!

    • Marked as answer by Ashis_K Tuesday, November 20, 2012 4:24 AM
    • Unmarked as answer by Ashis_K Tuesday, November 20, 2012 4:25 AM
    Monday, November 19, 2012 1:42 PM
  • A simple minded solution is just to change the extension from txt to dll. Of course that does not make it a DLL. :)

    CoolDadTx's reply is the answer if you want a DLL and the txt contains valid source code.


    Regards David R
    ---------------------------------------------------------------
    The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones.
    Object-oriented programming offers a sustainable way to write spaghetti code. - Paul Graham.
    Every program eventually becomes rococo, and then rubble. - Alan Perlis
    The only valid measurement of code quality: WTFs/minute.

    • Marked as answer by Ashis_K Tuesday, November 20, 2012 4:25 AM
    Monday, November 19, 2012 1:51 PM
  • Thank you all for your valuable answer,

    I also thought like that.

    • Marked as answer by Ashis_K Tuesday, November 20, 2012 4:24 AM
    Tuesday, November 20, 2012 4:24 AM