Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Suddenly inactive buttons

4 views
Skip to first unread message

Gloops

unread,
Aug 19, 2016, 12:51:51 PM8/19/16
to
Hello everybody,

I have a compiled HTML help file that works very well for about a year.

It contains buttons, one that launches a personal program (written in
C#), and a few that open directories.

Today, I realize that these buttons do not operate any more.

There were updates on Vista recently, must I suspect them ?
And above all, what must I do ?

A few more precisions ...
I dis-activated the anti-virus, and that changed nothing.

In the administrator session, I copied the command from Item1 (see code
hereunder for the other buttons) to a command line window, it ran OK,
then I saw my program was launched again from the help file. So, either
I did not look properly, or perhaps it is the fact to be administrator ...

But to open the directories, it is more difficult.

Copy the command to a command line window is OK, but from the help file
the directory is still not opened.

Any idea ?

<OBJECT
id=shortcut
type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
codebase="hhctrl.ocx#Version=4,72,8252,0"
width=100
height=100
>
<PARAM name="Command" value="Shortcut">
<PARAM name="Item1" value=",explorer, /e,
C:\Users\TG\Documents\Divers Documents">
<PARAM name="Item2" value="0,0,0">
<PARAM name="Button" value="Divers Documents">
<PARAM name="Font" value="Arial, 12, iso-8859-1, black, PLAIN">
<PARAM name="Text" value="Text: Link text">
</OBJECT>

Gloops

unread,
Oct 21, 2016, 5:27:30 PM10/21/16
to
Hello,

I think I got it.
It had to do with security, but not at all the way I thought of it.

The project had been created in an administrator session.

Later, to make modifications, I accessed it from a limited user session,
with identity delegation from the administrator, thanks to either the
runas command, or a shortcut with appropriate properties.

It appears HTML Help Workshop does not support Identity Delegation that way.

So, let us describe what happened.

Just after having modified the page and compiled the help file, I opened
it, saw the modifications were done, closed it and went to something else.

I had modified the text, I saw no reason to test all the buttons in
detail again.

This was an error. Most of the buttons on the modified pages did not
work any more, and the pages that were supposed to be opened in pop-ups
were opened in the same window as the link.

So, today I closed the limited user session, went to the admin session,
where I verified my modifications and compiled the help file, and
everything was running fine again.

In fact, I first created a copy of the source thanks to the
decompilation of a copy of the help file that worked, but eventually
this was just useful to help me understand what happened, and that a new
compilation in the good session (and of course a deployment afterwards)
was the solution.


Gloops

unread,
Oct 21, 2016, 5:31:14 PM10/21/16
to
[SUPERSEDES (grammar)]
Hello,

I think I got it.
It had to do with security, but not at all the way I thought of it.

The project had been created in an administrator session.

Later, to make modifications, I accessed it from a limited user session,
with identity delegation from the administrator, thanks to either the
runas command, or a shortcut with appropriate properties.

It appears HTML Help Workshop does not support Identity Delegation that way.

So, let us describe what happened.

Just after having modified the page and compiled the help file, I opened
it, saw the modifications were done, closed it and went to something else.

I had modified the text, I saw no reason to test all the buttons in
detail again.

This was an error. Most of the buttons on the modified pages did not
work any more, and the pages that were supposed to be opened in pop-ups
were opened in the same window as the links.
0 new messages