Search found 312 matches

by mxtrinidad
Fri May 03, 2019 2:57 pm
Forum: PowerShell Studio
Topic: DataGridView - when I search multiple times, the first cell data is blank
Replies: 5
Views: 1291

Re: DataGridView - when I search multiple times, the first cell data is blank

Good!

It's all about understanding the object, and some times make us go in circle.
Glad you resolved the issue!

:)
by mxtrinidad
Fri May 03, 2019 11:33 am
Forum: PowerShell Studio
Topic: DataGridView - when I search multiple times, the first cell data is blank
Replies: 5
Views: 1291

Re: DataGridView - when I search multiple times, the first cell data is blank

One thing for sure, the issue seems not in the code you provided. It's somewhere in the property of the form. Because we don't have the form, why not try using one of the templates name "Grid". Then, in the "$buttonLoad_Click", replace the code with yours and seen if it still happens. I did a test b...
by mxtrinidad
Fri May 03, 2019 5:18 am
Forum: PowerShell Studio
Topic: DataGridView - when I search multiple times, the first cell data is blank
Replies: 5
Views: 1291

Re: DataGridView - when I search multiple times, the first cell data is blank

If the purpose of the Datagridveiw is to display the information, so it can't be altered. In the control property panel, under "Behavior", change the ReadOnly property of the control from False to True.

This will protect the cell from been overwritten.

:)
by mxtrinidad
Thu Apr 25, 2019 10:56 am
Forum: PowerShell GUIs
Topic: Output to Multiple RichTextBoxes
Replies: 5
Views: 474

Re: Output to Multiple RichTextBoxes

You will need to build the logic to compare original vs updated line by line in order to identify the difference. A good start would be to use the Compare-Object that can identify difference. You will need to be creative and create the PSObject to compare against line by line. Use the following comm...
by mxtrinidad
Tue Apr 23, 2019 8:32 am
Forum: Windows PowerShell
Topic: 1 day date difference between gui and attribute
Replies: 2
Views: 706

Re: 1 day date difference between gui and attribute

The GUI will show the day before it expired.
:)
by mxtrinidad
Wed Apr 17, 2019 5:25 am
Forum: PowerShell GUIs
Topic: Stop Function without exit form
Replies: 2
Views: 278

Re: Stop Function without exit form

Correction:
Check this example.

$count = 10; $i = 1;
While ($i -le $count)
{
Write-Host "Print $i";
$i++
}

Hope this helps!

:)
by mxtrinidad
Fri Apr 12, 2019 6:55 am
Forum: PowerShell GUIs
Topic: how add starting application progres bar
Replies: 2
Views: 253

Re: how add starting application progres bar

Please check out the recent Progress Bar Series Blog post. You can even download sample code to help understand how to work with progress bar. https://www.sapien.com/blog/2019/03/12/progress-bar-series-part-1-displaying-script-progress-in-gui-applications/ https://www.sapien.com/blog/2019/03/14/prog...
by mxtrinidad
Wed Apr 03, 2019 2:02 pm
Forum: Windows PowerShell
Topic: Multiple computers writing to a domain hosted file
Replies: 11
Views: 1790

Re: Multiple computers writing to a domain hosted file

Great! We are here to help. Feel free to reach out any time.
:)
by mxtrinidad
Wed Apr 03, 2019 1:44 pm
Forum: Windows PowerShell
Topic: Multiple computers writing to a domain hosted file
Replies: 11
Views: 1790

Re: Multiple computers writing to a domain hosted file

I would suggest to use PowerShell existing commands as it was designed to such purpose. As JVierra shown one way using the Import-Csv cmdlet, you can also try using the Out-File cmdlet which has the parameters '-NoClobber' which will not override the file, and in combination with the '-Append' the o...
by mxtrinidad
Wed Apr 03, 2019 12:49 pm
Forum: Windows PowerShell
Topic: Multiple computers writing to a domain hosted file
Replies: 11
Views: 1790

Re: Multiple computers writing to a domain hosted file

We need more information!
It will help if you tell us what cmdlet you're using to write the file to the share drive.
:)