ashley Posted January 3, 2008 Share Posted January 3, 2008 ok im trying to make my progress bar non-ending... heres my code: CODE; ~~~~~ PC Check-up ~~~~~ ; ; ~~~~~ What does it do? ~~~~~ ; ; ~~~~~ PC Check-up will check your PC for programs that defend your PC(defenders, Anti-virus') ~~~~~ ; ; ~~~~~ This is a BETA Version, This will contain bugs ~~~~~ ; ; ~~~~~ Made by Ashley ~~~~~ ; #include <GUIConstants.au3> #include <IE.au3> ; Const's + Global'Select Const $PBS_MARQUEE = 0x8 Global $P_bar _IEErrorHandlerRegister () ;GUI $MAIN_GUI = GUICreate("PC Check-up!", 1000, 600) ;Welcome $Label1 = GUICtrlCreateLabel("Welcome to PC Check-up!", 4, 8, 600, 25) GUICtrlSetFont(-1, 15) ; Inf5 $whatdoesitdo = GUICtrlCreateGroup("What does it do?", 4, 34, 293, 57) $Label2 = GUICtrlCreateLabel("This will make sure that your PC is 100% protected", 16, 48, 241, 17) $Label3 = GUICtrlCreateLabel("It will also recommend programs to keep it 100% protected", 16, 64, 277, 17) $Status = GUICtrlCreateLabel("Status: STILL", 810, 576, 200, 17) GUICtrlCreateGroup("", -99, -99, 1, 1) ;buttons $Check = GUICtrlCreateButton(" Check ", 945, 570, 50, 25) $Post = GUICtrlCreateButton(" Post ", 945, 540, 50, 25) $Update = GUICtrlCreateButton( "Update ", 890, 540, 50, 25) ;Listview'Select ;1 $Def_ListView = GUICtrlCreateListView("Files|Status", 4, 97, 294, 235, $LVS_REPORT, BitOR($WS_EX_CLIENTEDGE, $LVS_EX_GRIDLINES)) GUICtrlSendMsg(-1, 0x101E, 0, 150) GUICtrlSendMsg(-1, 0x101E, 1, 139) $Def_ListView_0 = GUICtrlCreateListViewItem("Windows Defender | Unchecked", $Def_ListView) ;2 $AV_ListView = GUICtrlCreateListView("Files|Status", 4, 337, 294, 235, $LVS_REPORT, BitOR($WS_EX_CLIENTEDGE, $LVS_EX_GRIDLINES)) GUICtrlSendMsg(-1, 0x101E, 0, 150) GUICtrlSendMsg(-1, 0x101E, 1, 139) $AV_ListView_1 = GUICtrlCreateListViewItem("Norton Protection Center | Unchecked", $AV_ListView) $AV_ListView_2 = GUICtrlCreateListViewItem("Avast! | Unchecked", $AV_ListView) $AV_ListView_3 = GUICtrlCreateListViewItem("AVG | Unchecked", $AV_ListView) ;progress bar $P_bar = GUICtrlCreateProgress(4, 575, 800, 17, BitOR($PBS_MARQUEE,$WS_BORDER)) ;IE $oIE = _IECreateEmbedded () GUICtrlCreateObj($oIE, 304, 8, 690, 530) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Check check() Case $post _IENavigate ($oIE, "http://www.autoitscript.com/forum/index.php?showtopic=60555") Case $Update MsgBox(48, "Info...", "Automatic Update is not available in this version") EndSwitch WEnd Func Check() AdLibEnable('_Progress', 50) EndFunc Func _Progress() GuiCtrlSetData($P_bar, '') EndFunc what's wrong Free icons for your programs Link to comment Share on other sites More sharing options...
Zedna Posted January 3, 2008 Share Posted January 3, 2008 As far as I know BS_MARQUEE style doesn't work on WIN9x but I'm not sure about this. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
ashley Posted January 3, 2008 Author Share Posted January 3, 2008 im on vista... and it should work... any other ways around this! Free icons for your programs Link to comment Share on other sites More sharing options...
Richard Robertson Posted January 3, 2008 Share Posted January 3, 2008 What's the point in showing what antivirus software a user has? If they don't already know, they should be removed from the computer. Link to comment Share on other sites More sharing options...
Zedna Posted January 3, 2008 Share Posted January 3, 2008 (edited) Look hereNext time don't forget to use Search button :-) Edited January 3, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
ashley Posted January 4, 2008 Author Share Posted January 4, 2008 thanks Free icons for your programs Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now