Good Day All,

Please anyone tell me how to open an adobe PDF file in VB6? Thank you all very much in advance.


Recommended Answers

All 5 Replies


Just incase anyone needs the solution this is it below

'create a constant
'Private Const MAXIMIZE As Long = 3

Dim strFile As String
strFile = "C:\Test.pdf"
ShellExecute 0&, "open", strFile, "", "", MAXIMIZE

thanks it helped me a lot

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.