Hello,
I want to write an application in C# that controls the Windows Print Spooler service.
How do I know if the service is still responding?
I know how to check if the service is running or stopped, but I want to detect if the running printspooler is really
still active and accepting new...
Hello,
I have a question about bringing windows to the foreground.
My application enumerates all windows to find a window with a title that contains (parts of) a given title.
When a window is found, it must be brought to the foreground.
I use the following code to do this:
void __fastcall...
Hello,
I want to write an applic that detects when a certain messagebox is being displayed by another application.
After I detected the messagebox, I want to push a button on
that messagebox programmatically, so that the messagebox disappears.
So I just want the get rid of a warning message...
Hey,
I need to preview/print technical images created by Corel Designer 9.0. I have to do this from my own application...
Is there a tool to preview/print those .DSF-files or CONVERT them into bitmaps or jpegs or so?
I know you can export those files manually to the desired graphical format...
Hi,
I need to encode a message with the Rijndael C++ classes found on the code project(http://www.codeproject.com/cpp/aes.asp), and decode that encoded message
in a C#-appication.
Can anybody tell me what the correct implementation in C# is of that code project code? Of course using the...
I did the Serialization as follows:
FileStream fs = new FileStream(GlobalClass.SyncLog, FileMode.OpenOrCreate, FileAccess.Write);
IFormatter formatter = new BinaryFormatter();
try
{
//SyncTable is the Hashtable to serialize...
Hello everybody,
I have a little question about Serialization.
I have written an application that Serializes a Hashtable to a file on disk.
Now I want to open this serialize-file from another application, but I get an error that the assembly from where I serialized the Hashtable in the first...
Hey,
I am writing a Windows service application in C#.
In this service, I am using a timer that performs actions at a certain time.
My problem: this timer does not seem to run.
When I create a simple Windows Service applic, with only 1 timer in it, it does not work either...
What to do to...
Thanks for the quick response!
One more question:
How to add a range of barcode from an existing database
to the resulting database with a single SQL-query?
I tried this:
cmd.CommandText = "INSERT INTO checklist (barcode) WHERE CAST(barcode AS LONG) BETWEEN " + iFromBarcode + " AND " +...
Hey,
a little SQL question:
I have a SQL-database which contains barcodes(strings).
Now I have to delete a range of barcodes from the DB,
I know where the deletion begins (startbarcode to delete and the stopbarcode).
I illustrate my question with a simple example:
my database contains the...
Hey,
I am writing a PPC 2003 application in C# that requires to Auto PowerUp the device at midnight to perform a backup.
Can anybody tell me how to do this?
I tried to adapt the registry "Registry\HKCU\ControlPanel\Power\AutoOnTime" , but this doesn't seem to work...
Thanks in advance,
Nick
Hey,
some self-written programs in our company-network report a strange error, when trying to send an email.
An exception is generated, caused by the windows socket-error 10038 : "Socket operation on non-socket".
I think there is something wrong with the network (and not the...
Hey,
I have a problem installing the .NET SDK 1.1 downloaded from microsoft.com.
When I doubleclick the setup.exe file, windows complains that it is NOT a valid win32 executable. How is this possible ???
What am I doing wrong ?
Thank you,
nick
Thanks for the tip, hologram !
This is the working version of the code :
>>
>>panel.setPreferredSize(new Dimension(image.getWidth(null), image.getHeight(null)));
>>frame.getContentPane().add(panel,BorderLayout.CENTER);
>>frame.pack();
>>frame.setVisible(true);
>>
Cheers,
nick
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.