473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Load an exe file and run it from memory

Hey guys , how i can't load exe file (bytes) and run it from memory :)
something like :

Expand|Select|Wrap|Line Numbers
  1. byte[] test = convert.formbase64string("server bytes")
  2. byte[] test = GetAssemblyAsBytes(test)
  3. assembly gggg = assembly.load(test)
  4. gggg.enterpoint().invok(null,null)
but i keep getting errors .
anyone can help ?! .
Oct 9 '14 #1
2 2831
iam_clint
1,208 Expert 1GB
What are the errors you are getting?
Oct 12 '14 #2
Frinavale
9,735 Expert Mod 8TB
What programming language are you using?

Your code looks like C# but you posted in VB.NET and you aren't using ; so your syntax is not correct for either language...

-Frinny
Oct 16 '14 #3

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

Similar topics

2
by: Tony | last post by:
Hi, I have dynamically created a PDF document in memory as a FileOutputStream Now I have to get it into a DB2 table, storing it as a BLOB. The table has a document id, document name, some date...
6
by: DigitalDragon | last post by:
hi, i would like to use stream I/O functions to open a file from data that i have already stored in memory. eg. char some_text="Test"; int main()
6
by: John Owens | last post by:
Currently I use Response (below) but it feels a little hacky. Is there anyway to do this using a nice little Framework class :-) Response.Clear(); Response.AddHeader("Content-Disposition",...
0
by: Carlos Lozano | last post by:
Hi, I am working on a Flash player customization. The player is ready and works when loading the swf file from disk or url. That was pretty simple using a Flash.ocx wrapper. I would like to...
8
by: shlomi | last post by:
Hello, It's been long time that I'm investigating on how to play Avi file from memory, with no success. What I'm trying to do is to get a scrambled Avi file to memory, fix same data and...
0
by: Tuong Do | last post by:
I have an excel or PDF file in memory stream that was was exported from Crystal Report. How do I launch this file? Launch a file from disk can be done by using process.start() But it has...
1
by: MrNobody | last post by:
I want to load a document which would be residing in the same directory as the application so I pass in a string to WebBrowser control which has no path information- normally doing this with...
6
by: JT | last post by:
Hi, Here's my problem. I am using an obscure font in my Windows Form application, so I want to ensure that people using the application will have the text displayed as intended. I've included...
6
by: Jerry Spence1 | last post by:
I am using a network camera that saves the image in a byte array in memory (via their ocx component, and in the OnNewImage event I can get the pointer to the image and the byte length as...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.