Search found 38 matches

by nirmalks
Tue Mar 26, 2024 5:02 am
Forum: Customer Service
Topic: Windows Form with a service
Replies: 3
Views: 256

Re: Windows Form with a service

In $Action variable I am using below
Invoke-Expression -Command $ScriptBlockNow
And this is where it fails to proceed further. The moment it executes Invoke-Express command it hangs!

Register-ObjectEvent -InputObject $PolicyTimer -EventName Elapsed -SourceIdentifier TimerNew -Action $Action
by nirmalks
Tue Mar 26, 2024 4:58 am
Forum: Customer Service
Topic: Windows Form with a service
Replies: 3
Views: 256

Re: Windows Form with a service

I took your advise and all good now - so it's a service - UI-less. I have one problem tho - Service runs just fine but if there's an error - lets a file doesn't exist as referenced in the code it just hangs or stops. I am using Register-ObjectEvent to create a timer and executing an action defined i...
by nirmalks
Mon Mar 25, 2024 5:02 am
Forum: Customer Service
Topic: Windows Form with a service
Replies: 3
Views: 256

Windows Form with a service

Is there any way to show Windows Form with a PS Service that I created using PowerShell Studio?

I would like to show a Windows Form when user clicks on tray application or we need to create two executables (one for Service and other one for form)?

Thanks,
Nirmal
by nirmalks
Fri Feb 16, 2024 3:26 am
Forum: Customer Service
Topic: PowerShell Studio 2016 and 2024
Replies: 8
Views: 2542

Re: PowerShell Studio 2016 and 2024

>>>The System.Windows.Forms.Button control has no property to control the radius in the latest available .NET 8 incarnation. So that is not a property we could show. But I have seen round buttons in .NET and round panel too. Link here: https://stackoverflow.com/questions/46494861/custom-rounded-butt...
by nirmalks
Fri Feb 16, 2024 3:24 am
Forum: Customer Service
Topic: Buying PS 20224
Replies: 1
Views: 588

Buying PS 20224

I would like to buy PowerShell Studio 2024 using Google Pay but it asks for credit card which I don't have.

I'm buying from India using the UPI Options.

Thanks
Nirmal
by nirmalks
Tue Jan 23, 2024 7:52 pm
Forum: Customer Service
Topic: PowerShell Studio 2016 and 2024
Replies: 8
Views: 2542

Re: PowerShell Studio 2016 and 2024

>>>All controls used by PowerShell are .NET Windows Forms controls. So anything the underlying framework offers can be done. Maybe not in the designer but definitely at runtime. I was curious if I could set the border-radius property for a button or label or supported controls via Studio UI? So ques...
by nirmalks
Mon Jan 22, 2024 11:08 pm
Forum: Customer Service
Topic: PowerShell Studio 2016 and 2024
Replies: 8
Views: 2542

Re: PowerShell Studio 2016 and 2024

>>>Usually things move in relation to each other when scaling factor or resolutions change and elements are not anchored to each other That's what exactly is the issues; Scaling Factor. The reason I continued to use PowerShell Studio 2016 is because its a lightweight application and doesn't eat up m...
by nirmalks
Sat Jan 20, 2024 4:46 am
Forum: Customer Service
Topic: PowerShell Studio 2016 and 2024
Replies: 8
Views: 2542

PowerShell Studio 2016 and 2024

I've used PowerShell Studio 2016 and have been using since then. I want to buy the new version but PSF files configured with 2016 are not compatible with 2024. I downloaded 2024 trial and checked all PSFs but the visual is scattered for most of them. How to solve this problem to continue to use 2024...
by nirmalks
Thu Mar 17, 2016 8:02 am
Forum: PowerShell
Topic: ReadOnly Property
Replies: 15
Views: 7914

Re: ReadOnly Property

Here are two things that are really bothering me:

- When I select a node in Treeview, it flickers
- When I hover mouse over Combobox, it filckers.

It looks like these controls are sending some messages to the system or they refreshes itself.

Thanks,
Nirmal
by nirmalks
Thu Mar 17, 2016 6:51 am
Forum: PowerShell
Topic: ReadOnly Property
Replies: 15
Views: 7914

Re: ReadOnly Property

Yes, you're right, but I can't stop flickering on controls like Combobox and Treeview.

Is there any way to stop flickering for these specific controls?

Thanks again!
Nirmal