OUR NETWORK:MediaSmart Home Sansa Community TechLore SlingCommunity RoboCommunity About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 163228.0
December 30, 2009 09:25 AM
Rating (0 votes)
Rate This!

Member Avatar

Rada

Member
Joined: 12/29/2009

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

Discussion:    Add a Comment | Comments 1-7 of 7 | Latest Comment

December 30, 2009 12:59 PM

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.

December 30, 2009 2:58 PM updated: December 30, 2009 2:59 PM

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

December 30, 2009 3:02 PM

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.

December 30, 2009 3:31 PM

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.

December 30, 2009 3:57 PM

Thank you for the quick response.

January 5, 2010 6:00 PM updated: January 5, 2010 6:24 PM

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

January 6, 2010 8:55 AM

Thank you so much Shuk. Your response is of great help for me.

Discussion:    Add a Comment | Back to Top | Comments 1-7 of 7 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window