?
Solved

Sample Program! Q175948

Posted on 1998-09-03
1
Medium Priority
?
128 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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 …
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…
Suggested Courses
Course of the Month14 days, 11 hours left to enroll

770 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