Jump to content

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


amdead
 Share

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...

#)

Link to comment
Share on other sites

I came across a method to insert a flash object in the forums the other day. That may work for you with a shockwave file also. Try searching the forums for flash. If I run into it, I'll coly the link and post it here for you.

[edit]

here is the link http://www.autoitscript.com/forum/index.ph...=13187&hl=flash

[/edit]

Edited by billmez
Link to comment
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.

Link to comment
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)
GUISetState(@SW_SHOW)
$Obj.Navigate ('http://www.bbc.co.uk/radio1/onemusic/studio/sequencerv2.dcr')
While 1
    $msg = GUIGetMsg()
        Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
       
        Case Else
       ;;;;;;;
     EndSelect
 WEnd

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...