How to launch Robohelp generated WebHelp from C++ application?
Hi all,
Right now I'm using a trial version of Robohelp 11, because we want to redo our programs offline help. I'm a developer and trying to launch the Robohelp with the API from our C++ MFC application.
Steps I've taken:
Add the RoboHelp_CSH.cpp to the project
Add the RoboHelp_CSH.h to the project
Disabled the precompiled headers for the RoboHelp_CSH.cpp
Added the Psapi.lib, wininet.lib and Htmlhelp.lib to the Linker Input
Added the #include "RoboHelp_CSH.h" to my project
Generated a webhelp project using the Robohelp 11 trial program
My OS is Windows 7 Professional 64-bit, done all updates. My default browser is Google Chrome, latest version.
The thing is, my program compiles, but never launches a page. I have tried all kinds of things in my program, listing a few below. The result of the RH_ShowHelp() is always 1.
int i = RH_ShowHelp(0, "C:/Users/username/Desktop/Controller/index.htm#<str=controller.html>>newwnd=false", HH_HELP_CONTEXT, 0);
int i = RH_ShowHelp(0, "C:/Users/username/Desktop/Controller/index.htm#<str=controller.html", HH_HELP_CONTEXT, 0);
int i = RH_ShowHelp(0, "C:/Users/username/Desktop/Controller/index.htm", HH_HELP_CONTEXT, 0);
int i = RH_ShowHelp(0, "C:/Users/username/Desktop/Controller/index.htm#controller.html", HH_HELP_CONTEXT, 0);
int i = RH_ShowHelp(0, "C:/Users/username/Desktop/Controller/index.htm#controller", HH_HELP_CONTEXT, 0);
int i = RH_ShowHelp(0, "Controller/index.htm#controller.html", HH_HELP_CONTEXT, 0); (with the generated Webhelp folder in the executable folder)
int i = RH_ShowHelp(0, "Controller/index.htm#<controller.html", HH_HELP_CONTEXT, 0); (with the generated Webhelp folder in the executable folder)
int i = RH_ShowHelp(0, "Controller/index.htm", HH_HELP_CONTEXT, 0); (with the generated Webhelp folder in the executable folder)
What am I doing wrong?
(If more information is needed for an answer please say so, I'll gladly provide more info to get this to work.)
- Marleen
Hi Willam,
Thanks for the quick reply.
All the options I mentioned in my first post did not show any effect, no browser started.
I tried your suggestion with -1 in this way:
int i = RH_ShowHelp((HWND)-1, "C:/Users/username/Desktop/Controller/index.htm", HH_HELP_CONTEXT, 0);
That does not open a window either. Also tried this with my program running as administrator just in case.
Any more suggestions by any chance?
- Marleen
Similar Messages
-
How can i get my data from an application that deleted from my iphone
how can i get my data from an application that deleted from my iphone????
Which application?
With many applications, when deleting the app the app's data is deleted with it. -
How to connect to Oracle database from webdynprojava application
Hi
How to connect to Oracle database from webdynprojava application. where can we provide the code to connect to database.?
Thank You.Hi,
You need to create Java Bean model. The bean is a typical java bean with default constructor, getter and setter. You can have additional methods for query etc. The attributes in the class will be your model node and attributes.
However you need to configure the connection and create JNDI using visual administrator before writing the code.
You can also consider writing Session EJB with oracle and using them in WD.
http://help.sap.com/saphelp_nwce10/helpdata/en/45/dcaa4f05535591e10000000a1553f7/frameset.htm
Srini -
Hello. I just upgraded to Lion OS X 10.7.3. I was previously running 10.5.7 which included the ENTOURAGE application. how do I retrieve needed information from this application that no longer runs on this new system?
The file you'll be looking for that has most of what you're looking for - messages, address book, etc. is the Entourage Database. The verison of Microsoft Office I run (on Lion) is Office 2008. By default the Entourage Database for this verison is at user/Documents/Microsoft User Data/Office 2008 Identities/Main Identity/Database. That folder (Main Identitty) also has your rules, signatures, and such. You'll have to recover this file from whatever backup you have. If you have a different version of Entourage, the file location will be a little diffferent.
Good luck
srb -
Can anybody tell me how to send/receive the sms from java application
Hi All,
Can any body tell me, how to send/receive the sms from java application to mobile phones.
I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
the following error.
Cannot connect to GSM Device, error : -11Which jsms? Google finds several.
Try the website where you downloaded it. -
Can any body tell me, how to send/receive the sms from java application
Hi All,
Can any body tell me, how to send/receive the sms from java application to mobile phones.
I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
the following error.
Cannot connect to GSM Device, error : -11The best place to ask your question is at the JSMS website, forum or mailing list since this is no error that directly comes from a class belonging to the core Java classes.
-
Robohelp v9 crashes when generating Webhelp from linked FM book
Hello Robohelp mavens!
My environment: Win7, FM v10, Robohelp v9. (TCS v3)
I've linked an FM book (containing 90 files) to a blank Robohelp project. Whenever I try to generate Webhelp, Robohelp crashes at some point.
As part of debugging, I clean the FM book (removed unused Pgf/char formats, conditions, etc.). That did not help.
Any idea why Robohelp gives up in the middle?
Any input is highly appreciated!
My best regards,
RomanDo you get any kind of error message in the output pod? Does it always crash on a specific file?
Does it work if you remove half of the files from the book? A quarter? Etc.? -
Weird characters when generating WebHelp from a word document
Hello,
First of all, I'm using RoboHelp 6.
I've seen many posts about this subject, but none with the same version.
I've generated a WebHelp from a word document, that contains accentuated characters (french).
When viewing that help from my local machine, it's ok.
When viewing that help from a web server, it displays weird characters.
I'd like to change the encoding to UTF8, in my web help.
I've seen (if I understood well) that we could change the output charset when generating a web help, but only from the RoboHelp 7 version.
How can I do such a thing on RoboHelp 6 version ?
I've tried to add <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> in many htm files, without success.
Any ideas ?
Thanks a lot
RegardsHello
Thank you for answering me.
There is no way to do it using RoboHelp ?
Thkx -
How to delete the Generated files from application server(open hub)?
hi experts,
when i try to execute process chain the DTP it is giving below dump. Exception CX_RSBK_REQUEST_LOCKED logged.
when i execute the DTP manually and trying to delete the previous request, it is giving for dump ITAB_DUPLICATE_KEY.
so to delete the generated file from application server, how to delete it for specific dates?
Information on where terminated
Termination occurred in the ABAP program "GPD6S3OE0BCVGC6L9DBNVYQARZM" - in
"START_ROUTINE".
The main program was "RSBATCH_EXECUTE_PROZESS ".
In the source code you have the termination point in line 2874
of the (Include) program "GPD6S3OE0BCVGC6L9DBNVYQARZM".
The program "GPD6S3OE0BCVGC6L9DBNVYQARZM" was started as a background job.
and when i check the dump it is point out at below code
" Populate the lookup table for 0STOR_LOC
SELECT * from /BI0/TSTOR_LOC
into CORRESPONDING FIELDS OF table L_0STOR_LOC_TEXT
FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
STOR_LOC = SOURCE_PACKAGE-STOR_LOC.
but the programme is syntactically correct only.
how to rectify the issue.
regards
venuscm
Edited by: venugopal vadlamudi on Sep 28, 2010 1:59 PMhi experts,
We have written start routine to get the storage location text and sending to File located at Application server through OPEN HUB.
here is the code written in the Transformations
In the global section
Text for 0STOR_LOC
DATA: l_0stor_loc_text TYPE HASHED TABLE OF /bi0/tstor_loc
WITH UNIQUE KEY stor_loc.
DATA: l_0stor_loc_text_wa TYPE /bi0/tstor_loc.
and in the code to get the text
" Populate the lookup table for 0STOR_LOC
*SELECT * from /BI0/TSTOR_LOC*
into CORRESPONDING FIELDS OF table L_0STOR_LOC_TEXT
FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
STOR_LOC = SOURCE_PACKAGE-STOR_LOC.
im sure there is problem with the Routine only. i think i need to change the code if so please provide me the modified one.
thanks
venuscm
Edited by: venugopal vadlamudi on Sep 29, 2010 9:37 AM -
How to launch a local program from a Form running on Web
How to launch a program in local hard disk, say notepad, from a Form running on web?
I tried the HOST() function but it will launch notepad on the application server other than the client.
Thanks,You can use the following code from a Pluggable Java Component (PJC) to invoke notepad
String cmd = "notepad.exe";
Process p1 = null;
Runtime rt = Runtime.getRuntime();
int exitValue;
try
p1 = rt.exec(cmd);
exitValue = p1.exitValue();
System.out.println("Command returned status : " + exitValue);
catch (Exception e)
System.out.println("Error : " + e);
Of course in reality the command to execute would be sent from the Forms Program as a Set_Custom_Property on the PJC
Note that the PJC to do this would have to be signed to allow access to run such commands -
How to launch an ITS screen from an ABAP WebDynpro Button Action
Hello All,
I have a requirement to launch an ITS Screen from ABAP WebDynpro. There will be abutton on the WebDynpro screen and when the user will click on that button, the ITS Screen will be launched.
Can anyone please provide us some sample applications or sample code to achieve the above functionality.
Points will be rewarded.
Thanks
ShyamHi Shyam,
You can achieve by using Launchpad Customizing and the Launchpad Navigation API's. Just make and entry on transaction LPD_CUST, create a launchpad role, add you target application there.
At run time under the UI button you can call the API provided by CL_APB_LAUNCHPAD_API -->LAUNCH_APPLICATION to open the application. You can find many material on Internet for the same, with examples, even try some where-use in your system.
I found one more helpful link.
http://sapignite.com/call-sap-tcode-using-webdynpro-for-abap/
Regards
Vineet -
How to import camera generated videos from real player into iTunes?
I want to import camera-generated videos from Real Player into iTunes.
paulafromsesto fiorentino wrote:
I want to import camera-generated videos from Real Player into iTunes.
Prior to put them to iTunes, you have to convert the video in compatible format.
Best for that is Handbrake --> http://handbrake.fr/
Cheers Lupunus -
Launch coded UI test from other application
Hi
I need to launch Coded UI test i.e. coded UI test builder from another application developed in .Net. basic requirement is I will hit one button which will open the coded UI test builder, I will click on record button available on it. Will perform
some steps and coded ui recorder will record this. After completion i will hit "Generate Code" whcih will generate UIMAP file.
How will I do this in DotNet. Thank you for your help
Thanks
VarshaHi Varsha,
You know that we just start one coded UI test builder, so we couldn't use one to record steps in another one with opening two editors. So one possible reason is that you would use the custom code in your side.
Reference:
http://blogs.msdn.com/b/mathew_aniyan/archive/2009/02/12/hand-coding-a-coded-ui-test.aspx
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hello,
My application generates report in different formats, such as: Adobe, Excel, XML, CSV and HTML
I have a webtest that makes all preparations, then generates a report.
In my application I have an option either to save the new generated report or open it.
When I try to open the new report, the web test doesn't see it and therefore not allows me to test it.
Please refer me to knowledge base or let me know how to resolve this type of issues.
Thanks.
qatmHi qatm,
Thank you for posting in MSDN forum.
Since this web performance test is used to verify the Http request/respond work correctly in VS, and the browser session is then displayed as a list of URLs in the Web Performance Test Editor.
However, as you said that you want to test a generated report in my application by using web performance test in VS2012 Ultimate. If the report is not as the Http format, so I think that it is not possible to test a generated report by using web performance
test.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to upload documents to DMS from web application externally
We have a webdynpro based J2EE application. We want to create a SAP DMS ( KPRO ) document using this web application externally.
Any inputs on this scenario ?
I am able to create similar using an ABAP report which reads the client file and create the DMS document using BAPI_DOCUMENT_CREATE.
How do we achieve this using external web application ..
Please HELP in this.
Thanks..Hi Divya,
Good day...!
A custom UI component will berrequired to upload the data from a Flat File into CRM WEBUI.
The View in this UI Component can have 2 fields lets say u2013 ID and File to Upload and a button 'upload'.
When the UPLOAD button is clicked , the event u2018ONFILEUPLOADu2019 is triggered.
A Javascript function u2018fileUpload()u2019 reads the Excel file and formats the data in the form of a long string with Line Breaks corresponding to each row in the excel file. This string is stored in a Hidden HTML form element u2018Excel_Datau2019.
In the Event Handler for u2018ONFILEUPLOADu2019, the hidden form element u2018EXCEL_DATAu2019 is read and retrived.
lv_file_data = request->get_form_field( name = lv_excel_data ).
me->lv_id = request->get_form_field( name = lv_schema_id ).
Maybe you are looking for
-
How in Flash CS4 to change text words of .fla file from a website template?
I have a website template in which I am trying to change the header text words and menu text words to customize the template. How do I do this in Flash CS4? Thanks!
-
Windows will not start and cannot be reinstalled
I have a 300GB Win 7 partition on disk 2 on my Mac Pro (set up using Bootcamp) that was running fine until a few days ago. There were some "critical updates" that Windows installed, followed by a restart. Now, it simply refuses to start. When I bo
-
FCP7 General Error working in 720p timeline
Hi, Ive been using FP7 for years now and just coming across this stupid problem. I created a slideshow using iphoto. I exported the slideshow in HD 720p as its default. I Imported the movie into FCP7 cause i want to add orther stuff to it, other cli
-
I have edited the default edit form for my Issue Tracking Tool using Info Path, But currently when I try accessing the form using IE 10 64x , I got the following error- "The form cannot be displayed in the browser because the use of DOM storage has b
-
It's time to fix the Curves adjustment layer
Many Photoshop users consider the Curves panel to be Photoshop's most important feature. For many Curves users, the Layer panel introduced in CS4 does not offer the speed, the instinctive use, nor the superior results of the older Curves Layer panel.