PDA

View Full Version : Open .CPL in AMS



abnrange
10-22-2009, 01:12 PM
Hello,

Can AMS do this?

I would like to incorporate Windows .CPL files with in ams and not launch them seperate. Can I load firewall.cpl and show it in an AMS object? If so, how? Could not find anything in the forums. Thanks

longedge
10-22-2009, 03:40 PM
You can't display control panel applets within AMS afaik but you can certainly open them from AMS e.g. -


File.Open("firewall.cpl", "", SW_SHOWNORMAL);

abnrange
10-23-2009, 07:45 AM
Thanks - Can a plugin be developed to do this or is it limitaion of AMS?

longedge
10-23-2009, 09:31 AM
Can a plugin be developed to do this or is it limitaion of AMS?

I wouldn't have thought so as a single item. The applets are so diverse that I would guess you'd have to deal with them one by one and what's the point of re-inventing the wheel so many times over. Having said that, at least one of them has been 'covered' more or less by an example by one of the IR staff a long time ago now. That was the add/remove programmes applet.

Saying that it is a limitation of AMS doesn't make any sense to me at all. AMS does what it says it does and a whole lot more to boot.