Click here to Skip to main content
15,914,016 members
Home / Discussions / C#
   

C#

 
QuestionHow To Merge DataGrid Cells ? Pin
IceFear25-Dec-04 13:25
IceFear25-Dec-04 13:25 
Generalsyntax coloring richtexbox Pin
Tyrus18225-Dec-04 13:03
Tyrus18225-Dec-04 13:03 
GeneralRe: syntax coloring richtexbox Pin
Pyro Joe25-Dec-04 16:50
Pyro Joe25-Dec-04 16:50 
GeneralRe: syntax coloring richtexbox Pin
Tyrus18226-Dec-04 9:40
Tyrus18226-Dec-04 9:40 
GeneralCreating virtual desktop with restricted access... Pin
msmriyaz25-Dec-04 7:12
msmriyaz25-Dec-04 7:12 
GeneralRe: Creating virtual desktop with restricted access... Pin
Dennis C. Dietrich25-Dec-04 8:20
Dennis C. Dietrich25-Dec-04 8:20 
GeneralRe: Creating virtual desktop with restricted access... Pin
msmriyaz25-Dec-04 10:14
msmriyaz25-Dec-04 10:14 
GeneralRe: Creating virtual desktop with restricted access... Pin
Dennis C. Dietrich25-Dec-04 10:39
Dennis C. Dietrich25-Dec-04 10:39 
msmriyaz wrote:
I appreciate your comments about setting the group policies, and it addresses the second phase of my development plan.

Now I'm curious about your project. If it isn't confidential I'd really like to know more about the program you're making because I still think the common approach is to have a non-privileged account. I mean why would you want to have a privileged user to log into the system and then start a program to provide a non-privileged desktop?

msmriyaz wrote:
But, I still have the big question about, how we would create a new desktop using C# (managed or un-managed code). In fact, that is the main question I had in mind when I posted this question.

You're right. Sorry about that. As far as I know you can't do this with the .NET Framework. However you can do it with some PInvoking. I guess the most important function would be CreateDesktop()[^] (see also Window Station and Desktop Functions[^]). There is even a CP article titled Desktop Switching[^]. Okay, I hope that you now have everything you need to get started. If not feel free to ask and sorry again for not answering your question in the first place.

Best regards
Dennis
GeneralRe: Creating virtual desktop with restricted access... Pin
msmriyaz25-Dec-04 11:21
msmriyaz25-Dec-04 11:21 
GeneralRe: Creating virtual desktop with restricted access... Pin
Dennis C. Dietrich25-Dec-04 12:46
Dennis C. Dietrich25-Dec-04 12:46 
GeneralPCX image file Pin
boiet25-Dec-04 3:16
boiet25-Dec-04 3:16 
Generalhilf mir! Pin
Pyro Joe24-Dec-04 12:51
Pyro Joe24-Dec-04 12:51 
GeneralRe: hilf mir! Pin
Stefan Troschuetz24-Dec-04 22:15
Stefan Troschuetz24-Dec-04 22:15 
GeneralInternet in C# Pin
| Muhammad Waqas Butt |24-Dec-04 11:54
professional| Muhammad Waqas Butt |24-Dec-04 11:54 
GeneralRe: Internet in C# Pin
Member 158368224-Dec-04 20:59
Member 158368224-Dec-04 20:59 
GeneralInternet in C# Pin
| Muhammad Waqas Butt |24-Dec-04 23:39
professional| Muhammad Waqas Butt |24-Dec-04 23:39 
GeneralRe: Internet in C# Pin
Dennis C. Dietrich24-Dec-04 23:54
Dennis C. Dietrich24-Dec-04 23:54 
GeneralC#.Net Events Pin
| Muhammad Waqas Butt |24-Dec-04 11:12
professional| Muhammad Waqas Butt |24-Dec-04 11:12 
GeneralRe: C#.Net Events Pin
Colin Angus Mackay24-Dec-04 13:12
Colin Angus Mackay24-Dec-04 13:12 
GeneralRe: C#.Net Events Pin
| Muhammad Waqas Butt |24-Dec-04 23:31
professional| Muhammad Waqas Butt |24-Dec-04 23:31 
GeneralRe: C#.Net Events Pin
Colin Angus Mackay25-Dec-04 13:31
Colin Angus Mackay25-Dec-04 13:31 
GeneralC#.Net Events again Pin
| Muhammad Waqas Butt |24-Dec-04 23:33
professional| Muhammad Waqas Butt |24-Dec-04 23:33 
Generalapplication close Pin
Pyro Joe24-Dec-04 9:03
Pyro Joe24-Dec-04 9:03 
GeneralRe: application close Pin
leppie24-Dec-04 9:48
leppie24-Dec-04 9:48 
GeneralRe: application close Pin
Pyro Joe24-Dec-04 10:53
Pyro Joe24-Dec-04 10:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.