Click here to Skip to main content
Page 1 of 4
Page Size: 10 · 25 · 50


Tag filtered by:  Services [x]
Question 13 May 2013   license: CPOL
Showing Interactive services detection window when trying to run .exe on Windowservice Onstart()method. Once we clcik on show message then the exe(console application) shows in a separate window and windows desktop will not appear.Below is the simple code i tried. Any idea to solve this...
Question 12 May 2013   license: CPOL
Hi , I have created a service , i want to read data fro it in multiple activities how i can do.anyone please provide me an example or toturialsthanksfollowing is the code of my service :public class HandleServer extends Service { private Server ser=null; public String...
Answer 9 May 2013   license: CPOL
Sync:http://msdn.microsoft.com/en-IN/library/d4cek6cc.aspx[^]Async:http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.begingetrequeststream.aspx[^]
Answer 9 May 2013   license: CPOL
you can use the HTTPWebRequest/HttpWebResponse classes to make the requests/decipher response. Check out this for the usage:http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx[^]For simple requests you could also use fiddler or restclient(jar) apps.
Question 9 May 2013   license: CPOL
I wanna to write test cases in NUnit test project for REstful WCF service.How can I use NUnit test to test RestFul wcf services?Thanks in advance....
Answer 9 May 2013   license: CPOL
Check out the below articles. Best methods are explained here.1. Walkthrough: Build, Host, and Test Simple RESTful WCF Service[^].2. Building and Testing WCF RESTful services[^].3. RestFul WCF JSON Service with client and on Mozilla Firefox –REST Client[^].
Question 9 May 2013   license: CPOL
Hello,I have created one RESTful wcf srevice.I wanna to know best Unit testing tool to test Rest Wcf Service.I was trying to use NUnit test tool, but I thought it is not best tool to test REST wcf Service as I was getting many errrors.Please tell meThanks in advance.
Question 9 May 2013   license: CPOL
Hello,I am using WCF service has two interfaces implemented accessing for different modules. Please see below structure. I have hosted a Service called http://MYPC/WCFTEST/Service1.svc.Actually i have implemented IModule1Service and IModule2Service interfaces. What actually i...
Question 8 May 2013   license: CPOL
Probably a simple question... I've connected to simple web services before by using Visual Studio to add a web service where it creates all the class information for you. But soon I will need to connect to a secure web service using WS usernametoken (username and password with nonce +...
Question 6 May 2013   license: CPOL
I need a Windows Service Application, which has timer in it, which checks a folder after 12 hours, and opens all the excel files which are Marked UNUSED, and dumps the data into a table in SQL Server 2005 and then edits the name of the excel file to USED. Continues to do it on daily basis.Kindly...
Question 6 May 2013   license: CPOL
Hi, i am try to add user to activedirectory group in windows server.that users call from share point list.i am get the items from share point list successfully.but i am trying to add users to active directory distribution group.some exception and errors came.so please help me to find the...
Article 29 Apr 2013   license: CPOL
Usage of services, alarm manager and broadcast receivers.
Article 26 Apr 2013   license: CPOL
FindMe - My entry to the Azure Developer competition
Article 25 Apr 2013   license: CPOL
Come one, come all , get your racing sticks here, throw them in and catch the winner!
Answer 23 Apr 2013   license: CPOL
I am sorry that I only saw this question today. I have a several years' experience with FileSystemWatcher (and with the Win32 API functions when using C++ before C#).These are the main areas to look out for:1) As you said, make sure the code that handles notifications is as quick as...
Answer 22 Apr 2013   license: CPOL
Hi All,After couple of days i was able to find a solution by replicating the same scenario in my development enviroment just the way it was on my test environment. I requested the team member of external system to FTP sample file i post from my archive test files to my polling folder.I...
Answer 22 Apr 2013   license: CPOL
Hi All,After couple of days i was able to find a solution by replicating the same scenario in my development enviroment just the way it was on my test environment. I requested the team member of external system to FTP sample file i post from my archive test files to my polling folder. I...
Question 17 Apr 2013   license: CPOL
I am new to Android programming am trying to make an app that simulates the Producer Consumer app. The specifications of the app are as under: 1. I have a Button "Produce Items" which when clicked is supposed to increment the number if items in a thread-safe container (can be anything) by 1. 2....
Question 10 Apr 2013   license: CPOL
Hello All,Following is my scenario:I will get xml file in my source folder and i have to pick them up and process create new xml file and place it in destination folder. I have a window service in my application in which i have included file system watcher concept for performing above...
Answer 9 Apr 2013   license: CPOL
This is not really a "solution", but something you should better be aware of; please see these CodeProject articles:FileSystemWatcher - Pure Chaos (Part 1 of 2)[^],FileSystemWatcher - Pure Chaos (Part 2 of 2)[^].—SA
Question 8 Apr 2013   license: CPOL
I have a web page(.aspx), on which I'm loading some user control by jQuery ajax. Something like this: $.ajax({ type: "POST", url: "WebService.asmx/GetGrid", data: data, contentType: "application/json; charset=utf-8", ...
Question 7 Apr 2013   license: CPOL
HiI’m looking for a stable architecture for Commercial Projects like Accounting based on Network,Database: SQL ServerPlatform: .Net and C# Programming languageTechnology: Windows FormSo it's Contain at about 200 tables and Several hundred thousand Records, this software will...
Question 1 Apr 2013   license: CPOL
Windows services run in session 0, i have a code that i need to run as a user in session 1 from the windows services. Please feel free to guide as i am new on this.
Answer 28 Mar 2013   license: CPOL
You can't do this. If your code worked at all, Explorer would be running in Session 0, completely invisible to the user logged in that the desktop. Actually, IIRC, Explorer won't even launch in Session 0.As of Windows Vista, Services can no longer interact with the users session. This is...
Answer 28 Mar 2013   license: CPOL
What error is returned when your code fails to start explorer?And what version of Windows are you working on? Session 0 Isolation in Windows Vista and beyond may affect your approach...
Question 28 Mar 2013   license: CPOL
I have made a windows service in .Net 4.5. I want to check if the explorer.exe process is started or not on the machine through my service and if not, then start the process.i have heard about the difference between sessions that win service runs in session 0 and all other processes runs in...
Answer 28 Mar 2013   license: CPOL
You can't do that. It's considered a security risk and Microsoft has taken steps to prevent you from doing what you want to do.
Answer 27 Mar 2013   license: CPOL
Analyse the requirements again. Do you really need to run "code" of the service from a user session? Surely not.You need an application running in the context of the user which communicates with the service by e.g. .Net Remoting (old) or WCF, ...
Answer 27 Mar 2013   license: CPOL
1) Goooooooggggggggllllleeeeeee!!!!!!2) Have a look here: Subverting Vista UAC in Both 32 and 64 bit Architectures[^]3) you can even call psexec with proper parameters if you don't want to bother yourself with the windows api
Question 25 Mar 2013   license: CPOL
Hello All, Now we are working on a WPF project we like to load 1 Lac data using service. We try using simple wcf service it load this much data in 5 second , but the same data we try to load using WCF data Service but it take about 30 to 35 sec . Is any option to speed up...
Answer 25 Mar 2013   license: CPOL
I don't believe this is possible. Every action a Windows 8 application takes must be made by user interaction, and so starting it automatically would be against that rule. You should, however, be able to add a background task that can gather data in the background while your app isn't running....
Answer 25 Mar 2013   license: CPOL
That is very easy, you just need to use 2 WinAPI: OpenSCManager and EnumServicesStatus. First one is used to obtain service control manager handle, and the second one to enumerate services based on given status and type.Regards,Maxim.
Question 25 Mar 2013   license: CPOL
I'm using VS2005 and am try to create a program which shows the current running services and found that particular service is running or not.Can anybody tell me what I have to do for achieving this.I am working on vc++.Thanks,Vaibhav Jaiswal
Answer 24 Mar 2013   license: CPOL
You can't reliably kill Explorer.exe. It's what Windows considers a "critical process". You can kill it, but it'll repeatedly be relaunched. Constantly killing the process can lead to system instability.The better solution is to not have someone logged in at the console.
Answer 24 Mar 2013   license: CPOL
I don't think you can permanently kill explorer.exe. It is a key part of the Windows operating system. If you want some security over data that you must right to the hard drive, please consider using the classes available in the.NET Framework Namespace System.IO.IsolatedStorage namespace or...
Question 24 Mar 2013   license: CPOL
I am trying to keep the explorer.exe KILLED till an event.I mean i have an xml file which i read from my windows service background worker. It waits for a value, till than the explorer.exe should not execute, its for security purpose.I have tried till now :While (True) ...
Answer 21 Mar 2013   license: CPOL
You needs to use AJAX extender for this functionality which gets list using webservice when you type a word or letter in text box.Use AJax Autocomplete Control for this as given in below linkhttp://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx[^]
Question 21 Mar 2013   license: CPOL
Dear Team,Please provide code how to implement that functionality.Search Name in Drop down List and enter text in textbox, only match or character contain show in drop down listReference site :http://jombay.com/[^]Search for jobs Title Name : I need implement same...
Question 21 Mar 2013   license: CPOL
I have already made my metro app based on PC security and its working fine.I want to start this metro app on Windows Startup, for that i have made a Windows Service so that it can start my metro app.Problem : How to start a metro app from Windows Service ?I have googled it alot but...
Question 20 Mar 2013   license: CPOL
I'm trying to achieve something like this http://petstore.swagger.wordnik.com/#!/store/placeOrder_post_2 I want to set a complex type as DataType of ServiceStack.ServiceHost.ApiMember attribute as I want to have JSON schema to this field. In the swagger-ui documentation is written:The...
Answer 18 Mar 2013   license: CPOL
From what Microsoft say[^] it looks like LocalSystem will have all the privilleges and access you will ever need.However if you can run successfully as LocalService[^] then that may be considered a lower security risk and you may not need to audit every line of your code depending on your...
Question 18 Mar 2013   license: CPOL
Hello, Everybody.I'm writing a service which runs javascript file with cscript.I have two apps - client.exe and service.exe. Client sends the service a request to run cscript.exe with parameters.The javascript file is for installing software - wpkg.jsI tried to create service to...
Question 14 Mar 2013   license: CPOL
Everywhere I look for hints to connect to a (web)service, I am advised to choose "add service reference" but that wont'work in my current situation. The implementation in my case is a third party service, and the template is not able to continue and cannot create a proxy for me. So I am...
Article 14 Mar 2013   license: CPOL
In this article we will talk about the next 5 interesting SQL Server 2012 features.
Answer 12 Mar 2013   license: CPOL
My first suggestion would have been to try to create an inherited object from the directoryinfo class. But it is sealed. Anyway I would not recomend to you to return with a list of DirectoryInfo. I would create a DTO (Data Transfer Object). See the following:The DTO:[DataContract]public...
Question 8 Mar 2013   license: CPOL
Hi,I am trying to get the list of sub-directories of a directory from svc service, but it shows an error --The type System.IO.FileSystemInfo cannot be deserialized as it doesn't has parameter less public constructor.Please help me out from this situation.Code...
Answer 7 Mar 2013   license: CPOL
hi patel,Deploy your service in the IIS of your server to run continuouslyRegardsRavi
Question 6 Mar 2013   license: CPOL
hi everyone                        I m developing a asp.net application, in this application user will create a task or notification, as soon it create a task or notification system have to send a mail to 20 to 25 people mail, i have done everything system send a mail, mails r delivering...
Answer 28 Feb 2013   license: CPOL
This might help check out this link: http://sharepointdata.blogspot.com/2009/03/google-search-webpart-in-sharepoint.html

Page 1 of 4
1 2 3 4


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid