Search found 109 matches

by jsira2003@yahoo.com
Tue Nov 21, 2017 8:34 pm
Forum: PowerShell Studio
Topic: Data entry form to reappear in the existing process
Replies: 6
Views: 826

Re: Data entry form to reappear in the existing process

I changed my dialogresult to none instead of OK and this prevented the form from going away. Now all I have to do is reinitialize my variables in the button control for the next pass. This worked as I hoped.

Thanks!
by jsira2003@yahoo.com
Tue Nov 21, 2017 2:49 pm
Forum: PowerShell Studio
Topic: issue arose with the errorprovider
Replies: 6
Views: 967

Re: issue arose with the errorprovider

Since I didn't select sta or mta mode. It should have defaulted with sta mode. I suspect that wasn't my issue. I tried it both with and without the error provider. I only froze while using the error provider.

Thanks,
John
by jsira2003@yahoo.com
Tue Nov 21, 2017 1:51 pm
Forum: PowerShell Studio
Topic: Data entry form to reappear in the existing process
Replies: 6
Views: 826

Re: Data entry form to reappear in the existing process

Perhaps that is my issue using the ok button instead of a different button that doesn't terminate the form. I assume my issue is the ok button that it ends the form where as another button will still be in the form. Am I understanding this correctly? Is there a way to change the behavior of the ok b...
by jsira2003@yahoo.com
Tue Nov 21, 2017 1:48 pm
Forum: PowerShell Studio
Topic: Data entry form to reappear in the existing process
Replies: 6
Views: 826

Re: Data entry form to reappear in the existing process

When the user clicks on the ok button the form goes away. I don't see how this will prevent the form from going away? Also all of the fields need to be re-initialized next pass. If there is a way to repeat the data entry screen I guess I can re-initialize the variables. The Show statement makes the ...
by jsira2003@yahoo.com
Tue Nov 21, 2017 1:05 pm
Forum: PowerShell Studio
Topic: Data entry form to reappear in the existing process
Replies: 6
Views: 826

Data entry form to reappear in the existing process

I have a form that I want to re-appear after the data entry is complete. The only way I can make it seemless if it is a recursive call. I do not want to start a new process. I want the form to work in the existing process and not create a new process. Is there a way to do this? FormX{ } Button_ok{ c...
by jsira2003@yahoo.com
Tue Nov 21, 2017 12:34 pm
Forum: PowerShell Studio
Topic: issue arose with the errorprovider
Replies: 6
Views: 967

Re: issue arose with the errorprovider

What is sta mode? Enclosed is the psf file.

thanks,
John
by jsira2003@yahoo.com
Mon Nov 20, 2017 7:40 pm
Forum: PowerShell Studio
Topic: issue arose with the errorprovider
Replies: 6
Views: 967

issue arose with the errorprovider

I am using the latest version of powershell studio 2017 5.4.145. I am running on a windows 10 64-bit pc. I used the following code below to filter a directory/share file path. I know this code works well enough for my needs. What I discovered today with testing is if I type in a long path like the f...
by jsira2003@yahoo.com
Thu Jun 15, 2017 9:31 am
Forum: PowerShell GUIs
Topic: Running New-Item in a form vs. running it in global area
Replies: 4
Views: 601

Re: Running New-Item in a form vs. running it in global area

As a new users of the forms product it appears that I am constantly running into this issue. I am attempting to resolve these issues by putting more functions/variables in global and then when a form needs to do something I call the function. I also noticed a form didn't work right with out-file but...
by jsira2003@yahoo.com
Wed Jun 14, 2017 1:41 pm
Forum: PowerShell GUIs
Topic: Running New-Item in a form vs. running it in global area
Replies: 4
Views: 601

Running New-Item in a form vs. running it in global area

Product, version and build: (*** Please do not write "latest" as a version, specify a version number ***) 32 or 64 bit version of product: Operating system: 32 or 64 bit OS: windows 10 pro 64-bit PowerShell Version: 17 DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM ...