| |

VerySource

 Forgot password?
 Register
Search
View: 800|Reply: 2

How to generate Visio files with VB?

[Copy link]

2

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-9 19:00:01
| Show all posts |Read mode
Like VB is exported as Excel, can VB be exported as a Visio file?

Please give examples.
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-8-21 16:15:01
| Show all posts
VB can also operate VISIO
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-8-21 16:30:01
| Show all posts
Option Explicit
Dim vso As New Visio.Application
Private Sub Command1_Click()
    vso.Visible = True
    vso.Documents.Open "c:\tu1.vsd"
   
End Sub


Private Sub Form_Unload(Cancel As Integer)
    Set vso = Nothing
End Sub
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list