Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute to a C# exe fails - Access is denied
Message
From
12/10/2006 17:21:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01161572
Message ID:
01161582
Views:
11
>>
>>No. There is no project. That's the all code:)
>>-Write in notepad.exe
>>-Go to VS2005 command prompt
>>csc mytest.cs
>>myTest.exe
>>
>>It works. Now try ShellExecuting from VFP. It doesn't and return code is 5 (access denied).
>
>I foung Command Window. Is it the same as Command Prompt?
>
>But when I type the CSC Mytest.cs I get message "command css is not valid".

No, regular one doesn't have necessary environment variables. See my other reply.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform