BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Double Click Action

Started by dclick, August 04, 2009, 07:40:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Ok, I have done a little searching, but have not found what I think is the answer.

I  have a diagram that has generic objects (just a box) that I am linking to a table in a SQL database.  The idea is that some info is to be displayed in the box (ie - asset # and device name). when we double click on that object, however, i would like to either A) - launch a web browser to a inventory system, and pre-populate the adress bar - similar to http://inventory/results.asp?ip=Prop.IPAddress or something, or B) pop up the dialog box that shows the inventory record from the table I used to link the object.

does this make sense?   Is it doable? (and yes, im pretty much a noob at visio for things other than the genric/basic layouts.

Thanks in advance!


Check out the 'surrogate shape' demo code in the network section. It has examples on double click, add data to shape, apply datagraphic. The coding for database is pretty much up to you. For basics you might check out the visio sdk on msdn and the visio data demo's on microsoft office.

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 153 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1066KB.
Tokens: post-login.
Cache hits: 13: 0.00237s for 26,762 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]