By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,825 Members | 2,437 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,825 IT Pros & Developers. It's quick & easy.

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

P: 1
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
  3. Dim revString As String = StrReverse(TestString)
  5. 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?
Dec 11 '14 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,731
What was the error when it crashed?
What is the line of code that it crashed on?

Dec 12 '14 #2

Post your reply

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