Search found 285 matches

by localpct
Wed Aug 07, 2019 2:00 pm
Forum: PowerShell GUIs
Topic: Copying whole row of DGV
Replies: 7
Views: 131

Re: Copying whole row of DGV

Snag_383b91.png
Snag_383b91.png (18.59 KiB) Viewed 113 times
by localpct
Wed Aug 07, 2019 1:35 pm
Forum: PowerShell GUIs
Topic: Copying whole row of DGV
Replies: 7
Views: 131

Re: Copying whole row of DGV

Those aren't producing what my co workers would like, especially this one $toolstripmenuitem1_Click={ $row = $datagridview1.SelectedRows | ConvertTo-Csv [System.Windows.Forms.clipboard]::SetText($row) } This was the output from the paste lol... I'll just stick with what I have #TYPE System.Windows.F...
by localpct
Wed Aug 07, 2019 12:26 pm
Forum: PowerShell GUIs
Topic: Copying whole row of DGV
Replies: 7
Views: 131

Re: Copying whole row of DGV

I didn't think, but I could just do this

Code: Select all

$copyToolStripMenuItem_Click={
#TODO: Place custom script here
[System.Windows.Forms.clipboard]::SetText($datagridview1.CurrentRow.Cells[0].Value +' '+ $datagridview1.CurrentRow.Cells[1].Value + ' ' + $datagridview1.CurrentRow.Cells[2].Value)
}
by localpct
Wed Aug 07, 2019 11:52 am
Forum: PowerShell GUIs
Topic: Copying whole row of DGV
Replies: 7
Views: 131

Copying whole row of DGV

Hello, I'm trying to give my users the ability to copy the whole row of a DGV using a context menu I've found this solution which works okay but, the data is not trimmed and I was wondering how would I do that if ($datagridview1.GetCellCount('Selected')) { $dataObj = $datagridview1.GetClipboardConte...
by localpct
Tue Aug 06, 2019 3:38 pm
Forum: Windows PowerShell
Topic: OneDrive and PowerShell
Replies: 11
Views: 502

Re: OneDrive and PowerShell

Yup, we should be okay
Just need someone else to test except me lol
by localpct
Tue Aug 06, 2019 2:36 pm
Forum: Windows PowerShell
Topic: OneDrive and PowerShell
Replies: 11
Views: 502

Re: OneDrive and PowerShell

With the way our sharepoint admins are, I'd much rather not.. I do appreciate it

I did end up just using the free azure for a year as I'm hosting a minimal count of files with less than 20 KB in size on a blob storage

All tested and ready to distribute now :D
by localpct
Tue Aug 06, 2019 11:53 am
Forum: Windows PowerShell
Topic: OneDrive and PowerShell
Replies: 11
Views: 502

Re: OneDrive and PowerShell

Looks like I'm going to get stuck at

"needs permission to access resources in your organization that only an admin can grant. Please ask an admin to grant permission to this app before you can use it."

we're still new to Azure and they aren't around so I guess I'm stuck for now
by localpct
Tue Aug 06, 2019 11:42 am
Forum: Windows PowerShell
Topic: OneDrive and PowerShell
Replies: 11
Views: 502

Re: OneDrive and PowerShell

Hi, Thanks and I'm working through this OneDrive\Graph API\Azure deal

this application is shared across multiple people and I don't wanna keep it on my PC :D
by localpct
Tue Aug 06, 2019 10:50 am
Forum: Windows PowerShell
Topic: OneDrive and PowerShell
Replies: 11
Views: 502

Re: OneDrive and PowerShell

Hi,
Sorry if I wasn't clear
I'd like the application to be able to read from my CSV file that's on my OneDrive
by localpct
Tue Aug 06, 2019 8:44 am
Forum: Windows PowerShell
Topic: OneDrive and PowerShell
Replies: 11
Views: 502

OneDrive and PowerShell

I've created a CSV file that has our models of PCs that I use in a switch statement I'd like to upload that to OneDrive for Business in my organization so that way I can rely on the cloud, thus having the ability to update just the file and not the application whenever a new model comes out. It's lo...