Search found 18 matches

by harringg
Mon Aug 23, 2021 6:43 am
Forum: PowerShell GUIs
Topic: MaskedTextBox validation if box not used
Replies: 1
Views: 2888

MaskedTextBox validation if box not used

I've got a successful validation on a text box, but in the event the user doesn't have the information, and they click inside the box, the cursor is "locked" in the box until they enter text. Scenario, if a user has a PersonGUID from an external system, I want them to enter in the box, and I want to...
by harringg
Mon Aug 09, 2021 8:11 am
Forum: PowerShell GUIs
Topic: Can't find control (Properties lists Visible)
Replies: 1
Views: 2894

Can't find control (Properties lists Visible)

Product: PowerShell Studio 2021 (64 Bit) Build: v5.8.191 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.19042.0 I've had this happen a few times, and wondering if I'm doing something wrong, or if it's a bug. I'll drag a Label Control and (possibly drag it off screen? I don't think so), but it's gon...
by harringg
Tue Aug 03, 2021 5:01 am
Forum: PowerShell GUIs
Topic: Display ChildForm DataGridView in ParentForm
Replies: 6
Views: 3623

Re: Display ChildForm DataGridView in ParentForm

That was the solution for this use case. Thank you.
by harringg
Sat Jul 31, 2021 11:25 am
Forum: PowerShell GUIs
Topic: Display ChildForm DataGridView in ParentForm
Replies: 6
Views: 3623

Re: Display ChildForm DataGridView in ParentForm

Same ParentForm (part of a MultiForm Project: BuildingBlocks). I'm using the tutorial from June Blender and Sapien as a foundation. https://www.youtube.com/watch?v=SdaLaGReNk0 My current project is to take the various types of Form Controls, set them up as an ChildForm and return the results back to...
by harringg
Sat Jul 31, 2021 8:45 am
Forum: PowerShell GUIs
Topic: Display ChildForm DataGridView in ParentForm
Replies: 6
Views: 3623

Re: Display ChildForm DataGridView in ParentForm

1. Launch ChildForm from Parent Form 2. Load Grid content in ChildForm 3. Select row in dataGridView (is shown in richtextbox1 on ChildForm) 4. Click buttonExit (designated as DialogResult = 'OK') 5. Desired result is to view 'smss.exe' in richtextboxDisplayMessageMainForm on ParentForm (after closi...
by harringg
Fri Jul 30, 2021 8:36 pm
Forum: PowerShell GUIs
Topic: Progress bar when running PS cmdlet
Replies: 5
Views: 4157

Re: Progress bar when running PS cmdlet

I've got a progress bar working for "progress scripts". I was looking to output the progress bar when running "import-module activedirectory", like it does in the ISE. And same with my OP question, that action, in the ISE has a "progress bar", just hoping to capture in the form. In WINFORMS when fir...
by harringg
Fri Jul 30, 2021 8:27 pm
Forum: PowerShell GUIs
Topic: Display ChildForm DataGridView in ParentForm
Replies: 6
Views: 3623

Display ChildForm DataGridView in ParentForm

I have a Parent and Child Form. Parent used to display results from Child. Child textbox can display first cell of selected row in richtextbox1 I have dozens of Parent/Child forms passing data successfully. Just not getting desired datagridview data to display $datagridviewResults_CellMouseClick=[Sy...
by harringg
Fri Jul 16, 2021 6:04 am
Forum: PowerShell GUIs
Topic: Size box not taking entered values
Replies: 3
Views: 2436

Re: Size box not taking entered values-Resolved

Yes, that was it. Autosize = $true I'm coming to Sapien (pro grade) from Poshgui (consumer grade) and it's not as advanced with validation (it's good for the basics). Since Sapien doesn't allow import from an existing WinForm.ps1, I'm hand coding from my legacy projects, and was trying to a like for...
by harringg
Thu Jul 15, 2021 8:08 pm
Forum: PowerShell GUIs
Topic: Size box not taking entered values
Replies: 3
Views: 2436

Size box not taking entered values

Product: PowerShell Studio 2021 (64 Bit) Build: v5.8.191 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.19042.0 What would cause an element to not accept size values? Drag Label element to Form Designer, use default settings Label Size>Width, enter a value, press Enter, it reverts to the previous v...
by harringg
Thu Jul 15, 2021 6:39 pm
Forum: PowerShell GUIs
Topic: Different results in Form .ps1 vs .exe
Replies: 3
Views: 2364

Re: Different results in Form .ps1 vs .exe

I just meant they are the same .psf, one export to file (.ps1) and one Build (.exe) I may have used the term dot-source incorrectly.

.ps1 was run via an elevated PS session
PS> . 'export.ps1'
.exe was run, right-click, Run As Adminstrator