eventdblclick call to local file, publishing visio 2k3 on web (lim

VISIO

    Sponsored Links

    Next

  • 1. drawing the conaing polygon across selected objects boundaries
    is there any API that can be used to do this as slection object always has arectagle around the selected objects and not a polygon considering that BOUNDARY around many selectd object would be a polygon and not a rectagle
  • 2. Entity Names in Database Export
    When I exports an ERD to a database I couldn't find the entity name or the attribute names. Anyone know how to easily get this information into a database? Thanks
  • 3. Is there any shapes for db37,db25 db9 ect
    I am looking for shapes for Viso for connectors such asDB37 DB25 ect
  • 4. Urgent help needed on VB Scripting and UML
    Hi, I am new to visio programming and I want to get some information from the UML state chart using a VB Script (macro). I did manage to get details of 'state' and 'transition' shapes, like the names of the states, which states are connected to a particular state, guard conditions for transitions etc, using the VB script. The VB script writes these details to a text file. Now I couldn't find how to get the information on a composite state using the VB Script. I can find if a shape is composite or not from the current sheet, but don't know how to find the substates that it is connected to using the VB script. Also I am looking for the methods / properties that will give me the 'on entry' and 'on exit' conditions of a state. Any help on these would be highly appreciated. Thanks, Joseph
  • 5. create custom connections on new shape
    I want to create a new shape that has one connector for True and another for False. Then using a VBA module I want to determine which shape the True or False connector points to. The only way I can see this working is if I can create a custom connector. I think it is called a control point. The documentation is not very helpful. Any ideas would be great :)

