Jump to content

_IECreateEmbeddAd, problem. Help me ;)


Recommended Posts

Witam, mam pewien problem. Potrzebuję umieścić okno przeglądarki w gui programu, a dokładniej okno strony flash. Kiedy sprawdzam różne skrypty działają idealnie, ale kiedy podam już adres strony z obiektem flash to nie wczytuje jej do końca, albo tak jak by wtyczka nie działała jak powinna. Dodam, że kiedyś na win xp działało u mnie to super, a teraz i na pc na win7 i na laptopie na win10 sprawa wygląda identycznie. Dodaje kawałek skryptu gdzie w jednym oknie działa to idealnie a w drugim z obiektem flash już nie chce wczytać. Jak to zrobić aby dobrze załadowało poprawnie tę strone? Dodam, że wchodząc ręcznie z poziomu przeglądarki internet explorer działa idealnie wszystko.
 

#include <GUIConstantsEx.au3>
#include <IE.au3>
#include <WindowsConstants.au3>


GUICreate("TEST", 800, 600, (@DesktopWidth - 800) / 2, (@DesktopHeight - 600) / 2, $WS_OVERLAPPEDWINDOW + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN)


Local $oIE = _IECreateEmbedded()
Local $iGUI1_O0 = GUICtrlCreateObj($oIE, 10, 10, 780, 285)


Local $oIE2 = _IECreateEmbedded()
Local $iGUI1_O1 = GUICtrlCreateObj($oIE2, 10, 305, 780, 285)


GUISetState(@SW_SHOW)


_IENavigate($oIE, "http://www.taern.pl")
_IEAction($oIE, "stop")
_IENavigate($oIE2, "http://www.google.pl")
_IEAction($oIE2, "stop")


While 1
    Local $iMsg = GUIGetMsg()
    Select
        Case $iMsg = $GUI_EVENT_CLOSE
            ExitLoop
    EndSelect
WEnd


GUIDelete()


Exit

 

Link to comment
Share on other sites

Sorry, I forgot to translate.

Hello, I have a problem. I need to put a browser window in the program gui, and more specifically the flash page window. When I check various scripts they work perfectly, but when I give the address of the site with the flash object it does not load it completely, or just as if the plug did not work as it should. I would like to add that once on win xp it worked great for me, and now and on pc on win7 and on laptop on win10 the case looks the same. It adds a piece of script where in one window it works perfectly and in the other with a flash object it does not want to load anymore. How to do it to properly load this page correctly? I would add that by entering manually from the level of the internet explorer, everything works perfectly.

Link to comment
Share on other sites

  • Moderators

danek90099,

I see you did not read those rules to which I linked very carefully - you missed the part that says:

"Do not repost the same question if the previous thread has been locked - particularly if you merely reword the question to get around one of the prohibitions listed above"

You did not even bother to change the URL. Do NOT start another thread on this - our patience has limits.

M23

 

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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