Jump to content

GUI for managing database


price98
 Share

Recommended Posts

hello everyone, new to this forum. I saw @Melba23 code. I have to  upload files from one folder to database and i have to download it. In his code, he is uploading files from desktop.

_FileListToArray(@DesktopDir, "*", $FLTA_FILES

how can i upload from one folder location to database.

how can i modify  it?

Thank you

Func CheckInputText()

    $sPartialData = "|" ; Start with delimiter so new data always replaces old
    Local $sInput = GUICtrlRead($cInput)
    If $sInput <> "" Then
        For $i = 1 To $asFile[0]
            If StringInStr($asFile[$i], $sInput) <> 0 Then $sPartialData &= $asFile[$i] & "|"
        Next
        GUICtrlSetData($cList, $sPartialData)
    EndIf
EndFunc   ;==>CheckInputText

Func sFile()

    ; Get an array of files from the desktop
    $asFile = _FileListToArray(@DesktopDir, "*", $FLTA_FILES)

EndFunc   ;==>sFile

Func _WM_COMMAND($hWnd, $iMsg, $wParam, $lParam)

    ; If it was an update message from our input
    If _WinAPI_HiWord($wParam) = $EN_CHANGE And _WinAPI_LoWord($wParam) = $cInput Then
        CheckInputText()
    EndIf

EndFunc   ;
Link to comment
Share on other sites

  • Developers
59 minutes ago, New55 said:

hello everyone, new to this forum. I saw @Melba23 code.

Bullshit...  You better read those forumrules right now and adhere to them.  Second account is locked.
Do not do this again or else all accounts will be banned.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

how to download a file ? please give me suggestion

 InetGet("http://www.autoitscript.com/autoit3/files/beta/update.dat", $sFilePath, $INET_FORCERELOAD, $INET_DO

Here we are downloading the file from URL. how to download it ( if we are uploading files from folder of my system and downloading that file)

i have to use same function InetGet. if yes, how to use it?

Edited by price98
Link to comment
Share on other sites

  • Developers

@price98, You nicely avoided to comment on my post .. why is that?

Secondly: Your questions doesn't make sense to me. Are you talking about a local file on a disk which you can simply open or ..... what else?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

@Jos, sorry for that,i don't know what to comment, so i didn't comment   . In previous discussions i asked here how to upload it. They repiled to me use _FileListToArray() , thats why i am asking doubt continuing that one. After uploding files by using _FileListToArray() , how to download the files ?

Link to comment
Share on other sites

  • Moderators

price98,

And now you have the Mods' attention - would you care to explain why you share an IP with this guy, whose question seems very close to yours?

And the answer had best be a good one!

M23

P.S. And as it apparently needs saying over and over - everyone else keep out!!!

Edited by Melba23
Forgot link

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

  • Moderators

price98,

So the project is the same - falsifying download counts. Therefore you suffer the same fate as your mate - thread locked.

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

  • Developers

@price98, I see you at least created 4 accounts to-date, so as mentioned earlier: consider this your last chance as else you suddenly will find you are totally locked out.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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