Search found 260 matches

by mxtrinidad
Mon Mar 18, 2019 8:30 am
Forum: PowerShell GUIs
Topic: RichTextBox: Adding dynamically-generated picture to existing content
Replies: 23
Views: 267

Re: RichTextBox: Adding dynamically-generated picture to existing content

Awesome JVierra!!

One important thing I forgot to mention... The "ReadOnly" Property need to be set to FALSE or it won't display the image.

:)
by mxtrinidad
Mon Mar 18, 2019 7:21 am
Forum: PowerShell GUIs
Topic: RichTextBox: Adding dynamically-generated picture to existing content
Replies: 23
Views: 267

Re: RichTextBox: Adding dynamically-generated picture to existing content

Sorry for the late response as I'm also out on a conference. The following is a code snippet to allow add an image to a richtextbox control. This also use the opendialog control to help search for images. $buttonSelectFolder_Click={ #TODO: Place custom script here Try { ## - Logic to handle FolderBr...
by mxtrinidad
Tue Mar 12, 2019 9:59 am
Forum: Windows PowerShell
Topic: Update Computer Description
Replies: 15
Views: 455

Re: Update Computer Description

Hey JVierra!! I always learn things from you. Thank You!
PowerShell is Awesome!!

:)
by mxtrinidad
Tue Mar 12, 2019 7:55 am
Forum: Windows PowerShell
Topic: Update Computer Description
Replies: 15
Views: 455

Re: Update Computer Description

First, JVierra has giving you an Awesome script that works. I would also try it using .NET which is easy to use and there's lots of documentation (COM Object is old technology). https://devblogs.microsoft.com/scripting/use-the-directorysearcher-net-class-and-powershell-to-search-active-directory/ ht...
by mxtrinidad
Fri Mar 08, 2019 9:27 am
Forum: PrimalScript
Topic: Shell tied to script that I've run?
Replies: 1
Views: 80

Re: Shell tied to script that I've run?

I would definitely recommend to get latest version of PrimalScript. We have included the ability to update PowerShell variable during debug. Please check the latest added feature at the following link: https://www.sapien.com/software/version_history PrimalScript_DebugVariables_2019-03-08_11-21-18.png
by mxtrinidad
Fri Mar 08, 2019 9:12 am
Forum: Windows PowerShell
Topic: ERROR: New-PSDrive : Multiple connections to a server or shared resource by the same user
Replies: 5
Views: 330

Re: ERROR: New-PSDrive : Multiple connections to a server or shared resource by the same user

Thanks! I wanted to make sure you were not experiencing other errors. The use of keyword 'exit' or 'break' tend to give an Windows Form exception error (which is a .NET and not SAPIEN). I would suggest to avoid using them. Follow JVierra recommendation. Make sure to check and remove the drive letter...
by mxtrinidad
Fri Mar 08, 2019 8:05 am
Forum: Windows PowerShell
Topic: ERROR: New-PSDrive : Multiple connections to a server or shared resource by the same user
Replies: 5
Views: 330

Re: ERROR: New-PSDrive : Multiple connections to a server or shared resource by the same user

We need more information.
Please, can you provide the exact error message you are having in your application?
by mxtrinidad
Tue Feb 26, 2019 5:49 pm
Forum: PowerShell GUIs
Topic: Problem with Progress Bar Overlay
Replies: 9
Views: 260

Re: Problem with Progress Bar Overlay

Hum! I posted my comment and didn't send it. In his original code, he was only missing the "$progressbaroverlay1.Step = 1" line within the foreach loop, and that would have solve the issue of the bar not updating. Of course the *.refresh() method is not needed. Of course, there are so many other way...
by mxtrinidad
Thu Feb 21, 2019 9:02 am
Forum: PowerShell Studio
Topic: Change MSI Installation Path
Replies: 2
Views: 819

Re: Change MSI Installation Path

You will need use the "Deployment | Settings (MSI Settings)" Custom Actions.
Here you can create scripts to take action after the installation.

In your case, move the installed application to another folder.

:)
by mxtrinidad
Tue Feb 19, 2019 7:00 am
Forum: PowerShell Studio
Topic: Debug mode doesn't work with long script
Replies: 7
Views: 948

Re: Debug mode doesn't work with long script

We notice you on version 5.6.158.

Please upgrade to the latest version 5.6.159, and see if you get the same issue.
Let us know as soon as possible.