|
|
I want to show my main htm file in the browser from a Help button. Then the user can follow links etc. How does one at the click of a button launch the browser so that it opens and shows main.htm?
Appreciate your help,
ns
|
|
|
|
|
Use ShellExecute() .
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Okay. ShellExecute works. I imagine when I distribute the project I'll have to include all the .htms plus the associated folders created by Word....Thanks for the API
Appreciate your help,
ns
|
|
|
|
|
Yes. Hopefully Word created relative (not absolute) image links.
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
<v:imagedata src="./Select%20New%20Database_files/image003.png" o:title="">
So looks like its relative. Its going to be such a pain to automatically install the 35 odd html associated folders I have using Wise, because each folder has to be created in the Wise install environment, and the contents added (while building the install) The alternative is to have the user copy all the htmls and associated folders manually into the app directory - not acceptable I think. I'll only have to create the folder structure once though....
Appreciate your help,
ns
|
|
|
|
|
I created a bunch of htm files for my HTMLHelkp project. There are lots of bmps embedded in these files. But the workshop doesnt want to compile. Is it a fact that we cant have pictures in the htm files if we are to make a help system out of them? I certainly hope we can.....or I'll have to devise my own technique so that I can use these help files that I have so painstakingly created....I wonder how one would achieve that...somehow show the main htm file in the browser.
Appreciate your help,
ns
|
|
|
|
|
It compiles fine, but all the pictures are little red squares> I used word to create my htm files, and it produces an associated folder for every htm that has pictures in it. I dont know how to incorporate these so that I can see the pictures....
Appreciate your help,
ns
|
|
|
|
|
The image links that Word created are probably incorrect.
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Hi
I need to upload zip files to an Apache web server from my vc++ application. I need to do that using HTTP and FTP because of some security issues involved. I have tried with CHttpConnectoin class but just can't seem to get it to work. I tried using the PUT method but kept getting HTTP 405 error i.e bad mehod error. That was because the PUT method processing was not enabled on the Apache server. Then is tried using POST i.e. I send the file name to the server , there a java servlet creates an empty file with the same name and returns the URL of the file to my application. Then I try to write to the URL. Can anybody please tell me where I'm going wrong? any help would be appreciated?
Thanks
Animesh.
Attitude not Aptitude decides the Altitude in life.
|
|
|
|
|
Without PUT support, FTP protocol is the way to
go for putting files on your server.
You can use CFtpConnection's PutFile method.
Or if you insist on HTTP, you can POST to an
agent (perl script or what-have-you) on the
server via HTTP who'll put the file in place on
your behalf.
|
|
|
|
|
I have a strong problem managing a Ms Flex Grid control.
I need to manage, by the code, the selection of a particular
row. I have tried to use SetRowSel and GetRowSel methods
but the seem to don't work.
Does someone have experience managing this kind of control ?
Thanks a lot!!!
|
|
|
|
|
Hi,
Consider 2 applications, X and Y. X is ActiveX type. I need to use the X.ocx in Y. Y application maybe Dialog based/Single/Multidoc type. Whenever user type any character
it needs tobe processed in X.ocx.
In X pgm,I have CText class derived from CRichEditCtl where I have added OnChar and OnSelChange functions.
I can add/change/Modify/delete in ocx but nothing in Y application,requirement is just to insert ocx component in Y application.
Can anyone tell me how this canbe possible??
Thanks
Uday.M.G
|
|
|
|
|
I want to make all member methods of a class as inline. Implementations of these methods is in CPP file. When I write inline with the method declaration in .h file, it gives linker error.
|
|
|
|
|
Move the definitions of the methosds to your .h file. This is the price you have to pay for having inlining.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
You have to write the implementation also in your header (*.h) file.
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
I wish to print the contents of a CWebBrowser2 control. I use m_htmlview.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, NULL, NULL); This prints the contents on the default printer.
However I wish to print the contents on a printer other than the default printer. Anyone got any idea how I can do this please? I have changed the default printer to the one I wish to print from, printed to it, and changed the default printer back. I don't think this is a very good way of doing it, so does anyone have any better ideas please?
Thanks
I feel like I'm diagonally parked in a parallel universe
Jeremy Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
|
|
Hi
I want to compile a foreign open source application written in VC++7. But I only have VC++6 (with the latest PlatformSDK). The result is, that the compiler gives me errors like "afxdhtml.h not found" etc. I suppose these headers are new with MFC7.
Where can I get the latest headers from? The PlatformSDK does not seem to have them. Or do I need to purchase VC++7?
thanks in advance
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Do you really need what afxdhtml.h provides ?
Try afxhtml.h instead.
And if it doesn't compile, that's because this code is using the CHtmlEditView, which requires MFC7, thus VC7.
How low can you go ? (MS rant)
|
|
|
|
|
I am using the folowing code to add gridlines to a report-Style Listcontrol:
dwExStyle = m_listSpeeds.GetExStyle();<br />
dwExStyle |= LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES;<br />
m_listSpeeds.SetExtendedStyle(dwExStyle);
For some reason this is adding checkboxes to my control as well as gridlines. Why is this happening and how I can disable this behaviour?
well hell doesn't want you
and heaven is full.
Tom Waits
|
|
|
|
|
Try changing the first line from
<br />
dwExStyle = m_listSpeeds.GetExStyle();<br />
to
<br />
dwExStyle = m_listSpeeds.GetExtendedStyle();<br />
Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
|
|
|
|
|
Thank you!! It works
What does your signiture mean in English?
well hell doesn't want you
and heaven is full.
Tom Waits
|
|
|
|
|
Well it doesn't really mean anything This is however the German version of "The funniest joke in the world"[^] according to Monty Python.
Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
|
|
|
|