My problem is that I am using a compiled HTML helpfile (.chm) for my
application help. I have copied the file to the bin directory and the
helpprovider component is pointing to the .chm file.
The code in the help button that displays the help is as follows:
Help.ShowHelp(M e,HelpProvider1 .HelpNamespace)
It is working fine when I test the program, but once I publish it and
install it on another pc nothing happens when the help button is
clicked (not even an error message, nothing). This is very
frustrating.
Please point me in the right direction.
I am using Visual Studio 2005 (VB.Net).
Cheers 5 1947
It is very likely that CHM file on the target computer cannot be found.
Note that the system doesn't look in application's folder. Do you
specify the absolute full path to the CHM file? If not, do it on program
startup. Something like:
HelpProvider1.H elpNamespace =
IO.Path.Combine (System.Reflect ion.Assembly.Ge tExecutingAssem bly.Location,
"myHelpFile.chm ")
--
Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
..NET and ASP .NET code
I have tried it with your code, but now I cannot get it to run, even
when I am debugging...I think my file is not located in the correct
area..
is the code that you gave my the only way to get the application path??
Peter Macej wrote:
It is very likely that CHM file on the target computer cannot be found.
Note that the system doesn't look in application's folder. Do you
specify the absolute full path to the CHM file? If not, do it on program
startup. Something like:
HelpProvider1.H elpNamespace =
IO.Path.Combine (System.Reflect ion.Assembly.Ge tExecutingAssem bly.Location,
"myHelpFile.chm ")
--
Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
.NET and ASP .NET code
Christie wrote / napísal(a):
I have tried it with your code, but now I cannot get it to run, even
when I am debugging...I think my file is not located in the correct
area..
is the code that you gave my the only way to get the application path??
I wrote the code from my memory. I forgot to get directory from
location. It should be:
HelpProvider1.H elpNamespace
=IO.Path.Combin e(IO.Path.GetDi rectoryName(Sys tem.Reflection. Assembly.GetExe cutingAssembly. Location),
"myHelpFile.chm ")
This works for me.
--
Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
..NET and ASP .NET code
OK..I will try this...
One more question (a stupid one, I know) must I then have the .chm file
in the same directory as the program, or within one of the subfolders??
Peter Macej wrote:
Christie wrote / napísal(a):
I have tried it with your code, but now I cannot get it to run, even
when I am debugging...I think my file is not located in the correct
area..
is the code that you gave my the only way to get the application path??
I wrote the code from my memory. I forgot to get directory from
location. It should be:
HelpProvider1.H elpNamespace
=IO.Path.Combin e(IO.Path.GetDi rectoryName(Sys tem.Reflection. Assembly.GetExe cutingAssembly. Location),
"myHelpFile.chm ")
This works for me.
--
Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
.NET and ASP .NET code
One more question (a stupid one, I know) must I then have the .chm file
in the same directory as the program, or within one of the subfolders??
You can place the CHM file anywhere you want. But you always need to set
the full path so that your program can find it.
--
Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
..NET and ASP .NET code This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Josh Mayfield |
last post by:
Note: There is considerable background detail here, but I do have
three questions, which are clearly marked and appear right before the
sample code.
I have a legitimate need to launch an EXE from an HTML page on Windows
XP/Internet Explorer. The EXE is already locally installed, and the
HTML page is also viewed locally on the PC- it's not a web site. I
know of two ways to do this, both of which are featured in the sample
HTML file at...
|
by: Michael C |
last post by:
Anyone know of a good HTML Rendering control? I need a control that will
render and display HTML in a Windows form. It doesn't need to pull down
HTML pages from the Web - I'll feed it all the HTML it needs to display.
I've already spent way too much time trying to get the Microsoft WebBrowser
control to work, and I have too many other things to work on to waste any
more time on it. If you know of any third-party HTML Renderers out there,...
|
by: Gustavo L. Fabro |
last post by:
Greetings!
I'm testing VS 2005 Beta 2, and I've compiled a program that
runs just fine on my computer (where VS is installed).
I've tried to run this same program on another computer
(after having installed MS .NET Framework 2.0 Beta 2 on it,
from
http://www.microsoft.com/downloads/details.aspx?FamilyId=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E&displaylang=en),
but got the following message:
|
by: Wardeaux |
last post by:
All,
Wanting to find a way to create web pages to add to my website without
having to recompile the codebehind everytime I want to add a new one...
Here's the deal:
I have a web app that takes work orders for 7 different items, each item
gets 1 page for input specs. All works well. I want to add a new item. I
do not want to recompile and redistribute my app everytime just to add a new
input page. Can ASPX resources be compiled into a...
|
by: Brian Kitt |
last post by:
I have a C# application that builds dynamic HTML and renders it. Because it
is rendered in this way, the input controls are not server controls. I write
the entire page, which has a variable number of detail lines for an order. I
want the user to be able to change values on these detail lines and hit an
'update' button. I know how to do this in Javascript, but I'd like to be
able to inspect the controls that come back to my C# program...
| |
by: rachana |
last post by:
Hi,
I am trying to deploy a asp.net website developed using Visual Studio
2005 on server. Application works fine on development machine, but when
trying to run on server I get following error message.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
|
by: Christie |
last post by:
I have created a compiled HTML helpfile that I want to use in my VB.Net
application. What code do I need to link this compiled file to the
help button in my application??
I have created my application in Visual Studio (VB.Net).
Thanks
|
by: =?Utf-8?B?cG9u?= |
last post by:
Background:
Since Microsoft’s security update 896358, security update 840315 or Windows
Server 2003 Service Pack 1, you can not longer open and see topic content in
help files on the network. This is true even for files in shared folders on
local intranet and even if the user has enough previliges to open the help
file it self. This is because help files indirectly could open active content
that is placed in some other unsecure...
|
by: nik |
last post by:
Hi,
I've compiled my application on my vista machine, and it won't run at
all on my xp machine. In the windows error report I get Exception
code; 0xe0434f4d. I searched for that exception, but didn't see
anything related to my problem. I can run a different .exe that I made
on the vista machine on the xp machine, so I am wondering what is
different/wrong with this one.
The xp machine does have vb6 installed on it, could that be an...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |