Search found 11056 matches

by jvierra
Tue Jul 18, 2017 12:57 pm
Forum: Windows PowerShell
Topic: datagridview cell reading
Replies: 13
Views: 167

Re: datagridview cell reading

You have to name your columns in the designer. A column has a header and a name. Both need to be set.
by jvierra
Tue Jul 18, 2017 12:32 pm
Forum: Windows PowerShell
Topic: datagridview cell reading
Replies: 13
Views: 167

Re: datagridview cell reading

$row.Cells['Column1'].Value
by jvierra
Tue Jul 18, 2017 12:07 pm
Forum: Customer Service
Topic: Code formatter gone!
Replies: 4
Views: 206

Code formatter gone!

On the forums - The code format dialog is now missing. Only the basic toolbar is available. Why?

We cannot longer select the code format. Last week the formatter stopped retaining left indents. Today it is totally gone.
by jvierra
Tue Jul 18, 2017 11:57 am
Forum: Windows PowerShell
Topic: datagridview cell reading
Replies: 13
Views: 167

Re: datagridview cell reading

Have you tried this:

foreach($cell in $row.Cells){
$cell.Value
}
by jvierra
Mon Jul 17, 2017 4:58 pm
Forum: PowerShell GUIs
Topic: Form Applications runs in Sapien, but EXE shows syntax errors
Replies: 1
Views: 52

Re: Form Applications runs in Sapien, but EXE shows syntax errors

This is usually caused by a missing closure in the lines before the first error.

Run this as a PS1 file and you will possibly get better information. Copy the code to the clipboard and paste at a PS CLI prompt.
by jvierra
Mon Jul 17, 2017 9:46 am
Forum: PowerShell GUIs
Topic: How to use the textbox to gather input for a variable?
Replies: 10
Views: 142

Re: How to use the textbox to gather input for a variable?

If you don't understand scope and passing variable to and from functions or how to use a complex object like a form then you are new to PowerShell which is why I recommend taking the time to actually learn PowerShell at a technical level. Too many users today have learned PowerShell in a very limite...
by jvierra
Mon Jul 17, 2017 9:37 am
Forum: PowerShell GUIs
Topic: How to use the textbox to gather input for a variable?
Replies: 10
Views: 142

Re: How to use the textbox to gather input for a variable?

If you are going to use forms then it is critical that you become proficient in PowerShell and also in Windows Forms. Search for blogs that discuss using FOrms and rad the MS documentation for forms and controls. You can find many books on PowerShell that will teach you how to correctly use the scri...
by jvierra
Sun Jul 16, 2017 1:15 am
Forum: PowerShell GUIs
Topic: Forcing Powershell GUI .exe to run under version 2
Replies: 1
Views: 61

Re: Forcing Powershell GUI .exe to run under version 2

You cab set the target version of the engine in the settings for your build. "Deploy" tab, "Packager" "Settings". Select Engine for V2 host.

To force forms to be built for V2 engine set the platform settings (Home tab) to build for V2 - 64 bit.
by jvierra
Sat Jul 15, 2017 3:05 pm
Forum: PowerShell GUIs
Topic: Embed html5 video in browser control
Replies: 8
Views: 77

Re: Embed html5 video in browser control

That rule may be relaxed with the browser control. Other rules are enforced for remote sites.

Only IE 11 fully supports HTML 5.
by jvierra
Sat Jul 15, 2017 2:25 pm
Forum: PowerShell GUIs
Topic: Embed html5 video in browser control
Replies: 8
Views: 77

Re: Embed html5 video in browser control

Here is that tag:

<meta http-equiv="X-UA-Compatible" content="IE=11" />