That worked great, thank you! Now to understand the why. I can research some more on my end.
How would you write the modified values back to xml? Can I make this loop if there are more than one value returned?
Search found 19 matches
- Wed Mar 27, 2013 3:39 pm
- Forum: PowerShell GUIs
- Topic: XML to Datagrid
- Replies: 11
- Views: 11007
- Wed Mar 27, 2013 2:54 pm
- Forum: PowerShell GUIs
- Topic: XML to Datagrid
- Replies: 11
- Views: 11007
Re: XML to Datagrid
Here is the XML <watch_folders> <check_interval>5</check_interval> <multithread>0</multithread> <watch_folder_pair> <error_properties>C:\Program Files (x86)\something\comp_props.dat</error_properties> <log_file>C:\Program Files (x86)\something\watchedfolder.log</log_file> <processed_action>delete</p...
- Wed Mar 27, 2013 1:30 pm
- Forum: PowerShell GUIs
- Topic: XML to Datagrid
- Replies: 11
- Views: 11007
Re: XML to Datagrid
Thank you for your responses. I modified the code a bit to use an array as so: function get-configxml { $array = New-Object System.Collections.ArrayList [xml]$fileConfig = (get-content "c:\temp\WatchedFolder.cfg") $script:configInfo = ($fileConfig.watch_folders.watch_folder_pair | select i...
- Wed Mar 27, 2013 11:38 am
- Forum: PowerShell GUIs
- Topic: XML to Datagrid
- Replies: 11
- Views: 11007
XML to Datagrid
I would like to display xml data in a datagrid and possible write the changes back to the xml. I found some examples on how to do this using arrays but I cannot get it to work in my code. function get-configxml { [xml]$fileConfig = (get-content "c:\temp\WatchedFolder.cfg") $script:configIn...
- Mon Mar 04, 2013 11:13 am
- Forum: PrimalForms
- Topic: Confirmation box?
- Replies: 3
- Views: 25232
Re: Confirmation box?
Where can I get more info on the message box? I like your example but there isn\'t a way for the user to cancel out of it.
- Mon Mar 04, 2013 10:50 am
- Forum: PrimalForms
- Topic: Confirmation box?
- Replies: 3
- Views: 25232
Confirmation box?
How could I make a simple confirmation box? I have an action tied to a button but I would like the user to confirm the action before it takes place. Thank you
- Wed Feb 10, 2010 7:19 am
- Forum: Customer Service
- Topic: What is the status of Primal Packager?
- Replies: 1
- Views: 2320
What is the status of Primal Packager?
What is the status of Primal Packager? It was supposed to be released by now...
- Wed Dec 02, 2009 7:22 am
- Forum: PrimalForms
- Topic: Packaging
- Replies: 2
- Views: 3175
Packaging
Correct, I wish you guys would release the packager already!
- Wed Dec 02, 2009 7:13 am
- Forum: PrimalForms
- Topic: Packaging
- Replies: 2
- Views: 3175
Packaging
I made a functioning form using Primal Forms and want to give it out to several of my users but cannot figure out how to do it. I tried using the 'Package' feature but it doesn't produce anything. The last line on the log says package complete but no package get created.
- Wed Nov 18, 2009 7:55 am
- Forum: PrimalForms
- Topic: PrimalForm and Exchange Management Console
- Replies: 25
- Views: 18818
PrimalForm and Exchange Management Console
Looks like the new version did the trick. Thank you.