service

Looking for a Pdf Printer to use in a Docx -> Pdf Conversion Service

I'm not sure if this is possible but as I was looking for a way to convert docx -> pdf serverside (Aspose is a bit expensive), I wondered if I could do this by printing my document to a Pdf Printer. Altho, I would need a decent one then, as it shouldn't show dialogs when trying to print ofc. Does anyone know if: This is possible Ther...

Protect my service from taskkiller-apps

I am developing an application that needs to constantly run a service unless the user consciously deactivates it. The problem is that there are taskkiller-apps with a "kill all applications"-button. These seem to become increasingly popular, and they are causing me a fuzz. When I kill my service with som task managers, onDestroy() is nev...

calling web service from .net app

i added web service as reference to a project and gave it name "days". but i dont actually understand how to work with it. can someone show me the way how to get data from it. in posh i get data from web service this way: $ws= New-WebServiceProxy -uri $xmld.Root.WebService.Address -credential $cred $xml = $ws.getdays() $xml ...

How to create a WCF dead-letter service for MSMQ3.0

Hi, I'm trying to create a service reading the dead-letter from the transactional system dead letter queue. The service configuration looks like this: <service name="NotificationDeadLetterQueueService"> <endpoint address="net.msmq://localhost/system$;DeadXact" binding="netMsmqBinding" contract="INotificationService" /> </servic...

My service does not start on Windows 2008 (it works on Windows 2003)

When we install our product on Windows 2008 SP2, couple of services fail to start. After trying different things, we figured out that these service were able to start when "Log on as" is set to "Local system account". This service does need to run as a specific user because it requires access to secure resources. The service did run j...

Amazon web service with item lookup by UPC

My Working Envirnment is Visual Studio 2008 + C# I am working on Amazon WebService, I want to fetch the data from Amazon using SOAP but when I am trying to pass IDType = UPC it gives me below error message, so what can I do for this ? Error: "036725229884 is not a valid value for ItemId. Please change this value and retry your request...

Android Camera without Preview

I am writing an android 1.5 application which starts just after boot-up. This is a service and should take a picture without preview. This app will log the light density in some areas whatever. I was able to take a picture but the picture was black. After googling like crazy, i came across a bug thread about it. If you don't generate a...

What language is that?

Well I found a nice tutorial about how to program applications using Bonjour. It's cool. But the only problem, I do not understand which language they teach. I am not even sure that it is a programming language? May be they write about commands that should be typed in a command line? Or may be these are commands which should be executed ...

Howto pass intent from Service to the activity

"I am writing an android 1.5 application which starts just after boot-up. This is a service and should take a picture without preview. This app will log the light density in some areas whatever. I was able to take a picture but the picture was black. After googling like crazy, i came across a bug thread about it. If you don't generate a...

WCF Workflow Service single instance correlation

Using visual studio 2010 RC/.Net 4.0 I have a wcf workflow service with three receive activities defined, basically StartProcessing, StopProcessing, and GetProcessingStatus. This is a long running service that continues to poll an external service for data once StartProcessing is called, until StopProcessing is called. My problem is wi...

Search API, find RSS Feeds?

Im looking for a search api that will allow me to search for rss feeds. It will either be a regular search feed that then returns the content type - allowing me to filter by rss items only, or a special rss-only index. Does anyone know of any? ...

how to ensure whether the windows service is in starting or started state

I get a running status for both starting and started state using ServiceControllerStatus. Is there any way to find whether the service has been completely started ...

Can someone help me recall what this framework / technology is called?

When I started to learn about WPF and MVVM recently, I came across some sort of framework or technology in .NET that made it really easy to request a service of some kind. In my particular case, I've got an assembly that handles writing application preferences to an XML file, and I want to let all of my assemblies in the larger applicat...

Designing WCF data contracts and operations

Hi! I'm starting to design a wcf service bus that is small now but will grow as our business grow so I'm concerned about some grwoing problems and also trying not to YAGNI too much. It's a e-commerce platform. The problem is I'm having too many second thoughts about where to put stuff. I will give a scenario to demonstrate all my questi...

Why does my .NET Windows service not start automatically sometimes?

Hi all, I have modified a working Windows service that had always been starting beforehand. After adding the System.Management reference it now sometimes will not start automatically. I get the following error: Service cannot be started. System.Runtime.InteropServices.COMException (0x80010002): Call was canceled by the message...

Calling SQL Azure's stored procedure in silverlight

I have a silverlight application to call the SQL Azure's stored procedure and show the data. I use the service to call stored procedure, and it is working when it is run at VS 2008. But when I integrate in php page, the data is not shown. I think the service is not running. How can I call SQL Azure stored procedure without using service...

Showing enums client side from wcf service

Hi! I don’t know if it’s possible, but I want to be able to refer to enums from my WCF service on the client side. I have one core project, and in that project the enums are: public enum StatusType { Ok = 1, Error = 2, Unknown = 0 } public enum DirectionType { None = 0, ToSystem = 1, FromSystem = 2 } I...

Android Bluetooth from within Service

I have a service that theoretically can work without an Activity associated to it (as "services" are intended on the Android platform). This service uses Bluetooth, in particular registers a Bluetooth Service with a given Name that listens for communications. Of course to work it has to have the Bluetooth active. As also shown on the B...

Uninterruptible Windows Process

Hi Guys, We're starting a new custom project right now from a client and one of the requirements is the process cannot be terminated unless the system is shutting down, restarting, or logging-off. This application monitors the USB interface. We will be using WMI to query the device periodically. The client want's to run the applicatio...

WCF Service hangs on the 14th call

Hi everyone. I'm having a problem where the WCF service hangs after 13-14 asynchronous process calls from the client. This occurs all the time. The client is a mobile JavaFX app. There is no specific error outputted in the server as well as in client. Someone suggested that it might be a throttling issue. I've set the service side .co...