CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2003
    Location
    China
    Posts
    69

    How? Get the info of the code not run IE or other!

    Here are codes of news ,wen edit a html files,if insert the code
    When open this file by IE ,can show some news
    How ? I can get the news without IE or other?
    ////////////////////////////////////////////////////////////////////////////
    <style type="text/css">
    <script language="JavaScript1.1" src="http://app0.china.com/freecode/out.php?typeid=11018164&num=20&t=否&f=标题字号&c=标题颜色&l="></script>
    ///////////////////////////////////////////////////////////////////////
    Thank you!

  2. #2
    Join Date
    Sep 2002
    Posts
    924
    This is not really the appropriate forum for your question as it does not appear to be related in any way to Visual C++ Programming. Aside from that, to view your news feed you need something that can interpret Javascript, whether it be a browser like IE, or another app.

  3. #3
    Join Date
    Apr 2003
    Location
    China
    Posts
    69

    I want to get the news in a appbar!

    I want get the news in a appbar and scroll it!
    the program will build by vc!
    Thank you!

  4. #4
    Join Date
    Sep 2002
    Posts
    924
    Ahh, Ok, I understand. I am unsure of the content that is shown using that link, as it appears there are some characters that did not print correctly when it was posted, (and I think the news shown will be in Chinese? which I cannot read either), but I still think that you need something that can interpret the Javascript to be able to display it within your program. One possible solution if you do not want to host a web browser control within your app, would be to use a DHtmDialog as it has built in DHtml support and I think would be able to interpret Javascript, although I am not completely sure as I have not worked with DHtmDialog's much as of yet.

  5. #5
    Join Date
    Apr 2003
    Location
    China
    Posts
    69
    htmlDlg?
    yes!Good idea! I too;
    it will open html file?IE takes more resource!

  6. #6
    Join Date
    Sep 2002
    Posts
    924
    Sorry that should read CDHtmlDialog.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured