Search found 14759 matches
- Mon Apr 19, 2021 4:16 pm
- Forum: PowerShell
- Topic: API Key security
- Replies: 3
- Views: 82
Re: API Key security
So what is not working? You cant use an encrypted string without decrypting it. In an EXE this would happen automatically if the strings are stored inside the code as a global.
- Mon Apr 19, 2021 1:12 pm
- Forum: PowerShell
- Topic: API Key security
- Replies: 3
- Views: 82
Re: API Key security
I thi8nk you want to convert the token and not the ID. A token is usually only good for one session so it cannot be persisted and reused. Check the documentation for teh API to understand how they use tokens and how to use them.
- Mon Apr 19, 2021 11:53 am
- Forum: PowerShell GUIs
- Topic: Adding child nodes to treeview programmatically
- Replies: 4
- Views: 316
Re: Adding child nodes to treeview programmatically
I know it is not explicit but "tree" means nodes within nodes. It is an old structural reference meaning that things are arranged in a hierarchy that branches. Also the MSDN documentation is always where to go for detailed information about all controls as there are all properties and methods listed...
- Thu Apr 15, 2021 5:14 pm
- Forum: PowerShell GUIs
- Topic: Datagridview Filtering and operators in column name
- Replies: 9
- Views: 622
Re: Datagridview Filtering and operators in column name
Here is how to search for a value in a column:
- $btnSearch_Click = {
- $rows = $dgvProjects.Rows |
- Where-Object{$_.Cells['OU'].Value = $textBox1.Text}
- $rows | Write-Host
- }
- Thu Apr 15, 2021 5:02 pm
- Forum: PowerShell GUIs
- Topic: Datagridview Filtering and operators in column name
- Replies: 9
- Views: 622
Re: Datagridview Filtering and operators in column name
Unfortunately that is not what your code says. It says the column name comes from the search box. The column rows are filled with "Not Member".
- Thu Apr 15, 2021 3:08 pm
- Forum: PowerShell GUIs
- Topic: Adding child nodes to treeview programmatically
- Replies: 4
- Views: 316
Re: Adding child nodes to treeview programmatically
The following tutorial will help you to learn how to use the TreeView control which is one of the most complex controls in the toolbox and is always a challenge for anyone who has limited or no experience with WinForms. Take time and try all of the example code until you understand what the control ...
- Thu Apr 15, 2021 3:01 pm
- Forum: PowerShell GUIs
- Topic: Adding child nodes to treeview programmatically
- Replies: 4
- Views: 316
Re: Adding child nodes to treeview programmatically
Each "node" has a "Nodes" property which is where to place children of a node.
Here is one good example:
Here is one good example:
- Wed Apr 14, 2021 2:24 pm
- Forum: PowerShell GUIs
- Topic: WebBrowser localstorage has been disable issue.
- Replies: 4
- Views: 587
Re: WebBrowser localstorage has been disable issue.
One thing to note, when using the WebBrowser control. The control forces the process to run more isolated for security purposes. I suspect it is possibly the AV software or some enforced IE security. You can also easily use Net Ping class. Pinging the target is quite unnecessary because Invoke-Comma...
- Wed Apr 14, 2021 9:44 am
- Forum: PowerShell GUIs
- Topic: Datagridview Filtering and operators in column name
- Replies: 9
- Views: 622
Re: Datagridview Filtering and operators in column name
I still cannot understand the issue. Why are you creating a column name with the name of an OU? You have to understand that it is hard to impossible to understand something when there is so much vague and disconnected bits of information. Remember that we cannot see what you are doing or know what i...
- Wed Apr 14, 2021 3:09 am
- Forum: PowerShell GUIs
- Topic: Datagridview Filtering and operators in column name
- Replies: 9
- Views: 622
Re: Datagridview Filtering and operators in column name
it has to be quoted, Still, I have no idea what you are trying to do. When you use a DataTable just use the DataView search methods. There is no filter anywhere and why are you using data for a column name? Also, when you write code then only write what is necessary. You are doing things on supersti...