Quantcast
Channel: SAPIEN Forums
Browsing all 427 articles
Browse latest View live

PowerShell • Concatenate two strings as $progressbar name

Hi,In a loop I'm trying to concatenate two strings to be used as progressbar name to set (for each progressbar) the maximum value (from a counter):My progressbar names are $progressbarDesktop,...

View Article


PowerShell • Re: Concatenate two strings as $progressbar name

You only show one progress bar in this code and you are overriding it with a string. To set the name of the control, you would do something like this:$progressbar.Name = <value>You may find the...

View Article

PowerShell Studio • Re: Invalid Assemblies Added To Compiled Run Script

Please try service build 5.8.244 and let me know if you are still experiencing this issue.Statistics: Posted by brittneyr — Thu Jun 13, 2024 7:40 am

View Article

PowerShell Studio • Re: Adding Comment-Based Script Help

Please try service build 5.8.244 and let me know if you are still experiencing this issue.Statistics: Posted by brittneyr — Thu Jun 13, 2024 7:41 am

View Article

PowerShell GUIs • Combobox with multiple columns

Hello,I'm trying to create a combo box using the Designer, but I want 2 or more columns to be displayed when the drop-down list is expanded. How can I do this?Unfortunately I can't find anything...

View Article


Image may be NSFW.
Clik here to view.

PowerShell Studio • PowerShell Encoding Selection

To help you better we need some information from you.*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we...

View Article

PowerShell Studio • Re: PowerShell Encoding Selection

Technically a Windows-1252 file is identical with a UTF-8 file, provided there are no encoded characters. So in that sense, in the absence of any special characters, both indicators are correct, just...

View Article

Former and Future Customers - Questions • Cannot initialize PowerShell engine...

I have absolutely similar problem - viewtopic.php?t=15860 and viewtopic.php?t=16684PS Studio - 5.8.244 (trial)OS - Windows 11 Pro 22631.37.37(x64)Region - Ukraine.PS Runtime and PS Studio installed in...

View Article


PowerShell GUIs • module malfunctions after compilation

Hello,I am confronted with a strangeness.I use: #requires -Modules xxx at the start of my script.It works perfectly when I run the script from Powershell studio.However, once transformed into an...

View Article


PowerShell • & Symbol Issues

Trying to figure out why this doesn't work, I know it is angry at line 1 and line 7 for the & symbols but I don't have an answer on how to fix it?You can see the original post for this, the code...

View Article

PowerShell • Re: & Symbol Issues

This is VBScript, not PowerShell.Statistics: Posted by Alexander Riedel — Mon Jun 24, 2024 8:34 am

View Article

Former and Future Customers - Questions • Re: Cannot initialize PowerShell...

When you attempt to open your projects, what errors are you getting?Statistics: Posted by brittneyr — Tue Jun 25, 2024 7:24 am

View Article

PowerShell GUIs • Re: module malfunctions after compilation

The modules specified with your #requires statement would throw a terminating error if the modules cannot be imported. Is this a module installed in the $env:PSModulePath? Is this module something you...

View Article


PowerShell GUIs • Re: Truncated Output in form

Can I extend the length of each line of output once I've exported the script as a WinForm in PS Studio 24?Statistics: Posted by Emanayer — Tue Jun 25, 2024 6:58 pm

View Article

Image may be NSFW.
Clik here to view.

PowerShell Studio • Deploy » Export to File: Disable "overwrite?"...

Product: PowerShell Studio 2024 (64 Bit)Build: v5.8.244OS: Windows 10.0.19045PS Version(s): 5.1.19041.1, 7.4.3HelloI have two simple questions: 1. Can we call Deploy » Export to File by a command...

View Article


PowerShell Studio • Re: Deploy » Export to File: Disable...

There is a tool included in PowerShell Studio called SAPIENCommandLine for building from the command line.It can be called using the following parameters:SAPIENCommandLine.exe /BUILDSCRIPT <form or...

View Article

PowerShell GUIs • Re: windowform background color to rgb or hex value

You can get set rbg colors using code similar to the following:Code: $Form.BackColor = [System.Drawing.Color]::FromArgb([int],[int],[int])You can set hex colors using the following:Code:...

View Article


PowerShell Studio • Windows Forms missing assemblies

Product, version and build: PowerShell Studio 2024 5.8.245Operating system: Win 11 v22H2PowerShell version(s):5.1.22621.3672*** Please add details and screenshots as needed below. ***1) Create...

View Article

PowerShell Studio • Re: Windows Forms missing assemblies

We are looking into this and will get back to you soon.Statistics: Posted by brittneyr — Wed Jun 26, 2024 2:33 pm

View Article

Image may be NSFW.
Clik here to view.

PowerShell Studio • Packager set to use PowerShell 7.4.2, but exe tries to...

Product: PowerShell Studio 2024 (64 Bit)Build: v5.8.244OS: Windows 10.0.19045PS Version(s): 5.1.19041.1, 7.4.3Helloas you can see in the screenshot below, we have this strange situation:1) In the...

View Article
Browsing all 427 articles
Browse latest View live