?
Solved

Sample Program! Q175948

Posted on 1998-09-03
1
Medium Priority
?
129 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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 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…
Suggested Courses

649 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