• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Cannot open .CHM file when Application is running in Service Mode.

New Here ,
Feb 27, 2007 Feb 27, 2007

Copy link to clipboard

Copied

Hello All,

I have a compiled HTML help file (.CHM) that i am trying to integrate with my VB 6.0 project.
I am using RH_ShowHelp function (which uses htmlhelp()) to launch the Help File.
All is fine when i run my program in Application Mode.
But, when i install my app in Service Mode, (running under SYSTEM account) - it does not work.

I have tried to use ShellExecute API as well, and that does not work either.


Does anyone have any suggestions on how to get this working from services mode?
Is there some other function call or parameters needed...

Any input is appreciated.

Thanks
G

Views

373

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 27, 2007 Feb 27, 2007

Copy link to clipboard

Copied

Hi G and welcome to our community

Ummm, really showing my ignorance here. What, ummm, exactly IS this "SYSTEM" account you are talking about? Is this a Vista thing or what?

Cheers... Rick (Who proudly purchases "For Dummies" books!)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 30, 2007 Mar 30, 2007

Copy link to clipboard

Copied

LATEST
Hello Rick, & Mike -

Sorry for the late response.

Yes, the program can be run both in Application mode (where all is fine), and can also be installed in Services Mode (Control Panel - Administrative Tools - Services). Now, when a program is running as a service, under the Local System Account ("SYSTEM") - the Help files (.CHM) do not work. On the other hand, when in Application mode, it usually runs under the User account that is currently logged in (ex: Administrator) - and that works fine.

Has anyone encountered this problem before? And if yes, do u know how to call/open the CHM file?

Thanks
G

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 28, 2007 Feb 28, 2007

Copy link to clipboard

Copied

Software executed as a service is usually running as a background task and
is usually executed not by the current logged-in user but by a special
default "user" named "System". There are a number of advantages to having
software run as a service... it can run continuously no matter who's logged
into the system or even if the system is locked.

Mike
"Captiv8r" <webforumsuser@macromedia.com> wrote in message
news:es2ku9$5u3$1@forums.macromedia.com...
> Hi G and welcome to our community
>
> Ummm, really showing my ignorance here. What, ummm, exactly IS this
"SYSTEM"
> account you are talking about? Is this a Vista thing or what?
>
> Cheers... Rick (Who proudly purchases "For Dummies" books!)
>


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp