Hi Mike,
I am leveraging some sample code you provided to generate a visio document.
When I call this line "New-VisioShape -Master Server -Label $computername -X 3 -Y 7 -Name $computername" I get constantly errors.
Sorry for the french in the error, but I get this :
ne exception s'est produite.
Au caractère C:\Program Files\WindowsPowerShell\Modules\VisioBot3000\1.1\VisioShape.ps1:53 : 13
-
$DroppedShape=$p.Drop($Master.PSObject.BaseObject,$X,$Y)
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : OperationStopped: (:) [], COMException
- FullyQualifiedErrorId : System.Runtime.InteropServices.COMException
Impossible d’extraire la variable « $DroppedShape », car elle n’a pas été définie. (not defined)
Au caractère C:\Program Files\WindowsPowerShell\Modules\VisioBot3000\1.1\VisioShape.ps1:54 : 13
-
-
- CategoryInfo : InvalidOperation : (DroppedShape:String) [], RuntimeException
- FullyQualifiedErrorId : VariableIsUndefined
Impossible d’extraire la variable « $DroppedShape », car elle n’a pas été définie.
Au caractère C:\Program Files\WindowsPowerShell\Modules\VisioBot3000\1.1\VisioShape.ps1:58 : 9
-
$DroppedShape.Text=$Label
-
- CategoryInfo : InvalidOperation : (DroppedShape:String) [], RuntimeException
I tried several tests, including hard coding values but I get the same result.
I wanted to know if you could advise me, and if I can on my side some more "debug" to find the root cause.
I thought for example about a problem with English/french install conflict.
Thanks a lot.
Regards.
Hi Mike,
I am leveraging some sample code you provided to generate a visio document.
When I call this line "New-VisioShape -Master Server -Label $computername -X 3 -Y 7 -Name $computername" I get constantly errors.
Sorry for the french in the error, but I get this :
ne exception s'est produite.
Au caractère C:\Program Files\WindowsPowerShell\Modules\VisioBot3000\1.1\VisioShape.ps1:53 : 13
Impossible d’extraire la variable « $DroppedShape », car elle n’a pas été définie. (not defined)
Au caractère C:\Program Files\WindowsPowerShell\Modules\VisioBot3000\1.1\VisioShape.ps1:54 : 13
Impossible d’extraire la variable « $DroppedShape », car elle n’a pas été définie.
Au caractère C:\Program Files\WindowsPowerShell\Modules\VisioBot3000\1.1\VisioShape.ps1:58 : 9
I tried several tests, including hard coding values but I get the same result.
I wanted to know if you could advise me, and if I can on my side some more "debug" to find the root cause.
I thought for example about a problem with English/french install conflict.
Thanks a lot.
Regards.