CanWest
10-17-2007, 11:21 AM
:confused:I want to launch an external program from a form inaccess. I have been able to do this for simple things like word and excel. The one I want to launch is in the administrative tools 'Active Directory Users and Computers'
Does anyone know how to do this.
Zigzag
10-17-2007, 11:29 AM
Hi CanWest
Try a search for APPLICATION.FollowHyperlink.
example
APPLICATION.FollowHyperlink (thingtoopen), "", true
I'm not 100% sure that this is what your looking.
Let me know!!!
Garry
boblarson
10-17-2007, 11:31 AM
And if the FollowHyperlink doesn't work check out the SHELL method.
CanWest
10-17-2007, 12:11 PM
And if the FollowHyperlink doesn't work check out the SHELL method.
The item i want to lauch is the Active Directory Users and Computers mmc snap in. That is what I am having the problem with. Because it is a snap in there does not seem to be a url or exe to lauch.
Zigzag
10-17-2007, 12:18 PM
How would use usualy open this?
Garry
CanWest
10-17-2007, 12:40 PM
How would use usualy open this?
Garry
When installed an icon is placed in the administrative tools menu and i copied it to the desktop. The properties of that icon reveal no path to an executable
Zigzag
10-17-2007, 01:10 PM
Ok I understand what you are saying but there should still be a target (maybe not on the desktop shortcut but in the "Adminstrative tools" folder.
ie
%SystemRoot%\system32\eventvwr.msc /s
I will have to conceed that I can not help if there isn't one.
Sorry if I have wasted your time asking these questions that have led you no where.
Hope you manage to find an answer, and if you do then please post it on here for anyone else with the same issue.
Garry
CanWest
10-17-2007, 03:45 PM
Ok I understand what you are saying but there should still be a target (maybe not on the desktop shortcut but in the "Adminstrative tools" folder.
ie
%SystemRoot%\system32\eventvwr.msc /s
I will have to conceed that I can not help if there isn't one.
Sorry if I have wasted your time asking these questions that have led you no where.
Hope you manage to find an answer, and if you do then please post it on here for anyone else with the same issue.
Garry
Magnificent. That was the info I was looking for. It just did't quite work
The line of code on the button reads
Shell "C:\WINDOWS\system32\dsa.msc"
I get an error invalid procedure or argument
Any ideas ???
Zigzag
10-17-2007, 10:53 PM
Try
APPLICATION.FollowHyperlink ("C:\WINDOWS\system32\dsa.msc"), "", true
Garry
CanWest
10-18-2007, 04:36 AM
Try
APPLICATION.FollowHyperlink ("C:\WINDOWS\system32\dsa.msc"), "", true
Garry
Your earlier suggestion got me thinking. So i tried
FollowHyperlink "file://C:\WINDOWS\system32\dsa.msc"
And it worked......
Thankyou bigtime