|
Hello
I you want to make your chm file optional, you could make it downloadable, and put it in an installer that would look for the path of your already installed application to put it in the same folder. ie.
1- Make you app.
2- Make the installer of your app put the [TARGETDIRECTORY] path in a registry key
3- Make you app look for the chm file in its folder, if not available it should display a polite message that the help file isn't available and you can download it from here.
4- Make another installer -ie. msi- that contains the help file only, and would automatically install it in the program's folder using that registry key.
I hope I got you right.
Regards
|
|
|
|
|
Thanks for your suggestion BUT it's not really what I want.
I don't want to install anything.
I just want a person to be able to download the .chm file, click on it and they can read it.
Glen Harvy
|
|
|
|
|
So, you downloaded the chm file to your machine -using save as, not run-, and when you opened it you saw it empty?
Regards
|
|
|
|
|
Saving to the desktop OR runing it - either way you get the same problem.
I have since found out why - it's a security issue with the OS. MS in their wisdom decided that the user also has to "unblock" the pages manually http://support.microsoft.com/kb/896054.
It seems I will have to make the .chm file an msi file otherwise I will have to have a help file on how to read the help file!
Is it possible to create a help file at complie time that doesn't use html files.
Cheers.
Glen Harvy
|
|
|
|
|
Glen Harvy wrote: Is it possible to create a help file at complie time that doesn't use html files.
Sometimes I did my help file as an embeded flash in one of my forms. No I make it as audio help with ToolTips poping up all over the screen telling the users where to go. You can also use videos.
Regards
|
|
|
|
|
fellows!
i want a popup menu when a right click a treenode of my treeview control. i do find mousedoubleclick and mousclick event but couldn't find right mouse click.
May God help u solv ur problems as well,thx in advance!!
|
|
|
|
|
You need to subsribe to MouseUp event.
For Example
private void treeView_MouseUp(object sender, MouseEventArgs e)
{
TreeViewHitTestInfo htInfo = treeView.HitTest(e.X, e.Y);
MessageBox.Show(htInfo.Node.Text);
}
|
|
|
|
|
private void treeView1_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
MessageBox.Show("Right mouse button clicked...do something about it");
} or
private void treeView1_<code>NodeMouseClick</code>(object sender, <code>TreeNodeMouseClickEventArgs </code>e)
{
if (e.Button == MouseButtons.Right)
MessageBox.Show("Right mouse button clicked on a node...do something about it");
}
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
Here is how I have done it:
private void treeView1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
if(e.Button == MouseButtons.Right)
{
treeView1.SelectedNode = treeView1.GetNodeAt (e.X ,e.Y );
}
}
|
|
|
|
|
thanks 2 all! i hav got the solution and it wil be implemented
May God help u solv ur problems as well,thx in advance!!
|
|
|
|
|
I want to code a link class that links two objects of another class. In C++ I used two pointers as attributes. In C# even if I use unsafe code I have an error because the class is managed:
<br />
public class A<br />
{<br />
<br />
}<br />
<br />
public class link<br />
{<br />
private A *pA1;<br />
private A *pA2;<br />
public void create_link(A a1, A a2)<br />
{<br />
pA1 = &a1;<br />
pA2 = &a2;<br />
}<br />
}<br />
<br />
The error appears when I make the assigments: "pA1 = &a1;" and "pA2 = &a2;".
How I resolve this problem?
Thanks in advance,
Rodrigo Gil.
|
|
|
|
|
You simply need to do
public class link
{
A a1;
A a2;
public void Createlink(A a1, A a2)
{
this.a1 = a1; this.a2 = a2;
}
}
Remember, unlike C++, <code>a1</code> and <code>a2</code> are *references* to instances of A, not instances of A. They are sort of like C++ references (&).
|
|
|
|
|
Thanks
|
|
|
|
|
Hi, Dear Friends.
How can i lock my keyboard function keys, through C#.NET.
I create a user & login. I want to block entire screen.
If any key is pressing only in that form.
If Mouse is moving then, that should be in with in that form only.
If you know any API function or any other samples pls help me.
I'm using Windows XP 2 , Windows Server 2003
Please Help me
Haridas.R
harisofttech@gmail.com
harisofttech@hotmail.com (online)
harizeenet@yahoo.co.in(online)
"Achievement is not a destination, its a journey "
|
|
|
|
|
Hi
Earlier during win16 there was a dialog style DS_SYSMODAL through which it was possible to make systemwise modal dialogs or forms... but this api is now obsolate, and i think for good reasons.
It is absolutly not a good idea to restrict user to a single window.
|
|
|
|
|
That sort of lockdown is a fundamental part of a kiosk app.
|
|
|
|
|
Lock Windows Desktop[^]
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
hi there,
I have some files in my network that i have to use,when i run a Windows app it works and system can find the file on the mapped drive but when i run a service to take the role of the app, the system can not find the files,although the user is identical for both the service and the app,
what should i do?
thanks
|
|
|
|
|
Hi.
I have just completed my first add-in for outlook 2003-2007 and installed and tested it on my machine where it works as expected (creates a custom commandbar and adds a button to it which triggers an event).
When i right click my toolbar area i can see that my custom toolbar is checked and available. However when i install the application on other users computers the installation says everything went ok and it finishes, but when i open outlook on their computers its not there and neither is it available under the toolbar menu.
We are using XP Pro and my PC uses the Office 2007 beta 2 and theirs are Office 2002.
All machines have .NET 1.1 installed
Thanks in advance
Johan
|
|
|
|
|
Hi,
I have a VC++ console application that detects bluetooth connections. I need to call these bluetooth funtionalities from a C# application.
So how do i change the VC++ Console application to a DLL?
Secondly how do i consume these bluetooth functions from c# once they are in the form of a DLL?
Pls Help me
Preethi Sathya
|
|
|
|
|
Hello
You don't need to convert it to dll. You can read the output of the console in your C# application. See this post[^] on hot to do it. Don't forget to make the console hidden when it starts.
Regards
|
|
|
|
|
Hi ,
i have build a parser application.it works on windows server 2003 -sp1 and sp2 but on without service pack m/c it gives the error .Net framework 2.0 could not be found. PLease install it to continue.
if i install .net framework 2.0 then it wirks fine on m/c without service packs. Is there any work aroud for this so that i dont have to install .Net framework 2.0 evrytime i need to run this application.
Sankalp Verma
|
|
|
|
|
.Net framework 2.0 is must for the application builded upon it.
So, You have to install .net framework 2.0 on the every machine
to execute the application.
Rahul Kulkarni
|
|
|
|
|
You should only need to install the .NET Framework 2.0 once on each machine. If you need to keep reinstalling it every time you run your application then there is something wrong with the machine.
It is recommended that Servers are kept patched and up-to-date. I wouldn't see it being a problem to state that your application requires Service Pack X in order to run.
|
|
|
|
|
I have a treeview and I want to set another treeview to that treeview
when I set TV1 = TV2 and do a breakpoint TV1 looks to have all the nodes, but it doesn't display. Does anyone know what I might have wrong.
Thanks.
|
|
|
|