-2
I am trying to run Active Directory from my machine via C#. I can open all other common programs without problem.
The program is installed in C:\Windows\system32\dsa.msc
, but Visual Studio shows an error and informs that did not find this file, even though he exists.
I’m running it this way:
System.Diagnostics.Process.Start(@"C:\Windows\system32\dsa.msc");
Error of Visual Basic:
If it did, it wouldn’t make this mistake.
– Jéf Bueno
it exists, because if play in the run it opens the direct program.
– Bruno Felipe Kouuds
Well, show exactly the error and a screenshot of the file showing the complete path to it
– Jéf Bueno
Try it like this
System.Diagnostics.Process.Start("dsa.msc");
– MurariAlex
@Murarialex I tried this way and also could not find the file.
– Bruno Felipe Kouuds
@LINQ Added the photos in the question.
– Bruno Felipe Kouuds
I managed to solve the problem was that I had to set the OS version in visual . I set it to 64 Bits only and it worked.
– Bruno Felipe Kouuds
Put your solution in response to the next users who have the same problem solve easy as well. Abs
– Guilherme IA
@Guilhermeia I’m sorry, I’ve put in the right place but I can not mark as solution.
– Bruno Felipe Kouuds
Rest assured @Brunofelipekouuds, when you have the minimum score to vote right you come back here and vote. Just leave the solution to the next users already worth. Hugs!
– Guilherme IA