Results 1 to 6 of 6

Thread: Internet Controls and url with .swf

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2007
    Posts
    24

    Internet Controls and url with .swf

    I'm adding a internet page with this URL:
    http://www.museum.state.il.us/flasha...k/logcabin.swf,
    but when the page loads I get an error, actually two errors:
    "A runtime error has occured", line 1 and then line 0.

    Am I mistaken to try and run this with the internet controls or should I add
    the flash component? If so - what's the code so it uses the above url?

    Thanks for your help. I'm taking a 4 day weekend so wont get to try
    anything until wednesday......

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Internet Controls and url with .swf

    Have you tried using WebBrowser1.Silent = True which will silent any errors in the webpage being loaded?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Dec 2007
    Posts
    24

    Re: Internet Controls and url with .swf

    That silenced the errors from popping up. Now it asks if I want to Debug and the page won't load. Loads from IE 7 just fine - anyone know if there's a way to update my VB version of the browser? Any ideas would be great!
    Thanks for all your help!!!!

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Internet Controls and url with .swf

    Have you checked out the js page to see if the errors are due to prevention of the swf being loaded on other sites?

    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Dec 2007
    Posts
    24

    Re: Internet Controls and url with .swf

    I'll be honest. don't know what the JS is. I have tried other sites with
    a .swf in the URL and get the same error - I'm guessing that this is a
    browser problem. Is there a way I can load the existing flash url to my
    hard drive?

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Dec 2007
    Posts
    24

    Re: Internet Controls and url with .swf

    I couldn't get the web browser to work, but I was able to get the Shockwave
    flash component to work, just added the URL to the Movie location.
    If anyone has an answer to the browser question I'd still love to know
    why it didn't work.

    Thanks!
    doug

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