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 / Windows Forms / WinForm General / March 2006

Tip: Looking for answers? Try searching our database.

Displaying chm help file in Citrix Environment

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DylanM - 13 Mar 2006 11:10 GMT
Hi,

Trying to do something very simple, just display the application help file
associated with an application. I've set up the Help Provider, the
HelpNamespace property is simply the name of the file so it is always looking
for it in the same directory as the program. I am calling with the following
code..

Help.ShowHelp(this, hpMain.HelpNamespace, HelpNavigator.TableOfContents);

This works absolutely fine on my development machine.  This also works fine
on a Citrix server where I am in the local Administrators group.

However, this does not work on servers that make up our farm (I don't have
admin rights on these). I've wrapped the above code in try|catch blocks,
added logging etc....the code is simply called and nothing happens. No
exceptions are raised and the help file is not displayed??

What could this be, a permissions issue?? Any ideas?

Thanks
DylanM - 13 Mar 2006 11:49 GMT
Have turned on all Exceptions to break into debugger - am noticing the
following Exception that is not propagated to my GUI.

A first chance exception of type 'System.UriFormatException' occurred in
system.dll

Additional information: Invalid URI: The format of the URI could not be
determined.

??!
Thanks
DylanM - 13 Mar 2006 12:15 GMT
SOLVED:

Instead of just leaving the HelpNamespace as MyHelpFile.chm, I'm setting it
at runtime to (ExecutingAssemblyPath + "\MyHelpFile.chm")

I would've expected something like FileNotFoundException etc to have hit my
GUI, rather than just being swallowed by the URI Exception??

> Have turned on all Exceptions to break into debugger - am noticing the
> following Exception that is not propagated to my GUI.
[quoted text clipped - 7 lines]
> ??!
> Thanks

Rate this thread:







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.