Jump to content
Sign in to follow this  

How Do I Put A Dcr File Into A Gui Window?

Recommended Posts

1 method. Have an inbulit browser on your GUI and display it using that...

The exact method has slipped my mind for the moment... I'll post it here when I remember...


Share this post

Link to post
Share on other sites

It didn't seem to work, heres the link i want to link to http://www.bbc.co.uk/radio1/onemusic/studio/sequencerv2.dcr

all i see is a black screen nothing else

If you are trying to display a url from a remote server then you can either use InetGet and save the file to your temp folder, then open it from your local system using the object in the example, or you can use the IE automation library in the scripts and scraps forum to embed a browser in your GUI, and just open the URL. Look for ie.au3. You can find info on and examples for the inetget function in the help file.

Of course I don't know wat a dcr file is, and trying to access it in my browser just starts a download, so I obviously don't have the software to access it. Sorry I can't be more help.

Share this post

Link to post
Share on other sites

I know its a type of shockwave object. Thank you for your help.

This works for me

#include <GUIConstants.au3>

$Form1 = GUICreate("Test Webbrowser", 715, 503, 192, 125)
$Obj = ObjCreate("Shell.Explorer.2")
$browser = GUICtrlCreateObj($Obj, 0, 64, 710, 436)
$Obj.Navigate ('http://www.bbc.co.uk/radio1/onemusic/studio/sequencerv2.dcr')
While 1
    $msg = GUIGetMsg()
        Case $msg = $GUI_EVENT_CLOSE
        Case Else

It only worked after I downloaded the player.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...