Search found 112 matches

by jsira2003@yahoo.com
Tue Nov 28, 2017 1:48 pm
Forum: PowerShell Studio
Topic: A True .EXE
Replies: 10
Views: 1570

Re: A True .EXE

I mention it because of speed. I am using the get-childitem command and have a need to traverse large directory trees. I want my app to run as fast as possible. I tested it for 4 weeks doing all the optimizations on the web. I had some success removing the foreach loops and used interation instead. ...
by jsira2003@yahoo.com
Mon Nov 27, 2017 10:32 am
Forum: PowerShell Studio
Topic: A True .EXE
Replies: 10
Views: 1570

A True .EXE

I realize that when we create an .exe with powershell studio 2017 all we get is an .exe wrapper around the code. Is there a way to get a true .exe? That is true that script into real machine code?

thanks,
John
by jsira2003@yahoo.com
Tue Nov 21, 2017 8:36 pm
Forum: PowerShell Studio
Topic: issue arose with the errorprovider
Replies: 6
Views: 1039

Re: issue arose with the errorprovider

I elected to ditch the error provider. It is working fine now.

Thanks!
John
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: 893

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: 1039

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: 893

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: 893

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: 893

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: 1039

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: 1039

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