468,110 Members | 1,806 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,110 developers. It's quick & easy.

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:



Expand|Select|Wrap|Line Numbers
  1. Dim TestString As String = My.Resources.rever1
  2.  
  3. Dim revString As String = StrReverse(TestString)
  4.  
  5. Dim malk1221 As Assembly = Assembly.Load(revString)
  6.  

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?
Dec 11 '14 #1
1 1161
Frinavale
9,735 Expert Mod 8TB
What was the error when it crashed?
What is the line of code that it crashed on?

-Frinny
Dec 12 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Rigga | last post: by
1 post views Thread by Jeremy Chapman | last post: by
5 posts views Thread by bbgun | last post: by
10 posts views Thread by electric_r | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.