Viewing html files in a folder...

Hi...
Anyone know how to view html files in a folder(s). What i mean is have them display as thumbnails, etc, so one can identify them visually rather than just by name? Abit like Bridge displays image files and even .psd and .ai files....
Cheers,
JJ

martcol wrote:
I was interested in this and had a Google around.  It struck me that you can get stand alone file viewers and I thought there must be one for HTML?  I came accross this: http://www.anixsoft.com/htmlview.html
Absolutely no idea what it might be like but I'm willing to give it a try at the weekend.  Maybe there are others out there?
Martin
Googled too... but found nothing interesting... except what seems an old hack from a Microsoft guy who had a registry fix. But the link was very old...
Anyway, have downloaded the link you gave... thanks... it seems to work as a standalone... almost like an image viewer such as irfan or Xnview...
Cheers,
JJ

Similar Messages

  • Kindly help me how to view html file in swing using jbutton

    hello..im a begginer at j2se language and im working on my school project..kindly help me how to view html files by clicking button at javax.swing..thanks

    Here you go:public class HTMLViewer implements Runnable, ActionListener
         public void run() {
              JFrame frame = new JFrame("View HTML");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JButton button = new JButton("Click me!");
              button.addActionListener(this);
              Container cp = frame.getContentPane();
              cp.add(button, BorderLayout.CENTER);
              frame.pack();
              frame.setLocationRelativeTo(null);
              frame.setVisible(true);
         public void actionPerformed(ActionEvent e) {
              if (Desktop.isDesktopSupported()) {
                   Desktop d = Desktop.getDesktop();
                   try {
                        d.browse(new URI("www.google.com"));
                   } catch (IOException ex) {
                        ex.printStackTrace();
                   } catch (URISyntaxException ex) {
                        ex.printStackTrace();
         public static void main(String[] args) {
              EventQueue.invokeLater(new HTMLViewer());
    }If that's not what you're looking for you need to ask more specific questions.

  • URGENT : Viewing HTML files & UNICODE characters

    I do not know how to view HTML files in Java2. I have various HTML files which I would just like to display in the ContentPane of a Dialog Box.
    Please let me know how should I do it.
    Also, I have another question. How do I display Unicode characters like the alpha and the beta even after I know their hexadecimal values? I would like to display them as text on a JLabel. But the intended character doesnt appear. Instead, what appears is a black empty square in its place. Please let me know how to rectify this.

    You can use JEditorPane to display HTML file.You can dislpay alpha and the beta characters by
    jlabel.setText("\u03B1\u03B2");
    where 03B1 is unicode value for alpha and 03B2 is unicode value for beta.
    You can get unicodes for Greek from following link.
    http://www.unicode.org/charts/PDF/U0370.pdf

  • Setup to view html files

    I am new to weblogic Is there a way to setup weblogic to view html files I have 8.1

    private void openURL(String url) {
              String osName = System.getProperty("os.name");
              final String errMsg = "Error attempting to launch web browser";
              try {
                   if (osName.startsWith("Mac OS")) {
                        Class fileMgr = Class.forName("com.apple.eio.FileManager");
                        Method openURL = fileMgr.getDeclaredMethod("openURL", new Class[] {String.class});
                        openURL.invoke(null, new Object[] {url});
                   else if (osName.startsWith("Windows"))
                        Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);
                   else {
                        //assume Unix or Linux
                        String[] browsers = { "firefox", "opera", "konqueror", "epiphany", "mozilla", "netscape" };
                        String browser = null;
                        for (int count = 0; count < browsers.length && browser == null; count++)
                             if (Runtime.getRuntime().exec(new String[] {"which", browsers[count]}).waitFor() == 0)
                                  browser = browsers[count];
                        if (browser == null)
                             throw new Exception("Could not find web browser");
                        else
                             Runtime.getRuntime().exec(new String[] {browser, url});
              } catch (Exception e) {
                   JOptionPane.showMessageDialog(null, errMsg + ":\n" + e.getLocalizedMessage());
         }

  • How do we load a html file from a folder on a sdcard into a webview panel c# windows phone 8.1

    Every time a character is made in my app it is saved to an html file named after it in a folder called RpgApp on the sdcard
    so if the characters name is john smith then there will be a john-smith.htm located in RpgApp folder on the sdcard
    now that bit works great
    the app also makes a list of buttons each one named after a file inside the RpgApp folder (so in this case there would be a button named john-smith.html ) and the content is the same as the name so it displays as john-smith.html
    each button has the following method on click 
    private void htmlButtonClick(object sender, RoutedEventArgs e)
    StorageFolder externalDevices = Windows.Storage.KnownFolders.RemovableDevices;
    string curDir = externalDevices.ToString();
    Button button = sender as Button;
    Uri result = new Uri(String.Format("file:///{0}/RpgApp/"+button.Name,curDir));
    web.Navigate(result);
    now the idea is that when you click the button the webview control (aptly named "web") loads up the content of the file (you notice button.name as part of the url? well thats because the buttons name is the file name :) 
    but instead the browser remains unmoved, just sits thier blank
    to test i changed web.Navigate(result); to web.NavigateToString(button.Name);
    and sure enough when ever i clicked a button the webview displayed the name of the button i clicked
    any ideas?

    Hi D.Eastwick,
    I will recommand you read the html file content from the folder in the sd card and convert it to a string, after that we can use the
    NavigateToString method to load the html content in the WebView.
    Besides, please try to do a test by puting the html file in a
    LocalFolder and use the URL like this: "ms-appdata:///...." to see if it works.
    Best Regards,
    Amy Peng
    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 generate & publish  webhelp html files in different folder than default folder

    Hi All,
    I am new to robo help. I have a requirement to generate & publish webhelp html files in a different folder than default folder.
    Could anyone please tell me the steps to change the folder
    Thanks
    Rashmi

    You change the generate folder and filename in the first field on the first page of the wizard. It must be a folder on your hard disk.
    You change the publish folder in the last page of the wizard. Anywhere you like.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Viewing HTML file

    i don't know how to view an html file, is there a command that let me call the explorer and load the file ?
    or is there a container or a class that shows html files ?
    thanks

    Creating HTML through Microsoft Word is not a good idea, it has to create the worst HTML I have ever seen. However to get your links working you will need to write a hyperlink listener. Theres an example in the javaDoc for JEditorPane http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JEditorPane.html

  • Viewing HTML files and Overriding a portlet

    Dear reader:
    I need to view an HTML file in a portlet according to a specified parameter passed via URL address, can i use url.display_url or not, and how? and if not what should i use?
    and related to that how can i call a portlet (or a page published as portlet)to override an existing one (programatically)?
    thank you for your time.

    To bring in content from another url, I've used code similar to the following within a Dynamic Page portlet with alot of success...
    <html>
    <table>
    <tr><td>
    <iframe
    src="http://www.domain.com/blablabla" noresize hspace="0" vspace="0" frameborder="0"
    marginheight="0" marginwidth="0" width="620" height="400">
    </iframe>
    </td>
    </tr>
    </table>
    </html>

  • How to view html files

    Hi,
    i had created a frame with a button..now i need to execute a html file not inside the frame, but in a web browser on click of the button how to do....

    private void openURL(String url) {
              String osName = System.getProperty("os.name");
              final String errMsg = "Error attempting to launch web browser";
              try {
                   if (osName.startsWith("Mac OS")) {
                        Class fileMgr = Class.forName("com.apple.eio.FileManager");
                        Method openURL = fileMgr.getDeclaredMethod("openURL", new Class[] {String.class});
                        openURL.invoke(null, new Object[] {url});
                   else if (osName.startsWith("Windows"))
                        Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);
                   else {
                        //assume Unix or Linux
                        String[] browsers = { "firefox", "opera", "konqueror", "epiphany", "mozilla", "netscape" };
                        String browser = null;
                        for (int count = 0; count < browsers.length && browser == null; count++)
                             if (Runtime.getRuntime().exec(new String[] {"which", browsers[count]}).waitFor() == 0)
                                  browser = browsers[count];
                        if (browser == null)
                             throw new Exception("Could not find web browser");
                        else
                             Runtime.getRuntime().exec(new String[] {browser, url});
              } catch (Exception e) {
                   JOptionPane.showMessageDialog(null, errMsg + ":\n" + e.getLocalizedMessage());
         }

  • View HTML file in MIDP 2.0

    Hi,
    Is anyone aware of a library available that can be used for rendering local HTML files in a MIDP 2.0 project?
    I read some places that Sun was going to release an xHTML library but all links go to dead ends.
    Any advice would be greatly appreciated.
    Jim

    Hello,
    We can read or scrap html file from your apps.
    Sun has provide some article on the same.
    http://developers.sun.com/techtopics/mobility/midp/ttips/scraping/index.html
    go throught the article and i hope this will give you a idea at present.

  • Web sharing - viewing html files from Mac to PC

    I am creating a website using QuarkXpress. Now I uploaded my html and image folder directly to my Site folder. My client has a PC, but cannot open the http address to view the page. Web sharing is on, also file sharing. What did I miss?? Thanks for your help.
    I highlighted websharing in system preferences and gave my client my computer address. But the page does not load?
    What's the difference from a remote computer and local IP range? I am confused there???

    Do you have more than one device connected to your Router or Modem?
    To see the difference between local & Remote, compare your IP in System Preferences>Network>TCP/IP tab & what your outside IP is...
    what's my ip...
    http://www.whatsmyip.org/

  • View HTML file in application server in MPP

    Hi,
    I have a html index file and a bunch of other files accessed by the index file in a specific directory on the SAP server. I would like to display the index file on click of button created in MPP.
    How to achieve this ? Any idea ?
    Thanks,
    K.Tharani.

    check the value of sy-subrc for open and close dataset statements so that you would know whether the file was opened and closed correctly.
    Regards,
    Sumit

  • How to display local HTML file in web-view?

    Hello everyone,
    we have no problem with showing of remote HTML content from server in box on page in web view. But how we can show such a content when included in HTMLResources? In guide is just "Display a local HTML file in an in-app browser", which works wihout problem, but we don't want to show this HTML content in in-app viewer, it should be part of page.
    Thanks
    Martin

    Now i'm confused. In guide is this:
    To use local HTML files, click the folder icon and specify the local HTML file. The HTML file (such as index.html) should appear in a folder that includes any images or scripts used in the HTML file.
    But no info where such a local HTML file should reside. If this file is in HTMLResources, it is ignored.

  • PSE8 Organize Folder View Missing Files

    I have some JPG files in my catalog and hard drive that don't show up in the Organizer when I'm viewing by Folder Location and have the folder where they are located selected in the folder tree. If I change Preferences to view all files grouped by folder then the JPG files show up under the correct folder. If I switch to thumbnail view and then search for the files by their name they are found and the path indicated by their properties is correct. I tried to re-add the JPG files to the catalog but it knows they already are there so they weren't added.
    The last thing to try would be to delete them from the catalog and add them in again. I thought I'd raise the question first in case there is some other process to use. I'm not sure how many other JPG files have this same issue since I just stumbled on this in the first place.
    Thanks,  -phil

    Folder Location view in PSE 6, 7, and 8 is buggy and often shows the wrong contents of folders:
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Folder_Location_view
    Deleting and reimporting the "missing" photos won't help.   Adobe doesn't care enough about this bug to fix it.

  • View local html files

    Does anyone here know how to view html files which are stored locally on iPhone?
    Thanks

    Unfortunately, iPhone Safari doesn't support the "file://" protocol.
    Not having local storage of web apps was, and is, a big limitation.
    Some companies I contract to, have large business apps written under IE6 on handheld Windows CE devices. The apps are stored on the device. When the iPhone (and Safari Windows) came out, we thought about modifying them to run under Safari. The limitation stopped that idea.

Maybe you are looking for