Find Jobs
Hire Freelancers

Compile VB code on the fly

$30-250 USD

Abgesagt
Veröffentlicht vor fast 12 Jahren

$30-250 USD

Bezahlt bei Lieferung
I have a program which can run vb.net code using CodeDom compiler. Basically it helps me to add programming functionality to my application. This is not too tough and such a sample can be found in codeproject website : [login to view URL] What I have done is : I have 2 modules : Module 1: Initializes and runs the script engine by sending code user may have typed. Module 2: The script engine has access to this module, so here I can declare the sub/functions which the user can call in his code. Good news: It's running fine. Bad news: The module style is a problem if I want multiple code to run simultaneously. This is what we need to solve. I want to create multiple instances of the engine & code so that each can run independently and don't modify each other's values. Example: Public Module RunCode Friend Age as integer = 20 Sub Run() ' executing user code ' init script [login to view URL]("[login to view URL]") [login to view URL]("[login to view URL]") [login to view URL]("[login to view URL]") results = [login to view URL](parameter, usercode) End Sub End Module Public Module Module1 ' user has access to functions/subs here Sub IncreaseAge(ByVal A as Integer) Age = Age + A ' var age declared in modulerun code is modified here End Sub End Module ' Code user will write Call IncreaseAge(5) ' increments age by 5 years What needs to be done ? What I want is to convert the module to classes so that I can create objects of the classes and run the program. This way the variables (age in the above example) is not tampered with. Each object will have can keep its own value. Otherwise right now if I run multiple instances of such a program each one will modify the age variable can this can lead to unexpected results. Plus I do not want user to write code as [login to view URL](5). The user will write normal vb code (without objects etc) but I have to have have instance of class so that variables in objects are independent and multiple execution of usercode can take place without any execution modifying common variables. Interested freelancers should know vb.net well and I will be happy to answer any questions you may have.
Projekt-ID: 1607912

Über das Projekt

4 Vorschläge
Remote Projekt
Aktiv vor 12 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
4 Freelancer bieten im Durchschnitt $219 USD für diesen Auftrag
Avatar des Nutzers
I'm a .Net expert and I can handle this issue. Please contact me for further details.
$177 USD in 7 Tagen
5,0 (4 Bewertungen)
4,0
4,0
Avatar des Nutzers
I have 9+ years experience on IT, I was done report designer which creates run time design and any database connectivity, done ERP project for non financial company.
$200 USD in 20 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Please check the PM.
$250 USD in 7 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von INDIA
New Delhi, India
4,6
24
Zahlungsmethode verifiziert
Mitglied seit März 3, 2011

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.