Good Day All,

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


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

Be a part of the DaniWeb community

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