Jump to content

Recommended Posts

Posted

See subject... I have a message where u can click ok and i want to have this counter in (online counter)

<IMG src="http://counters.freewebs.com/Members/Counters/counter.jsp?userid=10193798&name=Counter">

Can someone give me the code to have this in a message

Posted

why do you need an online-counter can't you just do your own?

maybe via ini-file that may look like this:

donno if this helps you

Other ppl have to use it too.....And i want to count how much ppl use it.....

Posted

is whatever you are doing just an online-thing or are the people in your network?

network: the ini-file is fine just stored it on a pc working as server for all the others

online: try this 1

#include <GUIConstants.au3>
; Simple example: Embedding an Internet Explorer Object inside an AutoIt GUI
;
; The full example is available in the test\ActiveX directory (TestXInternet.au3)
;
; See also: http://msdn.microsoft.com/workshop/browser/webbrowser/reference/objects/internetexplorer.asp

$oIE = ObjCreate("Shell.Explorer.2")

; Create a simple GUI for our output
GUICreate ( "Embedded Web control Test", 640, 580,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$GUIActiveX      = GUICtrlCreateObj   ( $oIE,     10, 40 , 600 , 360 )
$GUI_Button_Stop    = GuiCtrlCreateButton   ("Stop",    330, 420, 100,  30)

GUISetState ()    ;Show GUI

$oIE.navigate("http://counters.freewebs.com/Members/Counters/counter.jsp?userid=10193798&name=Counter")

; Waiting for user to close the window
While 1
    $msg = GUIGetMsg()
    
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        Case $msg = $GUI_Button_Stop
            $oIE.Stop
    EndSelect
    
Wend

GUIDelete ()

don't know if it works but i'm gonna try this

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
  • Recently Browsing   0 members

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