keyongtech


  keyongtech > visio.* > visio.developer.vba > 09/2005

 #1  
09-20-05, 05:37 PM
Martin
This has been asked before both here and elsewhere on the web, but I can't
see any solutions or answers!

I've successfully put the Visio drawing control onto my asp.net page and
loaded a stencil. However, I cannot attach a javascript or vbscript event to
the shape add event. The following code is what I think is correct, where
VisOcxDrawingControl is the Visio drawing control object.

<script language="VBScript">
Sub VisOcxDrawingControl_Document_ShapeAdded(ByVal Shape)
msgbox("Shape added")
End Sub
</script>

Can anyone help?

Thanks,
Martin
 #2  
09-20-05, 08:21 PM
JuneTheSecond
The most helpful is "Top Ten Things to Know When Using the Visio 2003 ActiveX
Control" in "Mai-lan's Visio Blog" at:
[url down]

I recommend you would make DHTML document in Visual Basic 6.0.
 #3  
09-21-05, 08:20 AM
Martin
New day, new ideas....that work for a change!

<script language="VBScript">
Sub VisOcxDrawingControl_ShapeAdded(ByVal Shape)
msgbox("Shape added")
End Sub
</script>

Good luck,
Martin



"Martin" wrote:
[..]
 #4  
09-21-05, 12:30 PM
JuneTheSecond
Great and wonderful!!
It is so easy and fine!!
Lot of thanks for the big breakthrough!!
Similar Threads
Hosted Microsoft CRM on Hosted Messaging Collaboration 3.5

Hello, we're attempting to provide a hosted Microsoft CRM service on the Microsoft Solution for Hosting Messaging and Collaboration 4.5 (HMC). I'd really appreciate some help...

Same network between VS-hosted and VirtualPC-hosted VMs - possible

Hi all! At the moment we're using VirtualPC for an old OS/2-based client-server software. Each WindowsXP-Workstation has an OS/2 with client- and Windows 2003 Server hosts...

Capture key events from hosted WebBrowser control

The .Net 2.0's webbrowser control is neat and pretty. But I am not able to capture Key events when the focus is on the webbrowser control in my winform. Options tried. 1....

Events Not Firing On Hosted Site

Hello, I'm just now learning how to deploy a simple, working ASP.NET application developed in VS.NET 2002 that runs fine on my workstation running IIS. When I copy the...

How do I get events from a HTML Page hosted in a CAxWindow

Hi, I have used the following code to host a html page in a CAxWindow. This is used in a IE Extension DLL. CAxWindow m_wndView; AtlAxWinInit(); RECT rcClient;


All times are GMT. The time now is 07:09 AM. | Privacy Policy