Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jwarmuth

  1. jwarmuth

    Not C# related so much, but can a Setup file be decompiled?

    Tried with no success. :) Thanks though. Jeff W. MCSE, CNE
  2. jwarmuth

    Launcing exe from windows service

    Go into your services manager and view the properties for the service. Under the 'Log on' tab, you can set the service to be allowed to 'interact with the desktop'. Jeff W. MCSE, CNE
  3. jwarmuth

    Not C# related so much, but can a Setup file be decompiled?

    I'm just curious if there is a way to take a setup program apart to explore the application. Let me put this into context: Let's say I just downloaded the latest smilie add on for IM and email, but an suspect of spyware or other malicious intent during the installation process. Can the...
  4. jwarmuth

    EventLapsed timer method not executing in a Service

    I can't use the forms.timer object because it won't run in a service. As for permissions, it successfully installs and runs under several different accounts; Local System, Network System, and my user account with has administrative access. I played with the threading.timer object before and...
  5. jwarmuth

    EventLapsed timer method not executing in a Service

    I'm trying to figure out how to write a Windows service that performs a task on a set interval, however I'm having really poor luck finding a tutorial that actually works for me. I assebled this little app from two tutorials, and despite my best efforts, it will not run properly. It installs...
  6. jwarmuth

    Can someone explain what this line does?

    Okay, I'm trying really hard to understand this Threading.Timer object, so I wrote my own little app to play with. using System; using System.Threading; namespace Learn2ThreadingTimer { class Class1 { [STAThread] static void Main(string[] args) { Animal myDog = new Animal()...
  7. jwarmuth

    Can someone explain what this line does?

    I've come across some syntax that has never been explained to me in any book, tutorial, or reference doc and it's pissing me off (to say the least!). This is the example code from MS on using the Threading.Timer object. using System; using System.Threading; class TimerExampleState {...
  8. jwarmuth

    Service stops 'functioning' without error. Garbage collection?

    Perhaps a suggestion on how to collect info on the running process? Jeff W. MCSE, CNE
  9. jwarmuth

    C# for beginners

    C# Unleashed has been very good to me. Jeff W. MCSE, CNE
  10. jwarmuth

    Threads - a little confused on this one....

    Read up on Lock, Monitor, and Mutex. Those are all methods of protecting data from alteration from other threads during execution. Jeff W. MCSE, CNE
  11. jwarmuth

    Service stops 'functioning' without error. Garbage collection?

    I've written a little test app that creates an event log entry every few seconds. Problem is, it works fine except that after it creates 4 log entries it stops creating entries. The service does not stop or error. All it does it stop creating entries. If I restart the service, it works again...
  12. jwarmuth

    My Service stops instantly with the error...

    Thanks, I'll try that as soon as I can get some time. :D Jeff W. MCSE, CNE
  13. jwarmuth

    My Service stops instantly with the error...

    public class Service1 : System.ServiceProcess.ServiceBase { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.Container components = null; private string strELSource = "EventLogTheft"; private string strELLogName = "EventLogTestApp"...
  14. jwarmuth

    My Service stops instantly with the error...

    The [(my)service name] service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example: the Performance Logs and Alerts service." This happens when you try to start the service after installation. Googling this error returns results...
  15. jwarmuth

    Creating a class with an enum as a property?

    The purpose of this 'application' is to simply provide a simplified method for handling and reporting Exceptions during the writing, debugging, and testing processess. I quoted application because it's not a full application but a simple code source file I'm writing for my own utility purposes...

Part and Inventory Search

Back
Top