There is no such option. But since you posted in the developer forum, I assume you could develop your own browser by taking a look at the SDK that you can download from this site.
I want to hide the url address bar and the favorites/bookmark icon on the browser window. Can someone help me how to do it? Is there a menu option available through which I can disable the view option?
~Rada
The SDK doc says the following to open a new browser:
An application may request that SmartCenter open a browser window to a specified URL page or navigate to another hosted application The application does so by writing a properly formatted XML file to the folder
%LocalAppData%\Hewlett-Packard\TouchSmart\SmartCenter 2.0\Requests\
The file may have any name as long as it has an extension of .xml and is a valid XML file with the request format.
The format of the XML file to open a web browser is as follows:
http://www.hp.com
Here is my question.
1. C:\Program Files (x86)\Hewlett-Packard\TouchSmart\SmartCenter 2.0
does not have a folder named 'Requests', in the above path, as it is mentioned in the SDK doc. Do I have to manually create a folder and save the .xml file with the above code in it?
2. If I have to create a Requests folder and a .xml file with the url, what should I do next? Just open the TouchSmart shell? What will appear on the screen?
Hey Geek, thanks for your response. I am new to WPF applications and TouchSmart. Will appreciate any sort of help.
~Rada
The xml code doesn't seem to appear. I am sorry.
The xml file content is :
Request
Action http://www.hp.com /Action (Specify the url in the Action)
/Request
Hope you can understand.
It's not in %ProgramFiles(x86)% where you need to create the request, but in
%LocalAppData%.
Usually, the request file is created by a touchsmart program, not a user. That would imply that the shell is already running.
When you create a URL request file according to the documentation, that causes TouchSmart to launch an IE instance outside of the shell. That doesn't sound like what you want.
As far as writing your own browser for TouchSmart, and using WPF to do it, if you are new to WPF, I would suggest starting with something simpler. Start by taking a look at WPF tutorials that you find on codeproject.com or at msdn.microsoft.com or in the Windows SDK. Once you've learned enough WPF, look at the samples that come with the TouchSmart 3.0 SDK.
Writing a web browser app can be tricky, even after all that.
If you to display some HTML content without displaying controls like home,forward,favorites etc. You can look WPF WebBrowser control.
Below will be good resources for you.
MSDN WebBrowser Control:
http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser.aspx
Source Code for sample WPF web browser:
http://chriscavanagh.wordpress.com/2009/08/25/a-real-wpf-webbrowser/
Sample Code:
http://geekswithblogs.net/dotnetnomad/archive/2008/01/29/119065.aspx


RSS