RE: eventdblclick call to local file, publishing visio 2k3 on web (lim

Postby QWwgRWRsdW5k » Sat, 05 Jan 2008 07:22:01 GMT



some thoughts that might be of help.
check this out for moving between pages in a visio document

http://blogs.msdn.com/visio/archive/2006/06/27/647570.aspx

The ability to call external applications can be complicated based on
operating system and browser. One technique is to wrap your functionality in
a shell script and call it as a macro. Something like this


al

Public Sub TelnetToTarget(ByRef visWin As Visio.Window, _
ByVal strShape As String)

On Error GoTo ErrHandler

Dim visPage As Visio.Page
Dim visShapes As Visio.Shapes
Dim visShape As Visio.Shape
Dim visCell As Visio.Cell
Dim shellWin As Object
Dim strCommand As String
strCommand = "c:\windows\system32\telnet "

Set visPage = visWin.Page
Set visShapes = visPage.Shapes
Set visShape = visShapes.Item(strShape)
' can we determine the rules appropriate
' if there get ip address if not get out
If visShape.CellExists("prop.compIpAddress", False)
Then
Set visCell = visShape.Cells("prop.compIpAddress")
strCommand = strCommand & visCell.ResultStr("")
Else
MsgBox ("couldn find compIpAddress custom
property")
Exit Sub
End If

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

' now execute the command that we built
'Debug.Print "shellwin start"
DoEvents
shellWin.Run strCommand
DoEvents
Exit Sub
ShellCommand:
'Debug.Print "shell start"
Shell strCommand, vbNormalFocus
'Debug.Print "shell start"
DoEvents
Exit Sub
ErrHandler:
Dim myErr As ErrObject
Set myErr = Err

If Err.Number = -2147024894 Then
Debug.Print "shellwin failed"
GoTo ShellCommand
End If

Debug.Print "telnet " & Err.Description


End Sub




"Dr. Dre" wrote:


Re: eventdblclick call to local file, publishing visio 2k3 on web (lim

Postby Dr. Dre » Sat, 05 Jan 2008 22:09:46 GMT

n Jan 3, 5:22 pm, Al Edlund < XXXX@XXXXX.COM >
wrote:

Hi Al,

Thanks for responding.. I did as you mentioned, but the script keeps
giving me a syntax error with the line:
If visShape.CellExists("prop.compIpAddress", False)
Then

Everytime I try and compile the script.

What am I doing wrong?

Similar Threads:

1.eventdblclick call to local file, publishing visio 2k3 on web

2.eventdblclick call to local file, publishing visio 2k3 on web (limits of functionality?)

Hi There,

Some quick questions...

1.  I'm in the process of creating a data center visualization
layout.  And I'm having trouble with the following:

a. I create a room overhead with individual racks, when I double-click
on a given rack, it opens an existing sheet with rack contents.  The
issue I have is if I double-click on my 15th rack, it will jump to the
15th tabbed sheet, if I want to return to the original view (1st tab),
I have to jump to the first page..  which isn't a big deal, but it's
not very intuitive...  Is there a better way I can do this?  (Have the
double-click result in creating a new window I can close to return to
the original, etc)

b. Again, if I double-click on a rack, it opens a tabbed sheet and
shows me the contents..  now, what I'd like visio to do, is when I
double-click on a given component in the rack, have the dblclick event
open a local file on the user's desktop (in this case, a standard
telnet program)

I've tried:
=OPENFILE("C:\Program Files\SecureCRT\SecureCRT.EXE")  (does nothing)
=GOTOPAGE("C:\Program Files\SecureCRT\SecureCRT.EXE") (results in an
error regarding complaining about the file not being a visio file, or
being corrupt)

Can't figure it out.

Lastly,

2.  Is there anyway to preserve the eventdblclick functionality if I
published the visio sheet to the web?


Thanks!

DD

3.Linking between Visio files which have been published as a web pag

Hi Siggiari,

In Visio 2003, if you output the other Visio drawings to html and place them 
on a webserver, you can then link directly to the subpages using parameters. 
In the master Visio drawing, within the hyperlink dialog - browse and link 
to anchors in the other html output.  See the hyperlinks dialog online help 
for information.

-- 
Dick Hamilton
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.


"siggiari" < XXXX@XXXXX.COM > wrote in message 
news: XXXX@XXXXX.COM ...
>I got a big project going on which uses few dozens of visio files and they 
>are published in html format. I want to connect between 1 visio file saved 
>as html to, e.g. page 4 in another visio file saved in html format. They 
>can be easily connected when i'm still in .vsd format but when i save to 
>html the link brakes. I only seem to be able to link to the first page in a 
>visio file that is saved as html. So the question is:
>
> Is there anyway that you could put a hyperlink in a visio filed saved in 
> html format to a page within a visio file that is also saved in html 
> format?
>
> I got a small workaround which i don't think i can use as it always pops 
> up an error in IE. If i publish the visio file in .gif format (doesn't 
> work with .vml) i can link directly to the sub html file (e.g. if the file 
> is called Meeting.htm then the page no. 4 is Meeting_gif_3.htm) but as i 
> said there pops up an error that i don't think i can fix. Note tho that 
> this workaround works fine with Visio 5 format which is the format i save 
> the .vsd files now in (i'm trying to update the files to Visio 2003).
>
> The error i got in the workaround is:
> Not implemented
> [in the line]
> document.onclick = clickMenu; 


4.Linking between Visio files which have been published as a web

I've been testing it out and trying to find what parameters you are refering 
to. I don't seem to find it as the parameters aren't visible in html files 
saved from Visio. I only see the # mark at the end and that is it. I tried 
useing number of page and name of page as a parameter but it doesn't work.

On the other solution. There aren't any anchors in the visio pages that i 
can link to and if i try to link directly to the html files i get the same 
error as i talked about earlier. I can't find any help in the help files. 

I just need a little bit more detailed description on how to do things...

With excuses on not getting it the first time and thanks for the help,
Siggi Ari

"Dick Hamilton [MSFT]" wrote:

> Hi Siggiari,
> 
> In Visio 2003, if you output the other Visio drawings to html and place them 
> on a webserver, you can then link directly to the subpages using parameters. 
> In the master Visio drawing, within the hyperlink dialog - browse and link 
> to anchors in the other html output.  See the hyperlinks dialog online help 
> for information.
> 
> -- 
> Dick Hamilton
> Microsoft Corporation
> 
> This posting is provided "AS IS" with no warranties, and confers no rights.
> 
> 
> "siggiari" < XXXX@XXXXX.COM > wrote in message 
> news: XXXX@XXXXX.COM ...
> >I got a big project going on which uses few dozens of visio files and they 
> >are published in html format. I want to connect between 1 visio file saved 
> >as html to, e.g. page 4 in another visio file saved in html format. They 
> >can be easily connected when i'm still in .vsd format but when i save to 
> >html the link brakes. I only seem to be able to link to the first page in a 
> >visio file that is saved as html. So the question is:
> >
> > Is there anyway that you could put a hyperlink in a visio filed saved in 
> > html format to a page within a visio file that is also saved in html 
> > format?
> >
> > I got a small workaround which i don't think i can use as it always pops 
> > up an error in IE. If i publish the visio file in .gif format (doesn't 
> > work with .vml) i can link directly to the sub html file (e.g. if the file 
> > is called Meeting.htm then the page no. 4 is Meeting_gif_3.htm) but as i 
> > said there pops up an error that i don't think i can fix. Note tho that 
> > this workaround works fine with Visio 5 format which is the format i save 
> > the .vsd files now in (i'm trying to update the files to Visio 2003).
> >
> > The error i got in the workaround is:
> > Not implemented
> > [in the line]
> > document.onclick = clickMenu; 
> 
> 
> 

5.Visio 2003 Web Publishing Options break Web page!

Situation: I am running Visio 2003 with XP Professional, IE7 for use on a 
local computer.

I am building 2003 web pages; if I turn off ALL Web Publishing Options (i.e. 
Pan and Zoom, Go to Page, Custom Details, etc) I can hyperlink from one page 
to another with no problem. Sort of.

If I leave the options off, I get the dreaded "IE has blocked ActiveX and 
Scripts from running on your computer" error. If I ignore the error (i.e. 
don't allow blocked content) I run fine. 

If I turn on ANY of the Web Publishing Options, build the website from 
Visio, start IE on my Visio built web page, and allow blocked content and I 
try to hyperlink to another page, I get the "Internet Explorer cannot open 
the Internet website".

Summary: I turn off Web Publishing Options and ignore the blocked content 
web bar, I'm fine-feature free, but fine.
Turn on ANY Web Publishing Options, allow blocked content, and I break.

any ideas how to allow me to use Web Publishing Options and run locally? I 
can't figure this one out. I tried adding the localhost to the Web Security 
sites; no good. I tried lowering the local intranet security level, no good. 

I'm out of ideas. 

any thoughts?
-- 
bobo

6. 1 file, 1 page, many layers-need to publish to web showing eac

7. how do i publish multiple files to web?

8. Saving to Web creates 27 files even when Publishing options se



Return to VISIO

 

Who is online

Users browsing this forum: No registered users and 9 guest