Search found 9 matches
- Thu May 17, 2018 8:58 am
- Forum: PowerShell GUIs
- Topic: dynamically create gui elements based on csv contents.
- Replies: 10
- Views: 3749
Re: dynamically create gui elements based on csv contents.
yes i did look at it, didnt seem to apply for what im going for. (perhaps im just too blind to see how to use it in my project) Im not using any sub forms or anything, this is all in one window. Open the app, it imports the CSV, gets images and external data, shows each applications/scripts data in ...
- Thu May 17, 2018 8:44 am
- Forum: PowerShell GUIs
- Topic: dynamically create gui elements based on csv contents.
- Replies: 10
- Views: 3749
Re: dynamically create gui elements based on csv contents.
yes in a stactic panel I made in the form this will work just fine. ill try and make convey this better, I can make it do that if i create and set a panel, with an image box etc. I can bake 10 panels like this and assign the data from the first 10 lines of the CSV But this is all static. I need to g...
- Thu May 17, 2018 8:20 am
- Forum: PowerShell GUIs
- Topic: dynamically create gui elements based on csv contents.
- Replies: 10
- Views: 3749
Re: dynamically create gui elements based on csv contents.
there we go ^^
- Thu May 17, 2018 8:12 am
- Forum: PowerShell GUIs
- Topic: dynamically create gui elements based on csv contents.
- Replies: 10
- Views: 3749
Re: dynamically create gui elements based on csv contents.
pictures speak a thousand words right? (i hope) https://preview.ibb.co/hze4gJ/C8_B94882_9608_4391_AA9_D_9_CA0_E5_CE4_E47.jpg so im wanting image url/file inserted as source for the image box, name, version, details etc in to the relevant labels/text blocks and depending if already installed locally ...
- Thu May 17, 2018 6:58 am
- Forum: PowerShell GUIs
- Topic: dynamically create gui elements based on csv contents.
- Replies: 10
- Views: 3749
dynamically create gui elements based on csv contents.
Hi guys. I want to put together a loader/manager tool for lots of scripts and tools we use. I plan on having all the info for each tool to be sourced from a csv file out on the network some where. with this data populate my form with a listing for each row. similar to a product listing on an online ...
- Mon Mar 12, 2018 4:52 pm
- Forum: PowerShell GUIs
- Topic: how to maximise and return a form to windowed state?
- Replies: 5
- Views: 5209
Re: how to maximise and return a form to windowed state?
OK I've got this far $buttonMaximize_Click={ $maxlocation = [System.Windows.Forms.SystemInformation]::WorkingArea.Location $maxsize = [System.Windows.Forms.SystemInformation]::WorkingArea.Size $form1.Location = $maxlocation $form1.Size = $maxsize } but that will breake $form1.WindowState = 'Normal' ...
- Mon Mar 12, 2018 4:09 pm
- Forum: PowerShell GUIs
- Topic: how to maximise and return a form to windowed state?
- Replies: 5
- Views: 5209
Re: how to maximise and return a form to windowed state?
Perfect thanks! I was getting lost with trying to use derivatives of Set-WindowStyle -Style MAXIMIZE -MainWindowHandle (Get-Process -Id $pid).MainWindowHandle $MainForm.WindowState = 'Minimized' $MainForm.WindowState = 'Normal' This worked nicely for the job. however $MainForm.WindowState = 'Maximiz...
- Mon Mar 12, 2018 2:34 pm
- Forum: PowerShell GUIs
- Topic: how to maximise and return a form to windowed state?
- Replies: 5
- Views: 5209
how to maximise and return a form to windowed state?
HI, I currently have a border-less form and have gone about recreating my own title bar controls. So far i can drag the window around (that one took me a whole day to figure out), close and minimise. I can maximise to full screen (akin to F11 in a web browser) but cant seems to figure out how to do ...
- Wed Mar 07, 2018 1:24 pm
- Forum: PowerShell GUIs
- Topic: Using LinkLabel to send email with details
- Replies: 6
- Views: 3192
Re: Using LinkLabel to send email with details
so something like this: $linklabel1_LinkClicked=[System.Windows.Forms.LinkLabelLinkClickedEventHandler]{ $Outlook = New-Object -ComObject Outlook.Application $Mail = $Outlook.CreateItem(0) $Mail.To = "person@company.com" $Mail.bcc = "person2@company.com" $Mail.cc = "person3@...