so we need two app?
the program.
the updater.
Program trigger the updater who run the update files process? and then start the new program up again?
Search found 103 matches
- Mon Feb 13, 2023 3:32 am
- Forum: PowerShell GUIs
- Topic: Update button new app release from share?
- Replies: 4
- Views: 658
- Fri Feb 10, 2023 4:25 am
- Forum: PowerShell GUIs
- Topic: Update button new app release from share?
- Replies: 4
- Views: 658
Update button new app release from share?
Hi,
If you have build and app.exe and want to make a update button.
I put the new app version on this share \\server\release\app.exe
How do i make it update? Update click download the new app.exe from share and close the old app and start the new app up
how would you manage to do that?
If you have build and app.exe and want to make a update button.
I put the new app version on this share \\server\release\app.exe
How do i make it update? Update click download the new app.exe from share and close the old app and start the new app up
how would you manage to do that?
- Tue Jan 31, 2023 5:14 am
- Forum: PowerShell GUIs
- Topic: Solved - Select value from combox box by value how?
- Replies: 1
- Views: 257
Re: Select value from combox box by value how?
$combobox1.SelectedIndex = $combobox1.Items.IndexOf("$logfile") did the trick $datagridview1_DoubleClick={ $logfile = $datagridview1.Rows[$($datagridview1.CurrentCell.RowIndex)].Cells[0].Value $textbox1.Text = $logfile $combobox1.SelectedIndex = $combobox1.Items.IndexOf("$logfile"...
- Tue Jan 31, 2023 4:58 am
- Forum: PowerShell GUIs
- Topic: Solved - Select value from combox box by value how?
- Replies: 1
- Views: 257
Solved - Select value from combox box by value how?
How do i select from a combo box. I want to DoubleClick on the datagridview1 and get the selected value with $logfile = $datagridview1.Rows[$($datagridview1.CurrentCell.RowIndex)].Cells[0].Value how do i select the same "file" in the combobox? by code when double click action? PowerShell_S...
- Fri Jan 27, 2023 5:25 am
- Forum: PowerShell GUIs
- Topic: Solved - Dot source the AppDeployToolkit Functions - debug
- Replies: 1
- Views: 401
Re: Dot source the AppDeployToolkit Functions - debug
Solved.
Needed to define this also
$script:installPhase = "Setup"
Needed to define this also
$script:installPhase = "Setup"
- Fri Jan 27, 2023 2:36 am
- Forum: PowerShell GUIs
- Topic: Solved - Dot source the AppDeployToolkit Functions - debug
- Replies: 1
- Views: 401
Solved - Dot source the AppDeployToolkit Functions - debug
Have attached my project I have dot source the required AppDeployToolkit - so i can use the function from the toolkit in my project. That works fine. But i have a glitch in the logfile it create some how the logmessage is null? The output in sapien output windoes show the message fine but the log fi...
- Mon Dec 12, 2022 5:40 am
- Forum: PowerShell GUIs
- Topic: change ForeColor on textbox dynamic
- Replies: 5
- Views: 831
Re: change ForeColor on textbox dynamic
complete solution function get-checkboxLog { [System.Collections.ArrayList]$clients = @() $checkbox_log = 1 .. 6 foreach ($item in $checkbox_log) { $statuslog = Get-Variable -Name "checkbox_Log$($item)" -ValueOnly if ($($statuslog.CheckState) -eq 'Checked') { $clientname = Get-Variable -Na...
- Mon Dec 12, 2022 5:39 am
- Forum: PowerShell GUIs
- Topic: change ForeColor on textbox dynamic
- Replies: 5
- Views: 831
Re: change ForeColor on textbox dynamic
added a switch but to do my forecolor change. it works but if there isnt any other ways if (Test-Connection -Cn $client -Count 1 -ea 0 -quiet) { # online $clients.Add("$client") | Out-Null switch ($item) { 1 { $textbox_Log1.ForeColor = 'Green' } 2 { $textbox_Log2.ForeColor = 'Green' } 3 { ...
- Mon Dec 12, 2022 5:17 am
- Forum: PowerShell GUIs
- Topic: change ForeColor on textbox dynamic
- Replies: 5
- Views: 831
Re: change ForeColor on textbox dynamic
$textbox_Log.ForeColor = 'Red'
yes but is there a way so i can do it this way
$collection = 1..6
foreach ($item in $collection)
{
$textbox_Log($item).ForeColor = 'Red' # this give me an error
}
yes but is there a way so i can do it this way
$collection = 1..6
foreach ($item in $collection)
{
$textbox_Log($item).ForeColor = 'Red' # this give me an error
}
- Mon Dec 12, 2022 2:00 am
- Forum: PowerShell GUIs
- Topic: change ForeColor on textbox dynamic
- Replies: 5
- Views: 831
change ForeColor on textbox dynamic
Hi I want to change the .ForeColor on conditions Have 6 checkbox from checkbox_Log1..6 and textbox_Log1..6 I got this working so far getting info - but i want to change a property based on test-connection trying to Set-Variable -Name "textbox_Log$($item).ForeColor" -Value "Green"...