Jump to content

ListView with some datebase


photo
 Share

Recommended Posts

Hi ^^ >> sorry my english soo bad :D

now .. i make this script Ok ??

#include <Process.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>
#include <ProgressConstants.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=c:\users\photo man\desktop\form1.kxf
$Form1 = GUICreate("", 522, 318, -1, -1)
$MenuItem5 = GUICtrlCreateMenu("&Options")
$MenuItem6 = GUICtrlCreateMenuItem("", $MenuItem5)
$MenuItem12 = GUICtrlCreateMenuItem("Refresh list", $MenuItem5)
$MenuItem1 = GUICtrlCreateMenu("&Help")
$MenuItem2 = GUICtrlCreateMenuItem("Contact us", $MenuItem1)
$MenuItem3 = GUICtrlCreateMenuItem("More info", $MenuItem1)
$MenuItem4 = GUICtrlCreateMenuItem("About...", $MenuItem1)
GUISetIcon("")
$Button1 = GUICtrlCreateButton("Refresh list", 9, 264, 79, 25, $WS_GROUP)
$Tab1 = GUICtrlCreateTab(8, 8, 505, 249)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
$TabSheet1 = GUICtrlCreateTabItem("Introduction")
$TabSheet2 = GUICtrlCreateTabItem("")
$ListView1 = GUICtrlCreateListView("Name|Date|Download", 12, 34, 497, 219)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 164)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 164)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 2, 165)
$ListView1_0 = GUICtrlCreateListViewItem(" 2010|28\7\09|Download now", $ListView1)
$ListView1_1 = GUICtrlCreateListViewItem(" 2010|29\7\09|Download now", $ListView1)
GUICtrlSetCursor (-1, 2)
GUICtrlCreateTabItem("")
$Progress1 = GUICtrlCreateProgress(392, 268, 118, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

        Case $MenuItem2
            _RunDOS("start  http://www.w-enter.com/forum/f3/") ; Help Menu...........
        Case $MenuItem3
            _RunDOS("start  http://www.w-enter.com/forum/members/9978/")

Case $ListView1
EndSwitch
WEnd

and this image from koda: http://files5.w-enter.com/uploadcenter/9978/131424.png

now, in the lisview .. when the user click "Get Updates"

i want my script connect with some datebase in my website.. <<< by Access

and when the user click "item1" that well be open "fileSaveDialog" and the user choose the place that he want to save link in it ..

<< the dialog well be save that link in the datebase

all things in datebase added by me

* wehen my script connect with datebase .. i want the progress working ... tell me how >>? :D

http://files5.w-enter.com/uploadcenter/9978/newtextdocument(3).txt <<< this good code by vb 6

Edited by photo

[center][/center]

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