Search found 12 matches

by ctrlaltdel
Thu Mar 08, 2018 2:37 pm
Forum: PowerShell GUIs
Topic: Tabbed form help
Replies: 7
Views: 2746

Re: Tabbed form help

Clicked in the center of the tab and it created a block. On the script page I put my code. Then On the design page I put a label1 tool

All it displays is "Label1" and not the code I am trying to get it to display
by ctrlaltdel
Thu Mar 08, 2018 1:47 pm
Forum: PowerShell GUIs
Topic: Tabbed form help
Replies: 7
Views: 2746

Re: Tabbed form help

"They have to go in an event somewhere" Right that is what I am trying to get help with. How do I create an event for a tab? How do I create an event for a tab section and input code into it? In this case, I want it to gather information about the computer from WMI and display it in labels...
by ctrlaltdel
Thu Mar 08, 2018 12:07 pm
Forum: PowerShell GUIs
Topic: Tabbed form help
Replies: 7
Views: 2746

Re: Tabbed form help

Sorry about that, noted for the future as I can't edit the original and I didn't want to start a new thread. OK PSF attached as well as tab1 and tab2 which is the code I want to insert. This is really easy to do when just creating a multi form project, I can not figure out how to create an event for...
by ctrlaltdel
Wed Mar 07, 2018 7:24 am
Forum: PowerShell GUIs
Topic: Tabbed form help
Replies: 7
Views: 2746

Tabbed form help

I have created a Tab Control Form however I can not figure out how to make it display my poweshell code. $computerSystem = Get-CimInstance CIM_ComputerSystem $computerBIOS = Get-CimInstance WIN32_BIOS $computerOS = Get-CimInstance CIM_OperatingSystem $computerCPU = Get-CimInstance CIM_Processor $com...
by ctrlaltdel
Tue Mar 06, 2018 7:57 am
Forum: PowerShell GUIs
Topic: Using LinkLabel to send email with details
Replies: 6
Views: 3207

Re: Using LinkLabel to send email with details

I want the link label to open an outlook email and prepoulate the fields with information that I provide

To: address@domain.com
Subject: New Email from $ENV:UserName on $ENV:ComputerName

Body: Please type your message below
by ctrlaltdel
Tue Mar 06, 2018 7:43 am
Forum: PowerShell GUIs
Topic: Using LinkLabel to send email with details
Replies: 6
Views: 3207

Using LinkLabel to send email with details

I would like to create a LinkLabel to send an email which will open a new email and populate the To, Subject and Body fields. Information to be gathered, current logged on user and computer name. I know how to use WMI to gather information about the computer, just need to know how to integrate it al...
by ctrlaltdel
Tue Sep 05, 2017 11:38 am
Forum: PowerShell GUIs
Topic: Child Form Does not Launch
Replies: 4
Views: 1966

Re: Child Form Does not Launch

OK thanks can you tell me how I do that? I literally don't see any difference between the two buttons.
by ctrlaltdel
Tue Sep 05, 2017 11:25 am
Forum: PowerShell GUIs
Topic: Child Form Does not Launch
Replies: 4
Views: 1966

Child Form Does not Launch

Hi! I am working on designing a form and I am having trouble getting my second child form to launch. Here is my code below, the first button will launch the appropriate child form but the second button does not respond. The child form does exisit in my projects directory. I do not see any red marks ...
by ctrlaltdel
Wed Aug 30, 2017 12:13 pm
Forum: PowerShell GUIs
Topic: Unable to resize labels
Replies: 1
Views: 1974

Unable to resize labels

Product, version and build: PowerShell Studio 2016 32 or 64 bit version of product: 64 Operating system: 32 or 64 bit OS: Windows 10 Pro X64 Hi I am trying to build my first form and I am following this video by Sapien https://www.youtube.com/watch?v=BAi81bOjYlQ . The form I want to build is actuall...
by ctrlaltdel
Wed Mar 08, 2017 2:47 pm
Forum: PowerShell GUIs
Topic: Feeding results to form ListBox
Replies: 3
Views: 1565

Re: Feeding results to form ListBox

You cannot remotely rename a users printers. You can only rename physical printers on the device. Any user can rename an attached printer from the GUI. I never said anything about remote and users are dumb so I don't want to write them a document on how to use the gui I want to write them a script ...