Search found 48 matches

by DrewEaston
Wed Aug 21, 2019 2:35 am
Forum: PowerShell Studio
Topic: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable
Replies: 7
Views: 3573

Re: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable

Hi Alex, Good to hear from you again. I only put the $dataTableObject.Count into the Watch panel because I was having this display problem when I was Debugging a script. I was NOT having the problem all the time. I did NOT know that it would cause that problem. Now I know the real cause and I will o...
by DrewEaston
Tue Aug 20, 2019 1:39 pm
Forum: PowerShell Studio
Topic: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable
Replies: 7
Views: 3573

Re: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable

I do hope you can find something.
It is a bummer that even .GetType() causes this to happen.
If that would work without breaking anything then you guys/gals could do something.
I hope you have more tricks up your sleeves. :)
by DrewEaston
Mon Aug 19, 2019 10:34 pm
Forum: PowerShell Studio
Topic: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable
Replies: 7
Views: 3573

Re: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable

Hi Brittney,

OK, are you trying to say that there is nothing SAPIEN can do about this?

If so then this is just informational for those who also experience this effect.
by DrewEaston
Mon Aug 19, 2019 1:00 pm
Forum: PowerShell Studio
Topic: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable
Replies: 7
Views: 3573

Re: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable

For anyone who is wondering what OK looks like and what broken looks like:

This is OK:
DataTable Display is as expected
DataTable Display is as expected
2019.08.19_DataTable_Display_OK.png (49.02 KiB) Viewed 3555 times

This is broken:
DataTable Display broken
DataTable Display broken
2019.08.19_DataTable_Display_Broken.png (33.68 KiB) Viewed 3555 times
by DrewEaston
Mon Aug 19, 2019 11:21 am
Forum: PowerShell Studio
Topic: Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable
Replies: 7
Views: 3573

Watch panel evaluation of the result from ConvertTo-DataTable breaks use of DataTable

Product, version and build: PowerShell Studio 2019, 5.6.167 (and earlier versions) 32 or 64 bit version of product: 64bit Operating system: Windows 7 Home Premium and Windows 10 Enterprise 32 or 64 bit OS: both 64bit Hi all, When I first saw this happening I had NO idea what was causing it. Now that...
by DrewEaston
Thu Aug 08, 2019 9:49 am
Forum: PowerShell GUIs
Topic: Formatting cells of a DataGridView best place for the code?
Replies: 12
Views: 4907

Re: Formatting cells of a DataGridView best place for the code?

Hi jvierra,

Thanks again that experience that you are share is the value of GOLD.
I will use that, that a somewhat of a habit coming from VBS I have not programmed in C# and I have not programmed in C since 2002. Mainly java and other languages.
by DrewEaston
Wed Aug 07, 2019 11:04 am
Forum: PowerShell GUIs
Topic: Formatting cells of a DataGridView best place for the code?
Replies: 12
Views: 4907

Re: Formatting cells of a DataGridView best place for the code?

Hi jvierra, SUPER thanks for the help and tips. This will make me a MORE effective programmer with Windows Forms. Using your examples I was able to get the formatting working as I need it. In case others are looking for an example as I was, here is what I build based on your example and the MSDN hel...
by DrewEaston
Wed Jul 17, 2019 1:43 pm
Forum: PowerShell GUIs
Topic: Problem getting the current BackColor of a textbox object
Replies: 17
Views: 7254

Re: Problem getting the current BackColor of a textbox object

Hi Everyone, Thanks for all the info. The reason why I opened this incident was because when I tried the call: $previousBackColor = $textbox1.BackColor in a specific form at work I was getting an error with the assignment and again when I tried to reassign it back. (shame on me I did NOT make a note...
by DrewEaston
Wed Jul 17, 2019 1:11 pm
Forum: PowerShell GUIs
Topic: Problem getting the current BackColor of a textbox object
Replies: 17
Views: 7254

Re: Problem getting the current BackColor of a textbox object

Is it even possible to get windows to give us this value back?
by DrewEaston
Wed Jul 17, 2019 12:53 pm
Forum: PowerShell GUIs
Topic: Problem getting the current BackColor of a textbox object
Replies: 17
Views: 7254

Re: Problem getting the current BackColor of a textbox object

Hi Alex, Thanks for that info but that does not show me how to get the information directly from a textbox itself. That only creates a new color object and the assignment: $textbox1.BackColor = 'Green' does the same thing. What I would like to know is how I get the equivilent so: $previousBackColor ...