Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / May 2006

Tip: Looking for answers? Try searching our database.

Lost Examples and Samples

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fozzie - 28 Apr 2006 10:54 GMT
I am using VB6 with the MSDN Library Visual Studio 6.0 installed for help.

I have recently moved to a new machine and I seem to have lost the
Examples/Samples and See Also headings at the top of each of the MSDN Library
pages.

The headings/links that were there have been replaced with a grey square
with a dot in the middle. It looks like they are placeholders of some kind
and I suspect a setting somewhere and that it may be incredibly easy to
resolve. (I've tried re-installing the MSDN Library but that hasn't solved
it).

Anyone any ideas

Many thanks.

Signature

Fozzie

Code Jockey - 28 Apr 2006 18:49 GMT
If I understand the problem correctly, then the following should be what you
need.

Find the registry key:

HKLM \ Software \ Microsoft \ HTML Help Collections

Under the sub-key 0x0409 (for English), you will find a subkey "0x########".

Create a new subkey with a new "0x########" that is like the other(s),
pointing "Filename" to the .COL file of the help you want available.

> I am using VB6 with the MSDN Library Visual Studio 6.0 installed for help.
>
[quoted text clipped - 11 lines]
>
> Many thanks.
Fozzie - 30 Apr 2006 07:53 GMT
Many thanks for your reply, code jockey.

I have tried your suggestion with no success. But bear in mind I am no
expert on the registry so I am not sure that I've done what you expected.

The current settings  under the subkey 0x0409 (for English) are :-

subkey "0x035903370"

Name        Type    
(Default)   REG_SZ          MSDNLibrary-Visual Studio 6.0a

Filename   REG_SZ         C:\Program Files\Microsoft Visual
Studio\MSDN98\1033_
\msdnvs6a.col

Full           REG_DWORD  0x00000001(1)

The MSDN Library seems to work perfectly and the relevant pages display on
the screen correctly with the exception of the links to Examples etc. which
used to say Examples etc. and now just show a small square with a dot in the
middle as if they are placeholders.

I tried adding a new subkey as you suggested but nothing changed :-

Did you mean that I should end up with two subkey under 0x0409, the old one
and a new one or that I should replace the old subkey with the new one.

Also, how should the new subkey be numbered i.e. the 0x######## in your
posting. The original subkey is 0x035903370. With your suggested new subkey,
should it be numbered the same or differently and if so with what number.

Sorry if I'm being dense, but as I said earlier I am no expert in the
registry.

Many thanks once again.

Regards

Fozzie

Signature

Fozzie

> If I understand the problem correctly, then the following should be what you
> need.
[quoted text clipped - 24 lines]
> >
> > Many thanks.
Code Jockey - 01 May 2006 22:13 GMT
My apologies for being less than clear...

There should be two keys under 0x0409.

The key 0x035903370 is just an encoded form of the date at which the
collection was added.  So, so you should add a new key, such as 0x03600000,
and then in that key, you should have an REG_SZ value "Filename" pointing to
the .COL, and a REG_DWORD value "Full" set to 0x00000001.

But, after additional consideration, I am less sure that this is causing the
problem of "missing examples and samples".  The suggestion to add additional
.COL files to the list of available help-collections implies that there is
such a .COL that contains the examples and samples, and it is not listed in
the collections.

So, I looked at the .COL on my system, "E:\Program Files\Microsoft
Office\ODETools\V9\MSDN\DNMOD\1033\MSDNOD9.COL", and it turns out to be an
XML file.  Within it, via notepad, I see:

 <Folder>
  <TitleString value="Code Samples"/>
  <FolderOrder value=11/>
  <Folder>
   <TitleString value="=code0x01"/>
   <FolderOrder value=1/>
   <LangId value=1033/>
  </Folder>
  ... repeats with TitleString value="=code0x02" up to "=code=0x0A" and
"FolderOrder value=2/" up to "=10/".
 </Folder>

Then, I see that there are .CHI and .CHM files with the names CODE0x01 up to
CODE0x0A, in the directory specified by "FileName".

So, now my suggestion is to examine your .COL file to see if it contains
"Code Samples" or something similar, and, if so, to verify that the
referenced "CODE0x.." files are present.  Hopefully, the files are simply
missing and need merely be located and copied to the folder pointed to by
the existing registry-key "FileName" value.

> Many thanks for your reply, code jockey.
>
[quoted text clipped - 65 lines]
> > >
> > > Many thanks.
Fozzie - 31 May 2006 08:32 GMT
Many thanks, Code Jockey. Sorry for not replying sooner but I've been away.
Your suggestions seem tto have solved the problem.
Signature

Fozzie

> My apologies for being less than clear...
>
[quoted text clipped - 118 lines]
> > > >
> > > > Many thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.