Solved

Sample Program! Q175948

Posted on 1998-09-03
1
123 Views
Last Modified: 2010-04-30
Ok... I've got the code from Q175948 and I've inserted it into my program. In the ServiceMain function where it says "Perform tasks -- if none exit" I put "frmMain.show" to actually kick off my main form...
When I try to start the service I get a DR. Watson... What am I doing wrong?

I replaced the "frmMain.show" with a "MsgBox" command and when I start the service the MsgBox pops right up... Can someone send me some sample code that shows how to get your main form going with this NTService code?

Thanks!
0
Comment
Question by:tnatsni
1 Comment
 
LVL 14

Accepted Solution

by:
waty earned 0 total points
Comment Utility
Give me you e-mail and increase the points, I will send you a complete sample code.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now