Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:621531
More Search Options
RSS Available
Matching Posts
no window when starting processes on remote machine
hello, i found a way to start and stop processes on a remote machine using the WMI, but the problem is that, when i create a process on another machine (for example the notepad), the process is created and it can be viewed in the task manager, but no notepad window appears.. someone could help me? tha code used is: public static bool fnCreateProcess(string computerName, string processName, int maxDelayTime) { ManagementOperationObserver observer = new ManagementOperationObserver(); //Set up a handler
Posted to
Enterprise Services Integration
(Forum)
by
odin_dark
on 1/3/2006
Re: Check services on remote machine
ok. now i found the way to do it, we just have to put the next code in the web.config file: <identity impersonate="true" userName="userName" password="password" /> obviously the user must have access to these services on the remote machine Thanks to all!
Posted to
Security
(Forum)
by
odin_dark
on 12/23/2005
Re: Check services on remote machine
Ok, and how can i do that? i found some ImpersonationUtil, the code is the next, but it doesn't work public class ImpersonationUtil { public static bool Impersonate( string logon, string password, string domain ) { WindowsIdentity tempWindowsIdentity; IntPtr token = IntPtr.Zero; IntPtr tokenDuplicate = IntPtr.Zero; if( LogonUser( logon, domain, password, LOGON32_LOGON_INTERACTIVE, LOGON32_PROVIDER_DEFAULT, ref token) != 0 ) { if ( DuplicateToken( token, 2, ref tokenDuplicate ) != 0 ) { tempWindowsIdentity
Posted to
Security
(Forum)
by
odin_dark
on 12/22/2005
Check services on remote machine
Hello, I'm trying to check the services status on a remote machine, the code i'm using is the next: string MachineName = "somename" ServiceController[] services = ServiceController.GetServices( MachineName ); foreach ( ServiceController service in services ) { Console.Write(string .Format( "{0} [ {1} ]", service.ServiceName, service.Status.ToString() ) ); } this works fine if i execute it on a windows C# application, but it doesn't work if i try to execute it on an ASP .NET WEB Application, it sends
Posted to
Security
(Forum)
by
odin_dark
on 12/20/2005
Detect Office Web Components Version.. how?
hello, i would like to know how can i detect the Microsoft Office Web components (OWC) Version in C# or JavaScript or JScript.. or something!, this is because some OWC doesn't work properly under OWC Xp (windows xp) when configured to run under OWC 2000 (windows 2000). Thanx in advance!
Posted to
Enterprise Services Integration
(Forum)
by
odin_dark
on 12/7/2005
Re: default button (no submit)!
ok thanks man, i owe you one!!!!
Posted to
Client Side Web Development
(Forum)
by
odin_dark
on 8/29/2005
default button (no submit)!
hello there, somebody know how can i make a button to be default (i mean, activated by pressing "enter") without using a Submit button and also, for example, if a text area or another button has the focus, this control shoul be activated, not the default button, this is because, i use this code: function fnExecClickByCode(controls, xCode){ //the button, and the key code wich will activate the button if ( event .keyCode == xCode) for (i = 0; i < controls.length; i++) if ( document.getElementById
Posted to
Client Side Web Development
(Forum)
by
odin_dark
on 8/26/2005
Re: dispose vs null assignment??!!
ok, thanks for your time, let´s rock and roll!
Posted to
C#
(Forum)
by
odin_dark
on 8/25/2005
Re: dispose vs null assignment??!!
Ok! so i can assume that a DataTable don't need to be Disposed or null assigned, just like an int variable or something, right?, thank you for your time!!
Posted to
C#
(Forum)
by
odin_dark
on 8/24/2005
dispose vs null assignment??!!
hello, i would like to know... if the Dispose method supposedly r eleases the resources used by the MarshalByValueComponent. then, why after i called the dispose method i can still use the variable?? shouldn't this release an exception??? for example DataTable dt; dt = SomeObject.SomeFunction() //do something with dt dt.Dispose(); Response.Write(dt.Rows[0][0]); this works!!, why if the object is supposedly disposed??? note: if i assing null to the DataTable ( dt = null; ) then it works as i expect
Posted to
C#
(Forum)
by
odin_dark
on 8/24/2005
Page 1 of 1 (10 items)
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
IIS.NET:
SiteShell
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online