Print Error
Tech-Archive recommends: Fix windows errors by optimizing your registry
Hi All,
I m trying print one document, my application is one Windows Service that
get same info in one data base and try print this.
But when I try call :
StartDoc(hdcPrinter, &di_)
I receive 0 (error), then I call GetLastError and this returned 1722 that
is: the RPC is not available.
Why? How to fix it.
PS: if I put the code in one Console App, I don't receive error.
.
Relevant Pages
- Print Problems
... I m trying print one document, my application is one Windows Service that ... get same info in one data base and try print this. ... How to fix it. ... if I put the code in one Console App, ... (microsoft.public.vc.language) - Re: Re: Still need help getting OneClick app to get to first user code line
... Is this a Windows Forms application of a WPF application, or is it a windows service or console app? ... look in the deployment folders and see if all of the files are there that you expect to be deployed. ... Can I get hold of that dump somewhere? ... (microsoft.public.dotnet.languages.vb) - Re: How can I know if I am in a Service or Application?
... need to know if a Windows Service is instantiating the component or ... Console App and "they" want me to be able to automatically ... got instantiated inside a Windows Service or a Console App? ... TIA TIA TIA! ... (microsoft.public.dotnet.framework) - Re: Windows service wont start
... the particular service that I posted I didn't run as a console app. ... before doing the walkthru I did another windows service with exactly ... >> permissions in the core code? ... (microsoft.public.dotnet.languages.csharp) - Re: Background C# Service
... A Windows Service is just a type of Visual Studio project like Windows Forms ... or Console Application. ... simpler to leave it as a console app and just use Windows Scheduler to fire ... > result set in a specific format. ... (microsoft.public.dotnet.languages.csharp) |
|