A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Visio with Remote Desktop



 
 
Thread Tools Display Modes
  #1  
Old November 17th, 2006, 03:46 AM posted to microsoft.public.visio.general
Ian
external usenet poster
 
Posts: 485
Default Visio with Remote Desktop

I want to add to the web pages published through Visio so that if I click on
a server it will remote desktop to it. Can anyone tell me if this is
possible. I have done it for telnet and VNC before.

Also do you know if there is a way to put a button onto the webpage to issue
a command to the servers in a rack (for instance: shutdown).

Ian.
  #2  
Old November 17th, 2006, 11:53 AM posted to microsoft.public.visio.general
Al Edlund
external usenet poster
 
Posts: 581
Default Visio with Remote Desktop

I use this to get to a terminal services session, don't know how it would
work from a web site.
Regarding doing a server shutdown, check out the scripting center on technet
for wmi scripts.

al


' We may want to work with something that supports terminal services

Public sub TermServeToTarget(byval visShape as visio.shape)

Dim visCell As Visio.Cell
Dim wsh ' create a variable for the script shell
Dim strCommand as string

' build the command preface
strCommand = ""c:\windows\system32\mstsc.exe /v:"
' check for custom property, if there get ip address if not get out
if visShape.CellExists("prop.IpAddress",False) then
Set visCell = visShape.Cells("prop.IpAddress")
strCommand = strCommand & visCell.Value
strCommand = strCommand & " /console"
else

Msgbox"counldn't find custom property"
exit sub
end if

' create the script shell environment
Set wsh = CreateObject("wscript.shell")

' now execute the command that we built
wsh.Run (strCommand)

End Sub




"Ian" wrote in message
...
I want to add to the web pages published through Visio so that if I click
on
a server it will remote desktop to it. Can anyone tell me if this is
possible. I have done it for telnet and VNC before.

Also do you know if there is a way to put a button onto the webpage to
issue
a command to the servers in a rack (for instance: shutdown).

Ian.



  #3  
Old November 17th, 2006, 08:30 PM posted to microsoft.public.visio.general
Chris Roth [MVP]
external usenet poster
 
Posts: 254
Default Visio with Remote Desktop

Al,

Is there a way to build a "pure hyperlink" that links to terminal server and
what-not? That's how I interpreted Ian's question.

If he could build a hyperlink, then the Visio export-to-web links would
still function.


--

Chris Roth
Visio MVP

Free Visio shapes:
http://www.visguy.com/category/shapes
Visio programming info:
http://www.visguy.com/category/programming/
Other Visio resources:
http://www.visguy.com/visio-links/



"Al Edlund" wrote in message
...
I use this to get to a terminal services session, don't know how it would
work from a web site.
Regarding doing a server shutdown, check out the scripting center on
technet for wmi scripts.

al


' We may want to work with something that supports terminal services

Public sub TermServeToTarget(byval visShape as visio.shape)

Dim visCell As Visio.Cell
Dim wsh ' create a variable for the script shell
Dim strCommand as string

' build the command preface
strCommand = ""c:\windows\system32\mstsc.exe /v:"
' check for custom property, if there get ip address if not get out
if visShape.CellExists("prop.IpAddress",False) then
Set visCell = visShape.Cells("prop.IpAddress")
strCommand = strCommand & visCell.Value
strCommand = strCommand & " /console"
else

Msgbox"counldn't find custom property"
exit sub
end if

' create the script shell environment
Set wsh = CreateObject("wscript.shell")

' now execute the command that we built
wsh.Run (strCommand)

End Sub




"Ian" wrote in message
...
I want to add to the web pages published through Visio so that if I click
on
a server it will remote desktop to it. Can anyone tell me if this is
possible. I have done it for telnet and VNC before.

Also do you know if there is a way to put a button onto the webpage to
issue
a command to the servers in a rack (for instance: shutdown).

Ian.





  #4  
Old November 18th, 2006, 02:16 PM posted to microsoft.public.visio.general
Al Edlund
external usenet poster
 
Posts: 581
Default Visio with Remote Desktop

Chris,
terminal server client doesn't like a web-call interface, it prefers to
instantiate itself as a full screen operation from a command line. For some
of the operations stuff you can fudge around it using a telnet session to
the server/workstation and then execute task specific shell commands (I
often use the netsh). That get's a little hairy because what comes back is
an ansi character encoded stream (It's trying to format an 80x40(?)
character screen) so you have to parse out the screen control commands if
you want to automate using it.
Al

"Chris Roth [MVP]" visioguy [at] hotmail [dot] com wrote in message
...
Al,

Is there a way to build a "pure hyperlink" that links to terminal server
and what-not? That's how I interpreted Ian's question.

If he could build a hyperlink, then the Visio export-to-web links would
still function.


--

Chris Roth
Visio MVP

Free Visio shapes:
http://www.visguy.com/category/shapes
Visio programming info:
http://www.visguy.com/category/programming/
Other Visio resources:
http://www.visguy.com/visio-links/



"Al Edlund" wrote in message
...
I use this to get to a terminal services session, don't know how it would
work from a web site.
Regarding doing a server shutdown, check out the scripting center on
technet for wmi scripts.

al


' We may want to work with something that supports terminal services

Public sub TermServeToTarget(byval visShape as visio.shape)

Dim visCell As Visio.Cell
Dim wsh ' create a variable for the script shell
Dim strCommand as string

' build the command preface
strCommand = ""c:\windows\system32\mstsc.exe /v:"
' check for custom property, if there get ip address if not get out
if visShape.CellExists("prop.IpAddress",False) then
Set visCell = visShape.Cells("prop.IpAddress")
strCommand = strCommand & visCell.Value
strCommand = strCommand & " /console"
else

Msgbox"counldn't find custom property"
exit sub
end if

' create the script shell environment
Set wsh = CreateObject("wscript.shell")

' now execute the command that we built
wsh.Run (strCommand)

End Sub




"Ian" wrote in message
...
I want to add to the web pages published through Visio so that if I click
on
a server it will remote desktop to it. Can anyone tell me if this is
possible. I have done it for telnet and VNC before.

Also do you know if there is a way to put a button onto the webpage to
issue
a command to the servers in a rack (for instance: shutdown).

Ian.







 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.