Search found 16 matches
- Sat Nov 05, 2016 2:26 pm
- Forum: VBScript
- Topic: VBS Default Printing Failing
- Replies: 7
- Views: 21972
Re: VBS Default Printing Failing
As a layman it is difficult to do so on my own!
- Sat Nov 05, 2016 2:25 pm
- Forum: VBScript
- Topic: VBS Default Printing Failing
- Replies: 7
- Views: 21972
Re: VBS Default Printing Failing
Would you please explain the insertion of this script with the help of visuals?jvierra wrote:Try this:
Set WSHNetwork = CreateObject("WScript.Network")
WSHNetwork.SetDefaultPrinter "HP Printer"
- Sat Nov 05, 2016 2:09 pm
- Forum: PowerShell GUIs
- Topic: display output in window?
- Replies: 16
- Views: 9931
Re: display output in window?
Nice sharing!jvierra wrote:Here is a blog on how to use the DataGridView:
https://www.sapien.com/blog/2015/01/19/ ... -csv-data/
- Sat Nov 05, 2016 2:07 pm
- Forum: PowerShell GUIs
- Topic: Save Data on Reboot
- Replies: 4
- Views: 2627
Re: Save Data on Reboot
Thanks makes a good sense!jvierra wrote:If you place all of your code i n a form you should get the $form1FormClosing() event on a shutdown. You must no be in a loop in the form for this to work so don't use loops.
- Fri Nov 04, 2016 2:45 pm
- Forum: PowerShell
- Topic: Load DLL Assembly so that it is portable
- Replies: 3
- Views: 5422
Re: Load DLL Assembly so that it is portable
The assembly on the remote system may be incompatible, may not be registered or may be missing support files. Start by running the load commands at a prompt on the remote system and look at the entire error output. Assemblies (DLLs) loaded by Import-Module must be in the $env:PsModulePath or must b...
- Fri Nov 04, 2016 2:42 pm
- Forum: PowerShell GUIs
- Topic: Imagelist with AddRange from a CSV file
- Replies: 5
- Views: 3461
Re: Imagelist with AddRange from a CSV file
$listview1.LargeImageList = $imagelist1 Add-ListViewItem -ListView $listview1 -Items $apps -Group $listview1.Groups[0] You will have to manually assign the images or add the items one at a time and assign the correct imageindex. Here is a three part article on how to use the listview so that it wor...