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
Solved

Sample Program! Q175948

Posted on 1998-09-03
1
125 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 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