Jump to content

GUICtrlCreateObj... problem


Recommended Posts

I have the latest Autoit 3.1.1.59... but my GUIConstants is dated 6/24/2005

error

C:\Program Files\AutoIt3\Examples\My Stuff\ie-stuff.au3(14,85) : ERROR: GUICtrlCreateObj(): undefined function.

$GUIActiveX = GUICtrlCreateObj ( $oIE, 10, 40 , 600 , 360 )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

***** this is from the help file example *****

GUICtrlCreateObj ( $ObjectVar, left, top [, width [, height ]]

????

8)

NEWHeader1.png

Link to comment
Share on other sites

yes straight from the help file

and this works (from MSLx_Fanboy)

$oMyError = ObjEvent("AutoIt.Error","Quit")

$oMediaplayer = ObjCreate("WMPlayer.OCX.7")

If Not IsObj($oMediaplayer) Then Exit

$oMediaplayer.Enabled = true

$oMediaplayer.WindowlessVideo= true

$oMediaPlayer.UImode="invisible"

$oMediaPlayer.URL="http://players.eonstreams.com/FastAim/Player/Play.php?PulseID=14908515&SecurityKey=5553"

$oMediaPlayControl=$oMediaPlayer.Controls

$oMediaPlaySettings=$oMediaPlayer.Settings

????

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

I have the latest Autoit 3.1.1.59... but my GUIConstants is dated 6/24/2005

error

C:\Program Files\AutoIt3\Examples\My Stuff\ie-stuff.au3(14,85) : ERROR: GUICtrlCreateObj(): undefined function.

$GUIActiveX            = GUICtrlCreateObj        ( $oIE,        10, 40 , 600 , 360 )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

***** this is from the help file example *****

GUICtrlCreateObj ( $ObjectVar, left, top [, width [, height ]]

????

8)

<{POST_SNAPBACK}>

Valuater,

See my posting in the bugs forum: http://www.autoitscript.com/forum/index.php?showtopic=13647

The error message is not from AutoIt3, it's from AU3Check. You will need to update that one too. Downloadable from: http://www.autoitscript.com/forum/index.php?showtopic=3169

Regards,

-Sven

Link to comment
Share on other sites

Valuater,

See my posting in the bugs forum: http://www.autoitscript.com/forum/index.php?showtopic=13647

The error message is not from AutoIt3, it's from AU3Check.  You will need to update that one too.  Downloadable from: http://www.autoitscript.com/forum/index.php?showtopic=3169

Regards,

-Sven

<{POST_SNAPBACK}>

SvenP and gafrost

got both of the messages fixed the "<" and">" and dowloaded the latest "au3check" and still I get the error on the 'au3check' but if i press continue i do get the gui to show and it works... thanks

I still notice the "GUICtrlCreateObj" is not highlighted like all the other commands

it looks like regular black text

i also noticed the buttons are not layed out (spaced) properly on the GUI

thanks to you both for your help

8)

I could'nt reply in the BUG Forum (it would'nt let me respond)

NEWHeader1.png

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