Re: Programaticly call a method from a different object?



In that case, I think GetType().GetMethod().Invoke() would be your best
route. As Nick mentioned in another part of the thread, though, you're
putting a lot of trust into what you're calling, basically becoming an
operating system/runtime in itself, so I'd recommend restricting the
permissions that are allowed in that execution call (run it in a .Net
security-based sandbox within your app)




.



Relevant Pages

  • Re: How to change NSApplication name on the fly?
    ... > information to determine the correct app name... ... If one would go that route, the next step would be to have some way to ... > We have an OEM application that needs to have a different name for each ... - Glenn Reid builds an app that knows about all his OEM customers. ...
    (comp.sys.mac.programmer.help)
  • Re: More on apps, shelf space
    ... corrupted (which is where this beats the registry). ... There's no reason why the user would have to e.g. install an app in one ... The system could trust Spotlight plug-ins and Input Managers that ...
    (comp.sys.mac.advocacy)
  • Re: CEditView app
    ... you have to route these yourself. ... int high; ... I'm trying to learn programming with MFC. ... I generated an app with Doc/View and made the ...
    (microsoft.public.vc.mfc)
  • Re: OT: And so it begins...
    ... >mean, to a lesser degree, bits outside of the main app. ... >same time as they trust 3rd party email/usenet/chat apps. ... Detrimental-to-me applications can certainly not get my trust by ... If it smells like shit, feels like shit, and tastes like shit, then ...
    (comp.sys.ibm.pc.games.action)
  • Re: Question about DeLorme Street Atlas 2005
    ... If your using a database and want to import it into the app ... select records from it to route to all at once (no need to place individual ... better maps in most metro areas, but much worse maps in rural areas and off ... and the app will order them in a logical progression from the ...
    (sci.geo.satellite-nav)