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

VISIO

    Sponsored Links

    Next

  • 1. SQL Code Generator
    Is there a SQL code generator for database models created in Visio. For instance if I create a database model with several sql tables is there any way to import it into SQL-Server or create T-SQL Code , instead of having to manually create the tables in SQL-Server?
  • 2. How to create a dockable window like stencil-window?
    Can I create a dockable window like stencil-window and add control to the window?
  • 3. Visio Viewer In Access
    Hi I would like to use the visio objects in an Access Application and supply the viewer with the application. Will this work at all? Regards Meir
  • 4. How to get rid of the Adobe add-in?
    I have eliminated Adobe's additions to MS Office programs and they duly disappeared from all programs, except from Visio. I physically deleted the file C:\Program Files\Adobe\Acrobat 6.0\PDFMaker\Office\PDFMVisio.vsl, but now each time I start Visio, I get a warning: "Visio could not find this add-in or one of its files. This feature is not installed. Would you like to install it now?" I haven't been able to find where the add-in definition resides. Can anyone help me get rid of the nagging warning?

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 13 guest