Solved

Sample Program! Q175948

Posted on 1998-09-03
1
124 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
ID: 1432833
Give me you e-mail and increase the points, I will send you a complete sample code.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel Formula to Pull Data from Text String 7 72
VBA color chart bars 12 76
VB6 - Convert HH:MM into Decimal 8 51
Recommendation vb6 to vb.net or others 14 105
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

929 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

14 Experts available now in Live!

Get 1:1 Help Now