Running Codes from a text file in Resource Which is Reverse text - vb.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sadmalk
    New Member
    • Dec 2014
    • 1

    Running Codes from a text file in Resource Which is Reverse text - vb.net

    I took out part of my code, and I've reversed this text. Then I saved the file in the Resource as txt.

    I want to read the text from the text file and reverse the text again, and then execute the text as codes.

    I used this code to reverse the text:



    Code:
    Dim TestString As String = My.Resources.rever1
    
    Dim revString As String = StrReverse(TestString)
    
    Dim malk1221 As Assembly = Assembly.Load(revString)

    But the program crashed and nothing happened.

    Note that there are codes before and codes after .


    And that my project
    Contains two Model And Class.

    How do I fix this?
    Last edited by Frinavale; Dec 12 '14, 02:15 PM. Reason: Explaining
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    What was the error when it crashed?
    What is the line of code that it crashed on?

    -Frinny

    Comment

    Working...