Search found 6188 matches

by Alexander Riedel
Tue Aug 15, 2017 1:17 pm
Forum: PowerShell GUIs
Topic: Combo Box SelectedIndex Changes Automatically
Replies: 17
Views: 182

Re: Combo Box SelectedIndex Changes Automatically

Set a breakpoint in that handler and see where it gets called from
by Alexander Riedel
Tue Aug 15, 2017 11:49 am
Forum: PowerShell GUIs
Topic: Combo Box SelectedIndex Changes Automatically
Replies: 17
Views: 182

Re: Combo Box SelectedIndex Changes Automatically

You have two comboxes. cmb_Role and cmb_Dept. According to your code, if the selection in cmb_Role changes you completely erase and re-populate cmb_Dept.
Which of course will make it by default select the first item in the freshly populate combobox. What did you expect to happen?
by Alexander Riedel
Tue Aug 15, 2017 9:42 am
Forum: PowerShell GUIs
Topic: Combo Box SelectedIndex Changes Automatically
Replies: 17
Views: 182

Re: Combo Box SelectedIndex Changes Automatically

Generally a combo box does not automatically change its selection. I am pretty sure you have something in your code that does that.
Maybe you can post the code of the event handler you call when the combo box loses focus?
by Alexander Riedel
Tue Aug 15, 2017 8:13 am
Forum: PowerShell Studio
Topic: Buttons stop working after build
Replies: 6
Views: 123

Re: Buttons stop working after build

In that case you will need to post some code. There is nothing obvious sticking out.
Generally problems like this involve scope problems, uninitialized variables or access denied issues (for files).
Maybe you can make a sample project with just the clear form fields handler and post that here.
by Alexander Riedel
Mon Aug 14, 2017 4:18 pm
Forum: PowerShell Studio
Topic: Buttons stop working after build
Replies: 6
Views: 123

Re: Buttons stop working after build

The critical pieces of information here would be:
1. What do the buttons do?
2. What error messages do you get, if any?
3. What packaging options do you use to build an executable?
4. All buttons don't work or just some?
by Alexander Riedel
Mon Aug 14, 2017 4:12 pm
Forum: PrimalScript
Topic: PrimalScript 3 fails to install
Replies: 1
Views: 199

Re: PrimalScript 3 fails to install

Yeah, 3.1, that was somewhere 2003 or 2004. Sorry but that really is no longer supported and most likely will not operate on anything modern.
by Alexander Riedel
Mon Aug 14, 2017 4:08 pm
Forum: PowerShell GUIs
Topic: [Solved]Unwanted Text in Output
Replies: 4
Views: 96

Re: Unwanted Text in Output

Put this in your script near the top:

$progressPreference = 'silentlyContinue'
by Alexander Riedel
Mon Aug 14, 2017 4:15 am
Forum: Wish List and Feature Requests
Topic: WPF controls in PSS
Replies: 5
Views: 168

Re: WPF controls in PSS

Hmm, sorry, not sure what happened. The best person for this is out of office this week. I will make sure to send emails until he answers :D
by Alexander Riedel
Thu Aug 10, 2017 6:26 am
Forum: PrimalScript
Topic: Ampersand not allowed in vbscript exe running in PS
Replies: 9
Views: 1605

Re: Ampersand not allowed in vbscript exe running in PS

Windows 2003 is equivalent to Windows XP. We really do not support or test for this platform anymore. I did a quick test, packaging a Hello World VBScript file and ran it on an old XP 32 bit VM. It ran just fine. So I am quite certain that the problem lies with your specific machine, but I am at a l...
by Alexander Riedel
Thu Aug 10, 2017 6:21 am
Forum: PowerShell Studio
Topic: Symantec Antivirus Alerts for Heur.AdvML.B on Script Engines
Replies: 1
Views: 109

Re: Symantec Antivirus Alerts for Heur.AdvML.B on Script Engines

You need to submit the affected files to your anti-virus vendor. While we continuously scan our software and this is very likely once again a Symantec issue and a false positive, we cannot know what happens on your machine. Please understand that we cannot submit our files to the Symantec to clear t...